You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Tim Ruppert <ti...@hotwaxmedia.com> on 2006/08/03 00:11:22 UTC

Discrepancy btw ordercomplete.ftl & OrderNoticeEmail.ftl results

Despite the fact that both ordercomplete.ftl and OrderNoticeEmail.ftl 
both use the script oderstatus.bsh and run in basically the same thread 
- I am getting different output


The ordercomplete.ftl does NOT show the OrderDemoFrontNote and 
everything looks perfect. 


The OrderNoticeEmail.ftl uses exactly the same conditions, yet produces 
the following output:

    Order Confirmation Notice

    NOTE: This is a DEMO store-front. Orders placed here will NOT be
    billed, and will NOT be fulfilled.

    Order not found with ID [WS10030], or not allowed to view.

NOTE: The attached pdf looks great.  How could it have different answers 
to the isDemoStore and orderHeader variables.


Does anyone have any ideas?  FYI - I'm using ofbiz version 472242 from 
earlier this week - and these are unmodified versions of all of these 
scripts.

Cheers,
Tim

-- 
Tim Ruppert
HotWax Media
http://www.hotwaxmedia.com

o:801.649.6594
f:801.649.6595


Re: Discrepancy btw ordercomplete.ftl & OrderNoticeEmail.ftl results

Posted by Tim Ruppert <ti...@hotwaxmedia.com>.
Has anyone seen an error like this where the order summary page (after 
purchase) and the order notification email treat the Demo Store status 
in the product store differently?

Any ideas are appreciated.

Cheers
Tim

Tim Ruppert wrote:
> Despite the fact that both ordercomplete.ftl and OrderNoticeEmail.ftl 
> both use the script oderstatus.bsh and run in basically the same 
> thread - I am getting different output
>
>
> The ordercomplete.ftl does NOT show the OrderDemoFrontNote and 
> everything looks perfect.
>
> The OrderNoticeEmail.ftl uses exactly the same conditions, yet 
> produces the following output:
>
>    Order Confirmation Notice
>
>    NOTE: This is a DEMO store-front. Orders placed here will NOT be
>    billed, and will NOT be fulfilled.
>
>    Order not found with ID [WS10030], or not allowed to view.
>
> NOTE: The attached pdf looks great.  How could it have different 
> answers to the isDemoStore and orderHeader variables.
>
>
> Does anyone have any ideas?  FYI - I'm using ofbiz version 472242 from 
> earlier this week - and these are unmodified versions of all of these 
> scripts.
>
> Cheers,
> Tim
>