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!
Site URL: hidden Theme version: 9.1.2 WooCommerce version: 7.6.1Hello, 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
You must be logged in to reply to this topic.Log in/Sign up
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.