Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

"Delete" and "Edit Options" not showing in cart

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-15-2012, 12:46 PM
 
xcellere xcellere is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 32
 

Default "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
Reply With Quote
  #2  
Old 02-15-2012, 12:56 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default 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
Reply With Quote
  #3  
Old 02-15-2012, 01:11 PM
 
xcellere xcellere is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 32
 

Default 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&amp;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
Reply With Quote
  #4  
Old 02-21-2012, 12:23 PM
 
xcellere xcellere is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 32
 

Default Re: "Delete" and "Edit Options" not showing in cart

Any ideas?
__________________
Sunthing Productions
Version 4.5
Reply With Quote
  #5  
Old 02-21-2012, 12:57 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: "Delete" and "Edit Options" not showing in cart

It's in
buttons/edit_product_options.tpl
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #6  
Old 02-21-2012, 02:05 PM
 
xcellere xcellere is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 32
 

Default Re: "Delete" and "Edit Options" not showing in cart

This was all that was in that file:

Code:
{if !$target}{assign var="target" value="cart"}{/if} {include file="buttons/button.tpl" button_title=$lng.lbl_edit_options href="javascript: openPopupPOptions('`$target`', '`$id`');" target=""}
__________________
Sunthing Productions
Version 4.5
Reply With Quote
  #7  
Old 02-21-2012, 03:22 PM
 
xcellere xcellere is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 32
 

Default 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.
Attached Thumbnails
Click image for larger version

Name:	enlarge.PNG
Views:	97
Size:	19.0 KB
ID:	2926  
__________________
Sunthing Productions
Version 4.5
Reply With Quote
  #8  
Old 02-21-2012, 04:56 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default 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
Reply With Quote

The following user thanks cflsystems for this useful post:
xcellere (02-21-2012)
  #9  
Old 02-21-2012, 05:10 PM
 
xcellere xcellere is offline
 

Advanced Member
  
Join Date: Feb 2008
Posts: 32
 

Default 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
Reply With Quote
  #10  
Old 02-21-2012, 05:12 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: "Delete" and "Edit Options" not showing in cart

Glad you found it
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:20 PM.

   

 
X-Cart forums © 2001-2020