| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Button graphics | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||||
|
|||||||||
|
ok - i have replaced the buy now button with one of my own by replacing the entire text in /buttons/buy_now.tpl with the following script
[img]{$ImagesDir}/buy_now.jpg[/img] now - my button appears fine but when i click on it - it no longer updates my cart - i simply get the "your cart is empty" page can anyone help please please
__________________
Patience Of A Saint - Memory Of A Goldfish XCART Gold version 4.0.19 |
|||||||||
|
#2
|
|||||||||
|
|||||||||
|
you may have not included some passed variables
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. |
|||||||||
|
#3
|
|||||||||
|
|||||||||
|
I'm sorry about this but
__________________
Patience Of A Saint - Memory Of A Goldfish XCART Gold version 4.0.19 |
|||||||||
|
#4
|
|||||||
|
|||||||
|
Quote:
Hopefully you backed up the file prior to making changes, what shan is saying, there may be a small bit of code missing and now this is why you get the results you are getting. If you DID NOT back up the button file, then I would suggest you look in the skin1_original file and see if you can locate it there and then make sure you replicate the code as it was with only pic change.
__________________
vs 4.1.12 |
|||||||
|
#5
|
|||||||||
|
|||||||||
|
i really appreciate the help you guts are giving me
__________________
Patience Of A Saint - Memory Of A Goldfish XCART Gold version 4.0.19 |
|||||||||
|
#6
|
|||||||
|
|||||||
|
I tried this same approach and got the same results. Appearantly, it needs something from the buttons.tpl page, but, I can't quite figure it out....
__________________
v 4.1.8 |
|||||||
|
#7
|
|||||||
|
|||||||
|
Hi,
I was having this same problem and think I may have figured out how to fix it. I have just tried the below code on my store and it appears to be working fine (haven't noticed any problems with it yet). Give it a try and see how you go. <a class="VertMenuItems" href="{$href|amp}" {if $onclick ne ''} onclick="{$onclick}"{/if} {if $title ne ''} title="{$title|escape}"{/if} {if $target ne ''} target="{$target}"{/if}> <img src="PUTYOURIMAGEURLHERE"> </a>
__________________
Xcart Version 4.1.9 [win] |
|||||||
|
#8
|
|||||||
|
|||||||
|
Also, if you need to revert your /buttons/buy_now.tpl file back to what was there originally, then paste in the code below >
{include file="buttons/button.tpl" button_title=$lng.lbl_buy_now href=$href title=$title style=$style}
__________________
Xcart Version 4.1.9 [win] |
|||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||