Add vendor name in order status notification email

  • Posts: 261
  • Thank you received: 3
  • Hikamarket Multivendor Hikashop Business
1 month 2 days ago #331617

HI Nicolas,

1. The pdf is an example of the email i get in my inbox not generated by the invoice plugin. Sorry for my bad explaination.
The issue is that in the e-mail in the subject line no order number is displayed aswell as in the e-mail itself.
2. attached the history sorry did not understand that right.


3. i will make the change and see how it goes keep you posted.. :)
Thanks

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 261
  • Thank you received: 3
  • Hikamarket Multivendor Hikashop Business
1 month 2 days ago #331635

Hi,
Changed the line in what you said and now i get this error:
Too few arguments to function hikamarketOrderClass::getVendorIdFromOrderProducts(), 1 passed in /home/bluepointconcept/06.bluepoint-concept.nl/media/com_hikashop/mail/order_status_notification.confirmed.html.php on line 13 and exactly 2 expected
I can not figure out which agrument is missing.. 1 is passed but now the second.. :)
THanks

Please Log in or Create an account to join the conversation.

  • Posts: 72763
  • Thank you received: 11096
  • MODERATOR
1 month 2 days ago #331643

Hi,

Ah yes, my bad. You need to change the line:
$vendorId = $orderClass->getVendorIdFromOrderProducts($data->cart);
to:
$first = reset($data->cart->products);
$vendorId = $orderClass->getVendorIdFromOrderProducts($first->order_product_id, $data->cart);

Regarding the order number, thanks for the screenshot. All I can think of is that it comes from the customization of the email which might be based on an old version of HikaShop leading to the problem. In the System>Emails menu, copy/paste the customizations you have made to the order status notification HTML and preload section in a text file on your local computer and then delete the customizations on the email. Then, please try again an order and see if it's still missing the order number. If not, it would confirm that it comes from the customizations. So then, you can reapply them but little by little and test each time, to see which change is creating the issue.
If it doesn't come from the customization of the emails, you can copy/paste back your customizations. Now, you said that this started after updating. Could you tell us more about it ? Which extension did you update ? HikaShop only ? HikaMarket only ? Both ? And which version did you have before ? Also, could you provide a backend access so that we could check your HikaShop and HikaMarket settings as well as check the situation for an order with the issue ? If so, please provide that via our contact form along with a link to this thread for reference :
www.hikashop.com/support/contact-us.html

Please Log in or Create an account to join the conversation.

  • Posts: 261
  • Thank you received: 3
  • Hikamarket Multivendor Hikashop Business
3 weeks 12 hours ago #331861

this works fine.. thanks..

Please Log in or Create an account to join the conversation.

Time to create page: 0.072 seconds
Powered by Kunena Forum