Hello,
is there a way to disable quantity on the product page ?
I mean it is allowed to have the product multiple times in the cart, but because I have a textfield on the productpage, where the customer needs to add some information to it and this information needs to be added for each product that the customer wants to put in the shopping cart individually, I need to disable quantity on the product page.
is there a way to disable quantity on the product page ?
I mean it is allowed to have the product multiple times in the cart, but because I have a textfield on the productpage, where the customer needs to add some information to it and this information needs to be added for each product that the customer wants to put in the shopping cart individually, I need to disable quantity on the product page.
You can edit template file (product.tpl) and hide #input-quantity element and it's label. It can be done dynamically by JS script after page loading complete or simple add new style "display:none" to the elements above.
Forget complex and inconvenient stock Categories and Products in OpenCart - use Acute Category Manager +!
Ready for 1.5.x and 2.x Editions
Do you have a stock theme for the store ?
Forget complex and inconvenient stock Categories and Products in OpenCart - use Acute Category Manager +!
Ready for 1.5.x and 2.x Editions
Ok,
Open this file \catalog\view\theme\pav_protector\template\product\product.tpl
Find following line
<div class="product-qyt-action space-20">
and add word hidden
<div class="hidden product-qyt-action space-20">
* pav_protector - needs to be checked for actual name
Open this file \catalog\view\theme\pav_protector\template\product\product.tpl
Find following line
<div class="product-qyt-action space-20">
and add word hidden
<div class="hidden product-qyt-action space-20">
* pav_protector - needs to be checked for actual name
Forget complex and inconvenient stock Categories and Products in OpenCart - use Acute Category Manager +!
Ready for 1.5.x and 2.x Editions
No need for thanks, of course ...
Forget complex and inconvenient stock Categories and Products in OpenCart - use Acute Category Manager +!
Ready for 1.5.x and 2.x Editions
Hi there,
Does this work for one product only or does it stop the quantity for all products ?? I just want to disable QTY on 5 of my products if possible
Many thanks
Does this work for one product only or does it stop the quantity for all products ?? I just want to disable QTY on 5 of my products if possible
Many thanks
Hi BadgesOnboard,
It will hide for all product for only 5 product you need to check the is of those product and and base don the product id you can hide the same, but it will be a little hard coding. The proper way is to do the same is create an extension. In the extension there will be an option to choose the product for which you need to hide the quantity.
It will hide for all product for only 5 product you need to check the is of those product and and base don the product id you can hide the same, but it will be a little hard coding. The proper way is to do the same is create an extension. In the extension there will be an option to choose the product for which you need to hide the quantity.
You may like these extension : - https://www.opencart.com/index.php?rout ... r=cmsrooms
Who is online
Users browsing this forum: No registered users and 52 guests