| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
"Delete" and "Edit Options" not showing in cart | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
"Delete" and "Edit Options" not showing in cart
http://sunthingproductions.com/home.php?sunthing=store
Add an item to the cart, then look at the cart. The "Go" buttons for the "Delete" and "Edit" options show, but the text for the two functions is no longer there. How can I get it back?
__________________
Sunthing Productions Version 4.5 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: "Delete" and "Edit Options" not showing in cart
These are language variables. So most likely you deleted the text for them. Search langauge variables for lbl_delete and lbl_edit
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#3
|
|||||||
|
|||||||
Re: "Delete" and "Edit Options" not showing in cart
I checked the language variables, and lbl_delete and lbl_edit are there, and with the correct text entries. Here's how the code looks like in /customer/main/cart.tpl:
<tr> <td class="ButtonsRow">{include file="buttons/delete_item.tpl" href="cart.php?mode=delete&productindex=`$prod ucts[product].cartid`"}</td> <td class="ButtonsRow"> {if $products[product].product_options ne ''} {if $config.UA.platform eq 'MacPPC' && $config.UA.browser eq 'MSIE'} {include file="buttons/edit_product_options.tpl" id=$products[product].cartid js_to_href="Y"} {else} {include file="buttons/edit_product_options.tpl" id=$products[product].cartid} {/if} {/if} </td> </tr>
__________________
Sunthing Productions Version 4.5 |
|||||||
#4
|
|||||||
|
|||||||
Re: "Delete" and "Edit Options" not showing in cart
Any ideas?
__________________
Sunthing Productions Version 4.5 |
|||||||
#5
|
|||||||||
|
|||||||||
Re: "Delete" and "Edit Options" not showing in cart
It's in
buttons/edit_product_options.tpl
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#6
|
|||||||
|
|||||||
Re: "Delete" and "Edit Options" not showing in cart
This was all that was in that file:
Code:
__________________
Sunthing Productions Version 4.5 |
|||||||
#7
|
|||||||
|
|||||||
Re: "Delete" and "Edit Options" not showing in cart
As an addendum, I remember editing a colspan entry somewhere, could that have affected this issue? If you go to the checkout page, most of the entries are now missing in the same fashion.
EDIT: I've uploaded a pic from my iPhone showing the cart page, and when I zoomed up close, you can see the 'Delete' and 'Edit Options' text is there, just really small. Same goes for all the entry boxes on the checkout page.
__________________
Sunthing Productions Version 4.5 |
|||||||
#8
|
|||||||||
|
|||||||||
Re: "Delete" and "Edit Options" not showing in cart
You may have some element unclosed and it applies to all following, or your span sets font-size really small
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#9
|
|||||||
|
|||||||
Re: "Delete" and "Edit Options" not showing in cart
You got it right, the body font-size was set to 0px. My bad!
__________________
Sunthing Productions Version 4.5 |
|||||||
#10
|
|||||||||
|
|||||||||
Re: "Delete" and "Edit Options" not showing in cart
Glad you found it
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|||
X-Cart forums © 2001-2020
|