Hello all,
Could someone please help me to modify some files in opencart 2.0.1.1 for the following problem ?
I would like to hide the add to cart button for some products in my store and if it is possible to do that if quantity is 2 for example.
I would like that that products show available in stock but also hide the add to cart button based on the quantity number, for example '2'.
Thank you all and waiting for your ideas.
http://forum.opencart.com/viewtopic.php?f=131&t=27693
You can adjust and change the
to
You can adjust and change the
Code: Select all
!$product_info['quantity']
Code: Select all
$product_info['quantity'] < 2
Hi Qphoria,
I tested your module on 2.0.1.1, it's close to what i want to use but the add to cart is still there(no effect on it), but still there, i would like to hide the add to cart from product page and also category, featured, etc. page for products that have quantity 0 or 2, no matter what quantity.
Could you please help me with the line that does that.
Thank you very much,
I tested your module on 2.0.1.1, it's close to what i want to use but the add to cart is still there(no effect on it), but still there, i would like to hide the add to cart from product page and also category, featured, etc. page for products that have quantity 0 or 2, no matter what quantity.
Could you please help me with the line that does that.
Thank you very much,
Who is online
Users browsing this forum: No registered users and 6 guests