Post by ovavrik » Mon Dec 17, 2018 8:51 pm

How is possible that in past orders are all totals, but in last order is not attached last total value and text?

I don't understand, if was there missing code in TWIG template or controller it will not send and show all totals in past orders. I'am attaching screens below.
Route -> order/info
Past order example
https://ctrlv.sk/qqgN

New order example
https://ctrlv.sk/YgUe

I tried to verify if that field with last totals value is empty with <code>{{totals[3]['text']}}</code> . In first example it works, in new orders is really totals[3] empty. In order list are all last totals calculated right. That same problem is in invoices with totals[3].

Thank you for all ideas how to solve this problem. I don't want to calculate it 'manually' in TWIG with own formula.

Newbie

Posts

Joined
Mon Dec 17, 2018 8:16 pm

Post by IP_CAM » Thu Dec 20, 2018 9:20 am

Well, if you're talking about TWIG, you probably missed to select
the proper OC Forum, since OC-2 Versions do not use TWIG ...
Not the very best way, to start here, if one does not seem to care
about such (highly important) minor things.
Ernie

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 12 guests