language overrides not working

  • Posts: 102
  • Thank you received: 0
13 years 2 weeks ago #29620

hi,
all of sudden my language override file is not overriding. earlier today my overrides just disappeared out of the file. just gone. now i put them all back and it worked for a while but now, its not seeing them and they are there.

help!
liz

Please Log in or Create an account to join the conversation.

  • Posts: 102
  • Thank you received: 0
13 years 2 weeks ago #29621

the problem is the following line:
AMOUNT_COLLECTED_ON_DELIVERY="The amount of approximately %s** will be collected upon delivery of your order (%s). **if you have ordered a Fresh Willie Bird the cost will be computed and added in store.


i need to edit this line and what a pain. i dont want totals in this statement as not all of my cart is charged. but if remove the line at the beginning to just have the order number. it inserts the order total. why are they the same variable???

i am assuming you are flowing in an array here?? anyway this is not working for me.
is it the asterix that is breaking the language file? how can i simply write on this page

your order number is xxx.

thank you, Liz

Please Log in or Create an account to join the conversation.

  • Posts: 102
  • Thank you received: 0
13 years 2 weeks ago #29622

sorry i was missing a ". however is there a way to just show the order number without the total at all??
thanks, L

Please Log in or Create an account to join the conversation.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
13 years 2 weeks ago #29624

For that you should do it like that:
AMOUNT_COLLECTED_ON_DELIVERY="<span style='display:none;'>%s</span>Your order number is %s."

Please Log in or Create an account to join the conversation.

  • Posts: 102
  • Thank you received: 0
13 years 2 weeks ago #29625

ahh good idea. i didnt know you could use html in that file

Please Log in or Create an account to join the conversation.

Time to create page: 0.061 seconds
Powered by Kunena Forum