News:

Support the VirtueMart project and become a member

Main Menu

Add link to Choose a variant in product category page

Started by WilfredP, July 27, 2017, 09:39:45 AM

Previous topic - Next topic

WilfredP

Hi all,

VM 3.2.2 , Joomla 3.7.3

I would like to add product detail link to the [Choose a variant] in product category page so that when there is a variant item, user can click on it and direct to product detail page. I tried add few code to sublayout/addtocartbtn.php however can't get the link correctly. Hope to get your assist. Thank you so much.

driver_wedge

Why not just remove the 'Choose a variant' option and put a button there in its place that's linked directly to the product page?

WilfredP

Thanks driver_wedge,

That's what i trying to do actually, add a link to button [Choose a variant] instead add own. Just I can't figure out the dynamic link for the product detail page. Can you advise the link?

Thank you so much