Hi there,
I've put some hours work in finding out how to get the UPC number from an product in de Order template, but it will not work.
I just want to be able to use $product['upc']; in de loop of products in de order template.
I've tried to query the database on product_id and so on, but I cannot get it right.
Where do I have to query (controller? model?) the products and set the variables, so that I can use this in the ordermail template?
I hope somebody can help me out here,
Aleks
Well, if you cannot get it fixed, check this!
Ernie
---
Order Field - SKU UPC EAN JAN ISBN MPN in order, invoice, mail
https://www.opencart.com/index.php?rout ... n_id=20595
---
or check here:
viewtopic.php?f=190&t=187386&p=684903#p684903
Ernie
---
Order Field - SKU UPC EAN JAN ISBN MPN in order, invoice, mail
https://www.opencart.com/index.php?rout ... n_id=20595
---
or check here:
viewtopic.php?f=190&t=187386&p=684903#p684903
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.
or can it not be interferere each other?
Well, like in real Life, one could get in someone else's way, but
then, you would find out soon.
But one could 'combine' Mod-Routines, belonging to the same Source Sections,
like for Categories or Products, by packing them into one single OcMod/VqMod,
to have an 'easier to overlook' Extension Structure. But don't worry too much about
this, I usually have somewhere between 50 - 80 VqMods running in my Test Shops,
and they do no harm, or then, the Error Log will nicely 'document' the problem.
And you can also use the Extension Content, to place it in the Source Files themselfs, after
they worked as Extension. This would be the easiest way, since VqMods/OcMods clearly
'show', where such Changes have to be done.
Good Luck!
Ernie
Well, like in real Life, one could get in someone else's way, but
then, you would find out soon.
But one could 'combine' Mod-Routines, belonging to the same Source Sections,
like for Categories or Products, by packing them into one single OcMod/VqMod,
to have an 'easier to overlook' Extension Structure. But don't worry too much about
this, I usually have somewhere between 50 - 80 VqMods running in my Test Shops,
and they do no harm, or then, the Error Log will nicely 'document' the problem.
And you can also use the Extension Content, to place it in the Source Files themselfs, after
they worked as Extension. This would be the easiest way, since VqMods/OcMods clearly
'show', where such Changes have to be done.
Good Luck!
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.
Who is online
Users browsing this forum: No registered users and 172 guests