X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Buy Now Button not displaying any text (https://forum.x-cart.com/showthread.php?t=19833)

jherzog 02-08-2006 03:41 PM

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.

balinor 02-08-2006 03:44 PM

Make sure the color of the text on the button is set correctly.

jherzog 02-08-2006 03:56 PM

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

jherzog 02-09-2006 01:02 PM

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

jherzog 02-09-2006 04:54 PM

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


All times are GMT -8. The time now is 06:12 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.