I wonder what should I do, if I want to display instead of 20 just a message In Stock just a text: In Stock.
I have Open Cart v.1.8b
Thanks a lot.
Hi there.
Asuming the OC version is latest.
Option 1 (Ideal): There is an option for store settings (Admi menu -> system ->settings [option(tab)]. You should find a check box for Display Stock: Display stock quantity on the product page. Select 'No'.
Option 2 (Force not-Ideal): You can also change that in the template file. mostly you might need to change files related to product (catalogue/view/../../product.tpl) . You can delete the code that actually displays the number. If eveything is coming as string you might need to mess around with the contoller files.
Hope this helps
Asuming the OC version is latest.
Option 1 (Ideal): There is an option for store settings (Admi menu -> system ->settings [option(tab)]. You should find a check box for Display Stock: Display stock quantity on the product page. Select 'No'.
Option 2 (Force not-Ideal): You can also change that in the template file. mostly you might need to change files related to product (catalogue/view/../../product.tpl) . You can delete the code that actually displays the number. If eveything is coming as string you might need to mess around with the contoller files.
Hope this helps
Who is online
Users browsing this forum: No registered users and 90 guests