![]() |
Changing buttons
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 |
Re: Changing buttons
Have I confused everyone? Can somebody help please!!
|
Re: Changing buttons
Your question is confusing. I can't tell exactly what you are trying to do, but maybe this thread will help you?
|
Re: Changing buttons
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 |
Re: Changing buttons
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") |
All times are GMT -8. The time now is 03:53 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.