AbanteCart Community

eCommerce construction => How-to questions => Topic started by: Shood on February 22, 2020, 07:19:42 PM

Title: How to hide Quantity field from product page?
Post by: Shood on February 22, 2020, 07:19:42 PM
Hello,
I sell digital contents and I want to hide the quantity filed from the product Page
Any help please?
Title: Re: How to hide Quantity field from product page?
Post by: llegrand on February 22, 2020, 10:06:30 PM
In admin on your product page -  in these fields:
Set Track Stock to NO
Quantity 1

That is usually enough.  You need to clear system cache, and perhaps Cntrl F5 your browser so you see the final results.

On occasion depending on your settings you may have - if the above didn’t result in disabling the available and qty  then in Admin  go to System > settings > general  and turn OFF  the Display Stock Quantity and No Stock Auto Disable  fields.


Title: Re: How to hide Quantity field from product page?
Post by: Shood on March 12, 2020, 06:00:12 PM
In admin on your product page -  in these fields:
Set Track Stock to NO
Quantity 1

That is usually enough.  You need to clear system cache, and perhaps Cntrl F5 your browser so you see the final results.

On occasion depending on your settings you may have - if the above didn’t result in disabling the available and qty  then in Admin  go to System > settings > general  and turn OFF  the Display Stock Quantity and No Stock Auto Disable  fields.

Hi @llegrand
I just seen your reply, so it's late to say: Thank you for your reply  :)
I tried both but unfortunately didn't work. My settings now are as below:
Product setting: Track Stock: No, Quantity: 1
Settings-System-General: Display Stock Quantity: NO, No Stock Auto Disable: NO
System cache cleared and also my browser cache.

I can around this by setting the "Minimum Quantity" to 1, but this isn't a fun way for customer.
Do you know where can I locate its script in PHP or .tbl files?
Thank you
Title: Re: How to hide Quantity field from product page?
Post by: HADY on March 13, 2020, 04:56:35 AM
In admin on your product page -  in these fields:
Set Track Stock to NO
Quantity 1

That is usually enough.  You need to clear system cache, and perhaps Cntrl F5 your browser so you see the final results.

On occasion depending on your settings you may have - if the above didn’t result in disabling the available and qty  then in Admin  go to System > settings > general  and turn OFF  the Display Stock Quantity and No Stock Auto Disable  fields.

Hi @llegrand
I just seen your reply, so it's late to say: Thank you for your reply  :)
I tried both but unfortunately didn't work. My settings now are as below:
Product setting: Track Stock: No, Quantity: 1
Settings-System-General: Display Stock Quantity: NO, No Stock Auto Disable: NO
System cache cleared and also my browser cache.

I can around this by setting the "Minimum Quantity" to 1, but this isn't a fun way for customer.
Do you know where can I locate its script in PHP or .tbl files?
Thank you

Hi!
what is your version ??
Title: Re: How to hide Quantity field from product page?
Post by: Shood on March 13, 2020, 06:04:37 PM
Hi @HADY
Version 1.2.15
Title: Re: How to hide Quantity field from product page?
Post by: HADY on March 16, 2020, 09:42:58 AM
Hi @HADY
Version 1.2.15

you will need to go to system>settings> General and turn off (No Stock Auto Disable)
Title: Re: How to hide Quantity field from product page?
Post by: Shood on March 19, 2020, 03:25:46 PM
Thank you @HADY for your reply
It's already OFF