Post by QenTox » Sun Oct 17, 2010 2:41 am

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.

Newbie

Posts

Joined
Sun Aug 15, 2010 8:03 am

Post by kedgetech » Sun Oct 17, 2010 4:06 am

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

User avatar
Active Member

Posts

Joined
Mon Mar 22, 2010 5:20 pm
Location - USA, Australia, India

Post by QenTox » Sun Oct 17, 2010 4:15 am

That was easy, sorted, thank you very much, Option 1 worked for me without any problem. Thanks again!

Newbie

Posts

Joined
Sun Aug 15, 2010 8:03 am
Who is online

Users browsing this forum: No registered users and 90 guests