This topic has 3 replies, 3 voices, and was last updated 10 months, 2 weeks ago ago by Andrew Mitchell
Hello,
I have added a specific php code snippet that adds a custom field of “sell-step” in each product, because some of them are sold as sets of 2. The code seems to work as it should, and it changes the sell step in the single product page. However, when I add a product of sell-step=2 to the cart, the quantity added is equal to 1. I have provided the php code and an example single product page to the private content area, so that you can try it by yourselves.
What is wrong?
Thank you so much in advance!
Hello, PanosN,
Thank you for choosing XStore as your WooCommerce WordPress theme.
Please, check the private content below.
We hope that you find the advice to be useful.
Kind Regards,
8theme team
Dear PanosN,
As we continue our mission to exceed expectations, your insights become increasingly valuable. Could we, with all due respect, request your thoughtful feedback by giving our theme a deserved 5-star rating on ThemeForest?
Click here to share your valuable perspective: https://themeforest.net/downloads
Your time and trust are highly appreciated!
Best Regards,
The 8Theme Team
Tagged: best selling, cart, error, quantity, themes, woocommerce, wrong quantity
The issue related to '‘Wrong cart quantity added despite the sell step’' has been successfully resolved, and the topic is now closed for further responses