[SOLVED] Wrong shipping address on vendor notifications

  • Posts: 306
  • Thank you received: 42
  • Hikamarket Multivendor Hikashop Business
7 years 4 months ago #257868

-- HikaShop version -- : 2.6.4
-- HikaMarket version -- : 1.7.2
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.6.0

If a customer selects a different shipping address to the billing address then when the order status emails are sent to the vendor the shipping address is the same as the billing address. The email that is sent to the customer is correct.

Here is the result of a test purchase. 'Correct addresses' indicates that the different billing and shipping addresses were shown but the 'Wrong addresses had the shipping address the same as the billing address.

StatusCustomer emailVendor emal
Created- Correct addresses- Correct addresses
Confirmed- Correct addresses- Wrong addresses
Shipped- Correct addresses- Wrong addresses
Cancelled- Correct addresses- Wrong addresses
At the cancelled stage an additional email was sent to the main vendor which also had the wrong addresses.

I have no email overrides set.

Any ideas?

regards
Trevor

Last edit: 7 years 4 months ago by trevsmiff.

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
7 years 4 months ago #257872

Hi,

Can you please verify that you do not have any email override for the HikaMarket "order status notification" email ?

About the order number, do you have the setting "Use same order number for sub-orders" enable ?
www.hikashop.com/support/documentation/1...onfig_market_general

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 306
  • Thank you received: 42
  • Hikamarket Multivendor Hikashop Business
7 years 4 months ago #257883

Hi Jerome

Can you please verify that you do not have any email override for the HikaMarket "order status notification" email ?

I verify that there are no email overrides (Hikamarket and Hikashop)

About the order number, do you have the setting "Use same order number for sub-orders" enable ?

I realised that this was the cause of the different order numbers after posting the topic :oops:

regards
Trevor

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
7 years 4 months ago #257900

Hi,

Please edit the HikaMarket "order_status_notification" preload and change the line (near the end of the file)

} elseif(!empty($data->order_shipping_id) && !empty($data->cart->shipping_address)) {
By
} elseif(!empty($data->cart->order_shipping_id) && !empty($data->cart->shipping_address)) {

I think that when the email is send, the HikaMarket sub-sale is not load/modify entirely and the information "order_shipping_id" is not available directly in the object "$data" ; but it would be in the "$data->cart".

You can perform a edition of the email using the HikaShop Business interface or you can modify directly the file using FTP (media/com_hikamarket/mail/order_status_notification.preload.php).
The next HikaMarket release will have that patch (if you right confirm that it fix the issue).

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: trevsmiff

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

  • Posts: 306
  • Thank you received: 42
  • Hikamarket Multivendor Hikashop Business
7 years 4 months ago #257902

Thanks for that Jerome, I will upload and test later today.

Best regards and seasons greetings
Trevor

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

  • Posts: 306
  • Thank you received: 42
  • Hikamarket Multivendor Hikashop Business
7 years 4 months ago #257904

Hi Jerome

I have just made the change and created a test order and can confirm the the address are now correct.

Many thanks
Trevor

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

Moderators: Obsidev
Time to create page: 0.069 seconds
Powered by Kunena Forum