stock quantity on product details view

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Mon Nov 19, 2012 12:25 pm
Reply with quote
Report this post
hello
i would like to show stock quantity in product details view
it shows on category view but can't find a way to show it on product details view
thanks in advance
User avatar
Fresh Boarder

GK User
Mon Nov 19, 2012 1:17 pm
Reply with quote
Report this post
Hi

Please open this file ../templates/gk_bikestore/html/com_virtuemart/productdetails/default.php and find this fragment (line 125):

Code: Select all
<?php } // PDF - Print - Email Icon END ?>
 </div>
<?php endif; ?>
<div class="spacer-buy-area">


replace it with:

Code: Select all
<?php } // PDF - Print - Email Icon END ?>
 </div>
<?php endif; ?>
<?php if (!VmConfig::get('use_as_catalog') && (VmConfig::get ( 'display_stock', 1 )) ){?>
                              <div class="stockLavel"> <span class="vmicon vm2-<?php echo $product->stock->stock_level ?>" title="<?php echo $product->stock->stock_tip ?>"></span> <span class="stock-level"><?php echo JText::_('COM_VIRTUEMART_STOCK_LEVEL_DISPLAY_TITLE_TIP') ?></span> </div>
<?php }?>
<div class="spacer-buy-area">


Cheers ;)
User avatar
Platinum Boarder

GK User
Mon Nov 19, 2012 7:57 pm
Reply with quote
Report this post
hello thanks for your responce but now istead of out of stock image it shows a 5 star image
example: http://www.petlineoutlet.gr/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=1729&virtuemart_category_id=17
User avatar
Fresh Boarder

GK User
Wed Nov 21, 2012 9:55 am
Reply with quote
Report this post
hello
i still need a fix for this plz advise
i would also like to show a field with the last update date...
User avatar
Fresh Boarder

GK User
Thu Nov 22, 2012 9:38 am
Reply with quote
Report this post
hello
i still need this fix!!!
3 days now waighting for some kind of support
even a message to tell that you are trying to find a solution but still nothing
plz i need this fix
User avatar
Fresh Boarder


cron