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

Can Ultimelab 2 theme cause that after the purchase, neither I nor the visitor c...
6 days ago 0
I search a solution for: Display the manufacturer logo on the product details...
1 week ago 0
Hi, Please can you assist with one field i need to use. (&amp;lt;g:google...
1 week ago 1
Hello, It looks like that the content is out of proportion. Position 7/8 i...
1 week ago 1

Who's Online

We have 176 guests and no 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.