One Developer, Unlimited Team Resources?

You can hire us on a monthly basis to work 8 hours a day, 5 days a week. A dedicated team member will be assigned to you and will work just like your own employee.

The monthly cost for the team member who will work for you is 4,000 USD.

WordPress Development - Shopify Development - Technical Support & Maintenance - Full Team Support

Contact us and your dedicated team member will start working as soon as possible. → Contact Us

Okay
  Print

Add to Cart and Refresh Issue

You can add the following code in functions.php file

add_action('add_to_cart_redirect', 'resolve_dupes_add_to_cart_redirect');
function resolve_dupes_add_to_cart_redirect($url = false) {     
    if(!empty($url)) { return $url; }    
    return get_bloginfo('wpurl').add_query_arg(array(), remove_query_arg('add-to-cart'));
}