1 vote

Remove "?add-to-cart=product-id" from Add to Cart URL when on the Cart page

Combining @xnagyg's hook and @dev_masta's JS, this gets rid of ?add-to-cart in the cart page so you can freely use refresh and back button. Also doesn't affect AJAX functionality add_action('...
  • 277

Only top scored, non community-wiki answers of a minimum length are eligible