Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Customize Product Page
 
DormerMarketing
Jr. Member
 
Total Posts:  1
Joined:  2012-05-04
 

I am new to Magento and have a issue.  I have created a product page to sell products http://v4vintage.com/magento/index.php/vintage-jewellery/brooches-pins/1980s-pink-and-white-diamante-pocket-brooch.html but I want a separate page for enqiuries only and not to buy products http://v4vintage.com/magento/index.php/vintage-bridal/engagement-rings/art-deco-antique-engagement-ring.html.

I have create a INQUIRE button and I only want to replace to ADD TO BAG button with the INQUIRE button and link the INQUIRE button to my contact form http://v4vintage.com/magento/index.php/contact-us-email/?___store=default. 

How do I do it?

Thanks in advance.

Jay

 
Magento Community Magento Community
Magento Community
Magento Community
 
MagikTejas
Sr. Member
 
Avatar
Total Posts:  150
Joined:  2009-07-29
 

Hello,

You need to go to you store’s theme folder under this go to file - theme/template/catalog/product/view/addtocart.phtml
In this you will find the code for add to bag button somthing similar as follows -

<button type="button" title="<?php echo $buttonTitle ?>" class="button btn-cart" onclick="productAddToCartForm.submit(this)"><span><span><?php echo $buttonTitle ?></span></span></button>

Repace this button with your INQUIRE button image add href to it which will redirect to your contact form like -

<a href='http://v4vintage.com/magento/index.php/contact-us-email/?___store=default'><img src='<?php echo $this->getSkinUrl('images/inqbtn.png');?>' /></a>

Hope this will help you.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top