Rainforest

Sankuru

Implementing, customizing, extending, and troubleshooting Joomla/Virtuemart

Views: 8322
SocialTwist Tell-a-Friend

Machine translation

English Arabic Chinese (Simplified) German Japanese Russian Spanish



Re-use open source

What you need, often exists already, and covers your requirements for 80%. We will add the remaining 20% for you.

Free quote

Request a free quote today.

Displaying add-to-cart virtuemart products in ordinary joomla content pages PDF Print E-mail
User Rating: / 7
PoorBest 
Written by erik   
Monday, 01 December 2008 15:14

I received the following query by email from a Virtuemart user:

I couldn’t figure out how to add the ‘Add to Cart’ button or image on the products on my [joomla] page ... So do you know how can I put this add to cart button?

The easiest way to show a product in a joomla content page or in a joomla module, consists in enabling the vmproductsnapshots plugin in the Joomla Plugin Manager. If you want to show product with id=24 in the article, you need to enter the following tag:

{product_snapshot:id=24}

If you want to show products with id=24, id=25, and id=26, you need to enter the following tag in the content:

{product_snapshot:id=24|25|26}

You can use the following options to customize the display of the product snapshots:

{product_snapshot:id=XX,showname=y|n,showimage=y|n,showprice=y|n,

showdesc=y|n,showaddtocart=y|n,displayeach=h|v,displaylist=v|h,

width=90%,border=0,style=color:black;align:left}

 


blog comments powered by Disqus
 
 
Joomla 1.5 Templates by Joomlashack