This topic has been marked as not a support question.
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
This topic has 2 voices, contains 2 replies, and was last updated by TB Support 4167 days ago.
Tagged: manufacturers
ThemeBurn Support › Forums › OpenCart Themes › Shoppica OpenCart Theme › Add manufacturers to invoice
This topic has been marked as not a support question.
Hi, I sell copyrighted artworks and I would like to add the manufacturer’s name to the invoice. To start with the easy stuff, I have replaced the ‘model’ table column header in ‘admin/view/template/sale/order_invoice.tpl’ with ‘artist’. Now the model result field has to be replaced with a manufacturer result field. In admin/controller/sale/order.php I have added the following code above
The invoice now displays a manufacturer, but it’s always the first manufacturer from the manufacturer’s list. I think the problem is there is no connection between order id and manufacturer id. So I can ask the database to find the manufacturers connected to this order, but it doesn’t know which those are. Do you guys know of a way to make this connection? I realize this is not purely a Shoppica question, but it would be great if you could provide any kind of help. |
|
December 7, 2012 at 9:36 pm #15788
|
|
I might be able to solve this by using the model field for artist names. |
|
December 7, 2012 at 10:25 pm #15789
|
|
Thanks for the shared information! Best, |
|
December 11, 2012 at 10:36 am #15855
|