Content

Virtuemart Product Labels

This plugin displays Top, New, Discount and Featured labels at a Virtuemart product

Download

Insert your email address. Download link will be sent to this email address.

plugin
joomla 2.5

This plugin will display Top, New, Discount and Featured labels on a Virtuemart product detail and category view. It is a nice way to let your customers know what product they are looking at.

Top: idicates a bestseller. If you want the 'Bestseller' tag to work properly, you need to change the status of shipped orders to 'Shipped'. The count of the bestselling products can be set in the plugin parameters.

New: indicates a new product. A product stays new for a number of defined days. This can be set in the plugin parameters.

Discount: indicates a discounted product

Featured: idnicates a featured product. You have to have the "Featured" checkbox in the administration checked

That's it: it's a very simple way how to display product labels.

Version Version created Version description
1.0.8 2014-05-19 08:51:18
1.0.4 2014-05-05 08:01:17
1.0.2 2014-04-04 08:10:57
1.0.1 2013-10-11 10:22:24

This plugin displays Virtuemart product tags: bestseller, special and discount products

After installing the plugin, it is essential to paste parts of code into Virtuemart templates. Paste the code wherever you want the tags to be displayed. Meaning it will appear right where you paste it.

 

Read the following instructions carefully to endure proper functionality.

  • duplicate a template: copy the Virtuemart category template from /components/com_virtuemart/views/category/tmpl/default.php into /templates/YOUR TEMPLATE/html/com_virtuemart/category/default.php and paste code above into the template
    <?php if(file_exists(JPATH_ROOT .DS. 'plugins' .DS. 'system' .DS. 'vmtopandlast' .DS. 'script_category.php')){ include(JPATH_ROOT .DS. 'plugins' .DS. 'system' .DS. 'vmtopandlast' .DS. 'script_category.php' );} ?> The best place is paste the code after the tag H2. More in screenshots.
  • duplicate a template: copy the Virtuemart product template from /components/com_virtuemart/views/productdetails/tmpl/default.php to /templates/VASE_SABLONA/html/com_virtuemart/productdetails/default.php and paste code above into the template <?php if(file_exists(JPATH_ROOT .DS. 'plugins' .DS. 'system' .DS. 'vmtopandlast' .DS. 'script_productdetails.php')) { include(JPATH_ROOT .DS. 'plugins' .DS. 'system' .DS. 'vmtopandlast' .DS. 'script_productdetails.php' ); } ?> The best place is paste the code after the tag H1. More in screenshots.

 

If you want the 'Bestseller' tag to work properly, you need to change the status of shipped orders to 'Shipped'.

If you change settings in the plugin you have to close the browser window. The plugin does only one connection into the database and the data are store in the browser session.

 

 

comments powered by Disqus

Additional information

For our products there is:

  • no warranty!
  • no support!
  • it is as it is
  • use it on your own risk!