| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
"Delete" and "Edit Options" not showing in cart | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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
|
|||||||||
|
|||||||||
![]() 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
|
|||||||
|
|||||||
![]() 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
|
|||||||
|
|||||||
![]() Any ideas?
__________________
Sunthing Productions Version 4.5 |
|||||||
#5
|
|||||||||
|
|||||||||
![]() It's in
buttons/edit_product_options.tpl
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#6
|
|||||||
|
|||||||
![]() This was all that was in that file:
Code:
__________________
Sunthing Productions Version 4.5 |
|||||||
#7
|
|||||||
|
|||||||
![]() 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
|
|||||||||
|
|||||||||
![]() 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
|
|||||||
|
|||||||
![]() You got it right, the body font-size was set to 0px.
![]()
__________________
Sunthing Productions Version 4.5 |
|||||||
#10
|
|||||||||
|
|||||||||
![]() Glad you found it
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|||
X-Cart forums © 2001-2020
|