![]() |
adding a contact button to the product page
Hi all,
I'd like to add a 'contact' button (similar in size and style to the purchase button) to my product pages. this will just be a mailto link. can't figure out which template i need to edit. can someone advise? thanks, tbm. |
Re: adding a contact button to the product page
|
Re: adding a contact button to the product page
yep, that template seems to be the one i want. can't quite figure out how to do what i need to do. I'd like a button directly under 'add to cart' button. my plan was to copy the 'add to cart' button and then copy and tweak the functionality linked to it, but i can't even make the add to cart button repeat.
from the product.tpl: {/if} {else} {include file="submit_wo_js.tpl" value=$lng.lbl_add_to_cart} {/if} {/if} my ideas was to do this: {/if} {else} {include file="submit_wo_js.tpl" value=$lng.lbl_add_to_cart}<br/> {include file="submit_wo_js.tpl" value=$lng.lbl_add_to_cart} {/if} {/if} then access and edit the functionality, but the repeated add to cart button doesn't appear. am i barking up the wrong tree completely? thanks. |
Re: adding a contact button to the product page
That's not the add to cart button code, this is:
{include file="buttons/add_to_cart.tpl" style="button" href="javascript: if(FormValidation()) document.orderform.submit();"} |
All times are GMT -8. The time now is 03:28 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.