Author Topic: Remove Add to Cart from Related Products  (Read 5349 times)

zindezine

  • Beginner
  • *
  • Posts: 9
Remove Add to Cart from Related Products
« on: March 11, 2009, 23:22:57 pm »
Hi,

I would like to remove the Add to Cart button from beneath each of my Related Products.
I can't find it in flypage.tpl, I have also checked the related_products.tpl.php file but the is no reference to the addtocart theer either.

Thanks

Charles

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10432
  • VirtueMart Version: 3+
Re: Remove Add to Cart from Related Products
« Reply #1 on: March 13, 2009, 18:34:12 pm »
The add to cart button can be found in the productsnapshot.php file

I removed mine, because I use the related products field for a
"Other shoppers also bought" Place


zindezine

  • Beginner
  • *
  • Posts: 9
Re: Remove Add to Cart from Related Products
« Reply #2 on: March 14, 2009, 00:56:36 am »
Awesome that worked, thanks a bunch BanquetTables.pro !!

airbusdriver

  • Beginner
  • *
  • Posts: 4
Re: Remove Add to Cart from Related Products
« Reply #3 on: July 01, 2009, 02:14:42 am »
I'm not much of a php wizard. Could you please tell me which code do I have to remove?
WAMP2.0 = Apache2.2.11 + PHP5.2.9 + MySQL5.1.33
Joomla 1.5.13 + Mynxx template (Rockettheme)
Virtuemart 1.1.3
plugin allvideo 2.5.4
JComments 2.0.0.20
Joom!Fish 2.0.3
JoomlaPack 2.2.1
JoomlaWatch 1.2.9
Xmap 1.2.1

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10432
  • VirtueMart Version: 3+
Re: Remove Add to Cart from Related Products
« Reply #4 on: July 01, 2009, 05:06:25 am »
<php echo addtocart>


ziga

  • Beginner
  • *
  • Posts: 28
Re: Remove Add to Cart from Related Products
« Reply #5 on: December 17, 2009, 11:13:15 am »
where is this productsnapshot.php located. i've searched everywhere for it...thanks

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10432
  • VirtueMart Version: 3+
Re: Remove Add to Cart from Related Products
« Reply #6 on: December 17, 2009, 16:31:03 pm »
com_virtuemart/themes/default/templates/common/