VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: newsomjk on June 24, 2013, 21:30:53 PM

Title: Showing Child Products as a table
Post by: newsomjk on June 24, 2013, 21:30:53 PM
I'm working on migrating from VM1.2 to 2.0. On the old version, a coworker had created custom code to display our products a certain way.

Basically we have what we call "papers." Each paper has the full report, a summary, charts, and a webinar. The main product had no price as you couldn't technically buy that, but each child product had a price. We displayed the child products in a list on the details page of the main product. We did this by editing the addtocart_form.tpl.php files and calling "echo $addtocart;" on the main product details page.

I can't figure out what I need to do to achieve the same effect on the new virtuemart.

I imported all the products, they were successful, they all still have their child products. However, no add to cart button shows in the product details page. I can't figure out what call I need to make to show the addtocart form. If I knew those I would be able to edit the template of the form and create this same list again.

Any help or direction would be greatly appreciated!
Title: Re: Showing Child Products as a table
Post by: holanpan7 on June 25, 2013, 23:49:25 PM
hi,

you can use catproduct extension to display your child product in table
http://extensions.joomla.org/extensions/extension-specific/virtuemart-extensions/virtuemart-products-display/22355

B.rgds