Linelabox Support

Hello there! Welcome to Linelabox Support Forum. Post your question and our support specialists will help you. Look for the solution in the F.A.Q. first. Our support team is available for any questions or issues in the following working hours: Monday - Friday: 10:00 - 18:00.

Show stock level as number


I want to change the stock level to show the actual number in stock for a product (instead of the green, yellow, red bar it currently has). Are you able to point out where and what I need to change to display this? I'm using Joomla 3.3.6 and Virtuemart 3.0.4.

Responses (4)
  • Accepted Answer

    Thursday, February 19 2015, 08:25 PM - #permalink
    Hi, Please open templates/your_template/html/com_virtuemart/productdetails/default.php

    Add this code:

    <?php echo JText::_('COM_VIRTUEMART_STOCK'); ?>: <?php echo $this->product->product_in_stock ?> <br />

    Go to admin Joomla > Extensions > Languages Manager > Overrides > click on the New icon > Add Language Constant COM_VIRTUEMART_STOCK > add Text e.g. Quantity in stock. Save.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, February 20 2015, 01:07 AM - #permalink
    Worked great! Thanks!
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, June 10 2015, 04:31 AM - #permalink

    Please help. I am having same issue, but I cannot find folder com_virtuemart/ inside my template folder?

    What should i do?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, June 10 2015, 09:03 AM - #permalink
    Hi, What Joomla template are you using?
    The reply is currently minimized Show
Your Reply

VirtueMart Admin Theme


Responsive VirtueMart 3 Administrator Template


New Joomla! 3 Template


Responsive Joomla 3 Template / VirtueMart 3 Theme

Template Demo

Recent Discussions

Dobrý den, potřeboval bych prosím doladit One Page Checkout. U produktů mám na...
3 days ago 0
When I install a ultimelab template on my site, right away a lot of overrides ar...
2 weeks ago 0
Hello. I have problem with export xml for google merchant. In xml settings - x...
1 month ago 0
Dobrý den, ve čtvrtek jsem od vás koupili balíček Professional. Peníze jsme vám...
1 month ago 2

Who's Online

We have 334 guests and one member online is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries.
Copyright © 2014 - Joomla! 3 / VirtueMart 3 Templates. All Rights Reserved.
Joomla! is Free Software released under the GNU General Public License. All other marks are the property of their respective owners.