Re: custom buttons?
But just replacing those images won't make each button it's own customized button. That would change like the ugly bar button that there is now and make them all the same.
Let's say I want to make the add to cart button a flower (I don't...just for discussion sake tho) and the wishlist button a star....etc.
I know I have to create the individual images... but then when it gets to putting them on the individual templates I guess I'm a little stumped.
The code for the add to cart button in the products tpl is : {include file="buttons/add_to_cart.tpl" style="button" href="javascript: if(FormValidation()) document.orderform.submit();"}
so that calls the add to cart tpl. Then when you open the add to cart tpl it calls the buttontpl.
Am I thinking too much about this and making it more than I need to? I keep thinking I can just go to the individual templates and put the image I create in and then somehow link to where it would go but then I think I lose the code that actually DOES the adding to cart etc.
???
__________________
xcart ver. 4.1.11 gold
|