Author Topic: How to hide Quantity field from product page?  (Read 1124 times)

Offline Shood

  • Newbie
  • *
  • Posts: 7
  • Karma: +1/-0
    • View Profile
How to hide Quantity field from product page?
« 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?

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1596
  • Karma: +449/-3
    • View Profile
Re: How to hide Quantity field from product page?
« Reply #1 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.



Offline Shood

  • Newbie
  • *
  • Posts: 7
  • Karma: +1/-0
    • View Profile
Re: How to hide Quantity field from product page?
« Reply #2 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

Offline HADY

  • Full Member
  • ***
  • Posts: 203
  • Karma: +17/-4
    • View Profile
Re: How to hide Quantity field from product page?
« Reply #3 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 ??
-----------------------------
Regards
HADY

Offline Shood

  • Newbie
  • *
  • Posts: 7
  • Karma: +1/-0
    • View Profile
Re: How to hide Quantity field from product page?
« Reply #4 on: March 13, 2020, 06:04:37 PM »
Hi @HADY
Version 1.2.15

Offline HADY

  • Full Member
  • ***
  • Posts: 203
  • Karma: +17/-4
    • View Profile
Re: How to hide Quantity field from product page?
« Reply #5 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)
-----------------------------
Regards
HADY

Offline Shood

  • Newbie
  • *
  • Posts: 7
  • Karma: +1/-0
    • View Profile
Re: How to hide Quantity field from product page?
« Reply #6 on: March 19, 2020, 03:25:46 PM »
Thank you @HADY for your reply
It's already OFF

 

Powered by SMFPacks Social Login Mod