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

Hi, I made my first template. I dont need the whole template. only category,pro...
4 days ago 0
Hi, I bought the professional package because I want the MegaTheme for my Joomla...
1 week ago 2
Hello, I have purchased simple upload. I have a few questions: I select a ...
2 weeks ago 6
New version of Joomla! Template Builder will be published within a few weeks. Mo...
3 weeks ago 0

Who's Online

We have 295 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.