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

New order example

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.



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.

I'm no longer active at the OC Forum. To reach me, contact:
A Demoversion of my free OpenCart LIGHT v. Software Edition
can be seen in Action here:
940+ FREE OC Extension-Repositories - from OC v.1.5.x up,
on the world's largest OC-related Github Site:

User avatar
Legendary Member


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

Users browsing this forum: No registered users and 5 guests