Call-back icon  Sales: Call 800.374.8146 (N America)|757.278.0920 (International)

Magento

Open Source eCommerce Evolved

Magento Forum

   
How can i remove the “OR add to wishlist or compare” links beside the add to cart in the product details? 
 
danpowered
Jr. Member
 
Total Posts:  9
Joined:  2008-05-01
 

Hi!

I created a specific product details page for a module im coding, everything works perfectly at the moment except for one thing : i dont want the users to be able to add the products to their wishlist or to the compare tool (the product detail page is in a javascript window, i dont want them to be redirected in the javascript window...).

NOTE: i dont want to change the original product detail page, since it still serves its purpose, i want to modify only the specific product detail page i added.

So i found this code in the catalog.xml layout file:

<PRODUCT_TYPE_simple>
      <
reference name="product.info">
          <
block type="catalog/product_view_type_simple" name="product.info.simple" as="product_type_data" template="catalog/product/view/type/simple.phtml"/>
      </
reference>
  </
PRODUCT_TYPE_simple>

I added this part to my module.xml layout file, and changed the path to the template to my own simple.phtml file, but it doesnt seem to be loaded… Is there anything special i need to do get it to take my own simple.phtml?

By the way, i followed this thread to create my own product detail page in my module : http://www.magentocommerce.com/boards/viewthread/3332/

Thanks for any help!

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 800.374.8146 (North America) 757.278.0920 (International)
© Copyright 2008 Varien. Magento is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
33683 users|403 users currently online|74660 forum posts