VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Graceph on May 20, 2012, 11:06:06 AM

Title: Add To Cart button on Category Browse page.
Post by: Graceph on May 20, 2012, 11:06:06 AM
Hi There,

I have tried looking everywhere for the answer to this but can't find it, I searched through this forum and google and came up with nothing and I read through the documentation at 'http://virtuemart.net/documentation/Developer_Manual/Modifying_the_Layout.html' but this method doesn't work for me.

I remember doing this for Virtuemart 1.1 by using <?php echo $form_addtocart ?> if I remember correctly but this doesn't work for me now in Virtuemart 2.

DETAILS
J Version: 2.5.4
VM Version: 2.0.6
The file I'm trying to override is located at:
/components/com_virtuemart/views/category/tmpl/default.php

I am probably doing something wrong or overlooking something simple so apologies, but if someone could solve this for me I would really appreciate it!

Kind Regards,
Graceph
Title: Re: Add To Cart button on Category Browse page.
Post by: Graceph on May 22, 2012, 08:34:51 AM
Bump.

I have searched all over and can't find a solution.  :(
Title: Re: Add To Cart button on Category Browse page.
Post by: jenkinhill on May 22, 2012, 10:01:15 AM
http://forum.virtuemart.net/index.php?topic=90961.0
Title: Re: Add To Cart button on Category Browse page.
Post by: Graceph on May 24, 2012, 09:16:25 AM
Thank you very much, jenkinhill!

I really appreciate your help, not just for this but after spending MANY hours reading through these forums over the years you'd be amazed how many times it was you who solved another persons problem which has then helped me - many times over.  You are great.
Title: Re: Add To Cart button on Category Browse page.
Post by: arpitofree on January 06, 2013, 20:42:31 PM
having the same problem!
it seems, the default.php changed since may 2012 (/components/com_virtuemart/views/productdetails/tmpl/default.php)?
So, did someone those changes with the VM 2.0.16?
would be gratefull for any help!
Title: Re: Add To Cart button on Category Browse page.
Post by: bytelord on January 06, 2013, 20:44:31 PM
Try here:
http://forum.virtuemart.net/index.php?topic=90961.0