The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.
Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer
Plus that the order does not appear in dashboard.
What does that explain?wh1t3man2nd wrote: ↑Sat Apr 21, 2018 10:40 pmWhat i get is "Fatal error: Uncaught Exception: Error: Could not load session adaptor session! etc.. etc.. " When trying to access order details.
Plus that the order does not appear in dashboard.
The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.
Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer
I uploaded all the files to the folders and I get this error when I try to open the invoice.
Backend fatal error: PHP Fatal error: Uncaught Error: Call to a member function getCustomFields() on null in websitepublic_html/admin/controller/sale/order.php:1514\nStack trace:\n#0 websitestorage/modification/system/engine/action.php(79): ControllerSaleOrder->invoice()\n#1 websitepublic_html/admin/controller/startup/router.php(26): Action->execute(Object(Registry), Array)\n#2 websitestorage/modification/system/engine/action.php(79): ControllerStartupRouter->index()\n#3 websitestorage/modification/system/engine/router.php(114): Action->execute(Object(Registry))\n#4 websitestorage/modification/system/engine/router.php(103): Router->execute(Object(Action))\n#5 websitepublic_html/system/framework.php(168): Router->dispatch(Object(Action), Object(Action))\n#6 websitepublic_html/system/startup.php(104): require_once('/home//...')\n#7 /home/in websitepublic_html/admin/controller/sale/order.php on line 1514\n
As said I just uploaded the files and refreshed mods.
{% if account_custom_fields %}
{% for custom_field in account_custom_fields %}
<b>{{ custom_field.name }}</b> {{ custom_field.value }}<br />
{% endfor %}
{% endif %}
in order_invoice.twig, and that's all.
The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.
Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer
I did everything you mentioned and I have a problem, I need to add to the invoice all the custom fields, how do I have to proceed ?, please if you could give me a hand. Thank you.m_uzunov wrote: ↑Sun Nov 04, 2018 6:03 pmOoo, that was easy, just copied all section custom fields from function info() to function invoice() in admin/controller/sale/order.php . Then add
{% if account_custom_fields %}
{% for custom_field in account_custom_fields %}
<b>{{ custom_field.name }}</b> {{ custom_field.value }}<br />
{% endfor %}
{% endif %}
in order_invoice.twig, and that's all.
The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.
Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer
Users browsing this forum: No registered users and 5 guests