![]() |
replace buy now button with regular form button
Does anyone know how to get rid of the pill shaped "Buy Now" "Add to cart" and "Send to friend" buttons and just use a regular form input button? I'm looking in customer/main/buy_now.tpl but am not sure what to change. Thanks!
|
well...
Well, what I usually do is just replace those {include}'s for the buttons altogether and just put my own image surrounded with it's own href statement. The href statement can always be found in the include tag...so pretty easy to setup. The buy now is in the products.tpl and products_t.tpl files, etc.
[img]path_to_image.gif[/img] |
hi. i don't want to use a graphic though. just a regular html form button. any help?
|
Anyone found a way to do this? There is so much javascript in the button.tlp I'm fearful of touching it.
Mocara. |
Re: replace buy now button with regular form button
Hello groovedis and mocara,
I have found the following code change to work in MS IE 7.0, but do not know if it will work in other browsers. I should also mention that I have eliminated the X-Cart menu, so lines 2 through 6 of the original code may be required. ***(If anyone knows that this code change fouls the layout in other browsers, please post a reply and I will delete this post).*** File: /buttons/button.tpl Replace the following code: Quote:
With this code: Quote:
As for changing the other form action buttons, my thinking is that a variety of images are necessary, so there may not be any gain in having a regular html button. At this point I have just made changes to the /images/go.gif and /images/question_button.gif. I thought I had accomplished this change (convert image button to html button with image) at one point, but have since lost my original work. Anyone know this code modification? |
All times are GMT -8. The time now is 09:27 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.