0
votes

I am using WooCommerce add to cart URLs to build a direct checkout widget on a client's homepage. I thought I had everything working well, but for some reason when they click the direct checkout links, it adds three products to their cart instead of one. I disabled all plugins except for WooCommerce and the site-specific plugin which generates the widget. The same issue happens when you simply enter the link manually into the address bar.

The development site is rlmarts.staging.wpengine.com

Any insight into why this might be occuring?

1
I tried redirecting to a different page instead, and now it only adds two instead of three, but that's still one too many...Peter Breen
your site url not working please correct url.Corlax
Apologies. Fixed now.Peter Breen

1 Answers

0
votes

A solution I stumbled on that's working for now. I started using the page-id querystring URL format, like http://rlmarts.staging.wpengine.com/?page-id=19&add-to-cart=8533&quantity=2 instead of http://rlmarts.staging.wpengine.com/checkout?add-to-cart=8533&quantity=2.

The overall site permalink structure is still by post name.