| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
adding a contact button to the product page | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
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.
__________________
Linux X-Cart 4.1.11 |
|||||||
|
#2
|
|||||||
|
|||||||
|
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#3
|
|||||||
|
|||||||
|
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.
__________________
Linux X-Cart 4.1.11 |
|||||||
|
#4
|
|||||||
|
|||||||
|
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();"}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||