Any help is appreciated! Thanks to all whom I've learned so much from here!
- Toby
"The only way to get to the top is to get off your bottom." - Fortune Cookie
Attachments
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Attachments
Screenshot of problem described above. - Untitled.jpg (71.1 KiB) Viewed 4210 times
- Toby
"The only way to get to the top is to get off your bottom." - Fortune Cookie
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Notice: Undefined index: manufacturer_name in C:\xampp\htdocs\newstore\vqmod\vqcache\vq2-admin_controller_sale_order.php on line 2074Notice: Undefined index: manufacturer_name in C:\xampp\htdocs\newstore\vqmod\vqcache\vq2-admin_controller_sale_order.php on line 2074
- Toby
"The only way to get to the top is to get off your bottom." - Fortune Cookie
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Κατασκευή Ιστοσελίδων http://www.datakey.gr
Κατασκευή Ιστοσελίδων http://www.datakey.gr
The question would then become how to retrieve the information from an order which would involved a product if the manufacturer info is not stored within the info itself, unfortunately. After a certain time, for some Businesses, the manufacturer may no longer be relative with the product which could bring confusion between the merchant and customer later on upon reports.jgates wrote:On old thread but it does work in 1.5.4. Not on screen in the View Order->Products tab, but rather when you click "Print Invoice". It would be great to get it on order_info.tpl in addition to order_invoice.tpl. Any tips? and thanks for the huge time saving
The only way out would be by storing the manufacturer's name within the order upon completed checkout process.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Old post I know but this is very good advice by Straightlight.This type of thought process is what separates the good developers from the not so good!straightlight wrote:The question would then become how to retrieve the information from an order which would involved a product if the manufacturer info is not stored within the info itself, unfortunately. After a certain time, for some Businesses, the manufacturer may no longer be relative with the product which could bring confusion between the merchant and customer later on upon reports.
I recently began working on a modification which involved a similar thought process (adding the SKU to all available points during the checkout and order process). First point of call was to visit the extensions section to see if I could use an existing vQmod as a base framework.
I discovered this: http://www.opencart.com/index.php?route ... show%20sku
Going through the code, it is evident that the SKU is obtained through extra $product_info calls. While on face value, this achieves the desired result, this will bring about problems and confusion in the future if the SKU is changed or deleted after an order is placed.
Moving forward, the correct approach is to create a new column on the order_product table and store the SKU with each order (I am using the product ID with a prefix as a fallback in cases where no SKU has been entered). Admittedly I have hit a brick wall (http://forum.opencart.com/viewtopic.php?f=20&t=168050) which I hope to break through soon!
The sad thing is that most end users are unaware of such issues, which is why it is always best to stick to extensions created by reputable developers. I have lost count of the number of times that I have purchased an extension (to save development time), only to find myself "patching up" questionable code.
Users browsing this forum: No registered users and 26 guests