| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Changing buttons | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() On the cart.php page and othe pages aswell I want to use my existing buttons (e.g) add to cart and wishlist - for the lbl_'s delete_item, edit_options, update, and clear cart.
How do I implement the code so it will pick up the button.tpl for each label that I want to use it for. I hope that this has not confused everyone, I thought it would be the same code for each lbl I want to change. {include file="buttons/button.tpl" button_title=$lng.lbl_clear_cart style="button" href="cart.php?mode=clear_cart"} I entered this but it does not change anthing. Also I will need to remove the go.gif buttons but on the wysiwyg editor I cannot see the code for removing them. Many Thanks
__________________
X-Cart Version 4.1.9 |
|||||||
#2
|
|||||||
|
|||||||
![]() Have I confused everyone? Can somebody help please!!
__________________
X-Cart Version 4.1.9 |
|||||||
#3
|
|||||||||
|
|||||||||
![]() Your question is confusing. I can't tell exactly what you are trying to do, but maybe this thread will help you?
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold (CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module) |
|||||||||
#4
|
|||||||
|
|||||||
![]() Ok I will try and simplify it.
On the cart page which shows the products in the cart there are labels on the page for the following :- Delete item Edit options Update Clear cart I want to change these labels to buttons. Not new buttons but using my existing buttons. Because I will be having buttons there instead of labels I will no longer need the go.gif button there so I can take that away. So really to simplify it I want to change a label to a button. Many Thanks
__________________
X-Cart Version 4.1.9 |
|||||||
#5
|
|||||||||
|
|||||||||
![]() Quote:
Hi, open "customer/main/cart.tpl" file. find Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
open "buttons/edit_product_options.tpl" file. find Quote:
Quote:
for the future - {include file="buttons/button.tpl" style="button"} - makes a button if nothing will happend, clear the smarty cache OR check your file "buttons/button.tpl" (may be it was modified, so u couldn't use tag "style")
__________________
Regards, SpinyMan X-Cart Templates Store - http://www.x-cart-customization.com/shop/ X-Cart Customization Services - http://www.x-cart-customization.com/ |
|||||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|