Does WooCommerce add-to-cart support $_POST?
-
We have a custom product page that uses WooCommerce add-to-cart to pass product data to the WooCommerce shopping cart. The query string can be long. Is there a way to pass data to the WooCommerce cart via $_POST instead of via $_GET?
This is important to us for two reasons:
- We would feel more secure with $_POST (our product data isn’t exposed in the query string)
- Sucuri Firewall which is active on our site occasssionally misinterprets long query strings as XSS (Cross Site Scripting) attempts and block add-to-cart.
Thank you.
The page I need help with: [log in to see the link]
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Does WooCommerce add-to-cart support $_POST?’ is closed to new replies.