News:

Support the VirtueMart project and become a member

Main Menu

VM2: VirtueMart 2.0.4, Include "Add To Cart" Button In Category View?

Started by swiftmedia, April 12, 2012, 00:05:51 AM

Previous topic - Next topic

swiftmedia

How does one go about including the "Add To Cart" button in the Category View? (in VM 2.0.4)

Tried but the product object parameters are not being passed into this view:

(template_dir/html/com_virtuemart/category/default_addtocart.php)

$this->$product->virtuemart_product_id, $product->virtuemart_product_id, $this->virtuemart_product_id --- All return null, but the "Add To Cart" form needs this information in order to complete the action successfully.

Any ideas?