![]() |
Button graphics
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 :roll: |
you may have not included some passed variables
|
??
:? :? :? :? :? :?
I'm sorry about this but :?: :?: :?: |
Re: ??
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. |
thanks
i really appreciate the help you guts are giving me
:D |
Re: Button graphics
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....
|
Re: Button graphics
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> |
Re: Button graphics
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} |
All times are GMT -8. The time now is 07:41 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.