Jump to content

Minor bug in view orders?


Recommended Posts

Guest estelle
Posted

Hey,

This looks to be a teeny buy, and the only reason i'm posting here is because i've tried to fix it myself and can't figure this one out ;)

When a customer has not yet made an order, and goes to View Order, the page has no content (besides the title and left box). And yet i've looked at the code and it should print "We have no records of any orders placed in our system. If you feel this is in error bla bla bla".

For some reason both orders_true and orders_false are not being executed in the template file. Any ideas?

Estelle.

Guest estelle
Posted

Okay... after looking at it again i've figured it out. There was a typo (argh!) in styleTemplates/content/viewOrders.tpl

<!-- BEGIN: orders_flase -->

<p>{LANG_NO_ORDERS}</p>

<!-- END: orders_flase -->

Posted

Well done estelle :on2long:

i confirm this also in version 3.00.

2 upgrade verions later and nobody saw it :lol:

Guest estelle
Posted

Thanks :on2long: although i should've noticed it when i first looked at the code :lol: Darn typos!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...