- Posts: 56
- Thank you received: 0
[Solved] Cannot display product-code on invoice
Joomla version: 2.5.17
PHP version: 5.2.17
I have search and read including these two threads.
www.hikashop.com/forum/product-category-...ring-on-invoice.html
www.hikashop.com/forum/orders-management...code-on-invoice.html
I've edited the code of order/invoice.php through "Hikashop->Display->Views" by editing the "invoice" file of "order" view of my back-end template. I insert lines between line# 139 & 140 but nothing happen! I even tried some dummy text and expect at least it should appear in the position of that <td>..</td>, but it doesn't.
Sorry for my limited knowledge on php. Should I insert it somewhere else.
Also, not sure if it is relevant; Product code is displayed nicely as expected on product page.
Thanks
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Can you set the "Display product code" option through "Hikashop->System->Configuration->Display" to YES and see if it display your product code ?
Also, you should revert the modifications that you have made through your "invoice" file
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
1. Download the last Hikashop version through our website, install it, and test it again ?
2. Revert your changes through your "invoice" file
3. Make sure that the "Display product code" option is set to YES
And test it again ?
Please Log in or Create an account to join the conversation.
I can see product code on product page and in the shopping cart before check out. However, what I need now is to have the product code printed on _invoice_, that is on the email to addresses on "Order creation notifications email address" (under Hikashop>configure>main>email) for easy product picking. I don't mind whether it appear or not on the invoice to the customer.
Please Log in or Create an account to join the conversation.
I did a crazy test, I remove over 90% of lines in the invoice.php file thru ""Hikashop->Display->Views" by editing the "invoice" file of "order" view of my back-end template." Create a new order at front end and still receive a COMPLETE invoice!!! So, is it the correct file to edit? Or you guys are working on a better solution but not ready to release yet?
Please Log in or Create an account to join the conversation.
I think the view you edited is the one that display order information on the backend, not the one which is mailed.
Just to make sure, you want to edit the mail sent to your customer? If so, you should go to System>Email and edit the order email.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Sorry I read, checked (the site backend screen), and replied on my mobile. When I back to my PC and check detail the System>Email you mentioned, I see only
Am I suppose to copy the php scripts from Hikashop->Display->Views->Invoice, add some lines to display the product-code, paste it to System->Email; then the original email will be replaced by this one?
BTW, to clarify, for the most basic operation, when an order is confirmed, an email (of the invoice) is sent to the client and the System->Main->Emails->Order.creation.notifications.email.address. What is the official name of this email? "email", "invoice", "order", or what?
Please Log in or Create an account to join the conversation.
I still wonder if it is a bug!?!?
I did a crazy test, I remove over 90% of lines in the invoice.php file thru ""Hikashop->Display->Views" by editing the "invoice" file of "order" view of my back-end template." Create a new order at front end and still receive a COMPLETE invoice!!! So, is it the correct file to edit? Or you guys are working on a better solution but not ready to release yet?
Please Log in or Create an account to join the conversation.
Under System->Email, I only opened the "Order Notification" but not the "Order Administrator Notification" where looks more promising.
Thanks a lot for all your replies.
Please Log in or Create an account to join the conversation.
1. Update to the latest business version
2. www.hikashop.com/forum/4-how-to/38562-ad...imitstart=0&start=20
Hope this can help people who have similar problem but don't get the correct keyword to search.
Please Log in or Create an account to join the conversation.
And thanks for sharing your solution, it will definitely help our customers!
Please Log in or Create an account to join the conversation.