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

Hello, I have your mini-cart module for VM2 on my site which mostly works apart ...
17 hours ago 0
Hi, my logo is slightly bigger than, i guess, template default. Is there any ...
2 days ago 1
I have made a default installation joomla. Now I have downloaded the ultimat...
2 days ago 1
Hi is it possible to upgrade from basic to professional?...
3 days ago 0

Who's Online

We have 296 guests and 4 members 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.