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

Buy Now Button not displaying any text

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-08-2006, 03:41 PM
 
jherzog jherzog is offline
 

Advanced Member
  
Join Date: Jan 2006
Posts: 93
 

Default Buy Now Button not displaying any text

My buy now buttons are not displaying any text

buttons/buy_now.tpl is the original and is set to:

{include file="buttons/button.tpl" button_title=$lng.lbl_buy_now href=$href title=$title style=$style}

the lbl_buy_new variable in the lanuages is still set to "Buy Now".

Any ideas why the text is not showing up?

If I edit buttons/buy_now.tpl and hard code the title like this:

{include file="buttons/button.tpl" button_title="Buy Now Test" href=$href title=$title style=$style}

It works, the button says "Buy Now Test"

Thanks for any help.
__________________
Jed Herzog
Gold X-Cart 4.0.17
http://www.outliersolutions.com
Portland Advertising Agency,
Portland Web Design
Reply With Quote
  #2  
Old 02-08-2006, 03:44 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Make sure the color of the text on the button is set correctly.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 02-08-2006, 03:56 PM
 
jherzog jherzog is offline
 

Advanced Member
  
Join Date: Jan 2006
Posts: 93
 

Default

I am pretty sure it is

1) when I hard code the title in it works

2) The text on the add to cart buttons works and they are the same css entry, right?

3) the button is not long enough to have the text.

Thanks for the idea though, any thing else to try.

I could just hard code "buy now" in but I hate to break the lanuage features of X-Cart in that one place.

Jed
__________________
Jed Herzog
Gold X-Cart 4.0.17
http://www.outliersolutions.com
Portland Advertising Agency,
Portland Web Design
Reply With Quote
  #4  
Old 02-09-2006, 01:02 PM
 
jherzog jherzog is offline
 

Advanced Member
  
Join Date: Jan 2006
Posts: 93
 

Default

I have noticed another lng.lbl field that is not displaying. When I am looking at a subcategory list (subcategories.tpl). It displays the subcategories and the count for the number of subcategories but not the $lng.lbl_products or $lng.lbl_categories text. Again, these variables are set correctly in the language menu.

I wonder what other variables are not displaying that are suppose too?

Any suggestions.

Jed
__________________
Jed Herzog
Gold X-Cart 4.0.17
http://www.outliersolutions.com
Portland Advertising Agency,
Portland Web Design
Reply With Quote
  #5  
Old 02-09-2006, 04:54 PM
 
jherzog jherzog is offline
 

Advanced Member
  
Join Date: Jan 2006
Posts: 93
 

Default Updated: This problem exits throughout products.tpl

I have just verified that this problem exists in the entire text generated by customers/main/products.tpl.

I have restored customers/main/products.tpl but that did not fix the problem. What other files could cause customers/main/products.tpl not to load the language variable?

I have the help box(help.tpl) load before products.tpl and the language variables load in it fine. I have the cart box (customers/main/minicart.tpl) load after customer/main/products.tpl and the language variables load in it fine.

In case I am using the wrong lingo by language variable I mean the $lng.lbl_whatever variables.

Thank you for your help.

Jed
__________________
Jed Herzog
Gold X-Cart 4.0.17
http://www.outliersolutions.com
Portland Advertising Agency,
Portland Web Design
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 01:03 PM.

   

 
X-Cart forums © 2001-2020