| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
replace buy now button with regular form button | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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!
__________________
X-Cart version 4.0.13 (unix) |
|||||||
#2
|
|||||||
|
|||||||
![]() 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]
__________________
Instinctual 8,000 feet up in the Rocky Mountains of Colorado X-Cart Versions 3.5.x - 4.0.x IF you xcart, THEN you prosper, ELSE you fail. ELSEIF xcart fails, THEN you fix it, all the WHILE {loop}\'ing {section}\'s to feed your $smarty mind. |
|||||||
#3
|
|||||||
|
|||||||
![]() hi. i don't want to use a graphic though. just a regular html form button. any help?
__________________
X-Cart version 4.0.13 (unix) |
|||||||
#4
|
|||||||
|
|||||||
![]() Anyone found a way to do this? There is so much javascript in the button.tlp I'm fearful of touching it.
Mocara.
__________________
4.0.15 Linux |
|||||||
#5
|
|||||||
|
|||||||
![]() 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?
__________________
X-Cart Gold v4.6.6 |
|||||||
|
|||
X-Cart forums © 2001-2020
|