46
General Support / Re: Qty box only needed on certain products
« on: July 22, 2021, 04:51:16 PM »
You can make qtty field as a hidden field with value of 1
Here is the template/line where it is shown
https://github.com/abantecart/abantecart-src/blob/47badf1f852a3cb2c35b5c978b4eb165766b578a/public_html/storefront/view/default/template/pages/product/product.tpl#L174
Here where you can change to hidden:
https://github.com/abantecart/abantecart-src/blob/47badf1f852a3cb2c35b5c978b4eb165766b578a/public_html/storefront/view/default/template/pages/product/product.tpl#L174
If you do not use extension/hook for this change, it can be wiped after next upgrade. Keep this in mind.
Here is the template/line where it is shown
https://github.com/abantecart/abantecart-src/blob/47badf1f852a3cb2c35b5c978b4eb165766b578a/public_html/storefront/view/default/template/pages/product/product.tpl#L174
Here where you can change to hidden:
https://github.com/abantecart/abantecart-src/blob/47badf1f852a3cb2c35b5c978b4eb165766b578a/public_html/storefront/view/default/template/pages/product/product.tpl#L174
If you do not use extension/hook for this change, it can be wiped after next upgrade. Keep this in mind.