OC Version: 3.0.2.0
Theme: default
Hi
I am trying to do something like the below in the admin dashboard but unfortunately is not working. I want to print the custom field number --> Customers --> Customers.
Until now I done
This one is working fine {% if email %}{{ email }}{% endif %} for email
This not working {% if custom_field[13] %}{{ custom_field[13] }}{% custom_field[13] %}
Theme: default
Hi
I am trying to do something like the below in the admin dashboard but unfortunately is not working. I want to print the custom field number --> Customers --> Customers.
Until now I done
This one is working fine {% if email %}{{ email }}{% endif %} for email
This not working {% if custom_field[13] %}{{ custom_field[13] }}{% custom_field[13] %}
Unrelated to the topic.
Related to topic. However, custom fields are defined by array key names and not by numbers. It would also be needed to switch your [] to . (dots) to call your indexes in TWIG files.
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
Programmer / Opencart Tester
Use TextCrawler or see the codes on GitHub. Lots of examples are already provided.
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
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 26 guests