Jump to content

How to add a custom button with a link to another page on product page prestashop 1.6


Recommended Posts

Hi There .. 

 

i want to add a custom button called ( Ask for Quote ) on the products page as some of my products are not priced , so instead of showing the price i want to add this button , then i need link this button to another custom page like contact us form but contains the product reference No.

 

 

product reference: ( automatic ) 

Company Name :

Email :

Phone no. : 

Message : 

 

and send 

 

any ideas ? 

Link to comment
Share on other sites

You need to 

1- edit product.tpl, and insert a normal anchor tag (<a href'">...</a>)
2- create a new page, I think you need a separate one, so you can use this method: http://blog.arvixe.com/how-to-create-new-pages-in-prestashop/

 

You can also merge step 1 and 2 and simply hook the module to the product page to add the button dynamically. But you need both php and html knowledge, of course :)

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...