Vendor gets "confirmed order" email after payment of fee

  • Posts: 115
  • Thank you received: 0
6 years 6 months ago #279835

-- url of the page with the problem -- : www.tweedehandjes.com

Hi,

I just manually payed 2 vendors in Hikamarket.
When done, an automatic notitification email was send to them of "confirmed order"

So it looks like they need to pay me instead of the other way around.

How do I change this email so that they will receive an notification email that their fees have been paid?

Regards,
Joyce

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
6 years 6 months ago #279846

Hello,

I'm sorry but I won't be able to give you an useful answer since I don't understand the current situation.
Would it be possible to know which HikaShop and HikaMarket version number you're using and what email you're talking about exactly ?

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: 115
  • Thank you received: 0
6 years 6 months ago #279868

Hi Jerome,

Of course:

Hikashop 3.2.0
Hikamarket 1.7.3

After I made the manual payment in Hikamarket, the vendor gets the order confirmation email. This are some of the constants:

ORDER_CREATION_SUCCESS_ON_WEBSITE_AT_DATE
THANK_YOU_FOR_YOUR_ORDER_BEGIN


I would like the vendor to receive another email, like: "we have succesfully paid out the fee for order X"

Is this more clear for you?

Kind regards,
Joyce

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
6 years 6 months ago #279896

Hello,

Thanks for the precision.
You can edit the file "administrator/components/com_hikamarket/classes/vendor.php" and replace

$status = $shopOrderClass->save($order);
By
$shopOrderClass->sendEmailAfterOrderCreation = !$feeMode;
$status = $shopOrderClass->save($order);

So it will not send anymore the HikaShop order creation notification email to the vendor.
HikaMarket do not check the order type to send the emails ; so when the order is created, even if it's a "vendor payment" and not a "sale", it send the notification email to the customer (and in our case, the "customer" is the vendor administrator).

For the rest, it would require to create a new kind of email that HikaMarket could use to notify the vendor that he received a payment.
In the case where you're in "vendor paid directly" mode ; the patch will let HikaShop send the email so the vendor (because it won't be a "vendor payment" but right a "sale" to let the vendor pay your store).

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: 115
  • Thank you received: 0
6 years 6 months ago #279906

Hi Jerome,

Thanks a lot for this! very helpfull :-)
One last question, after replacing these lines; doesn't the vendor now receive any emails anymore when one of their products has been sold?
Or is this another email string? Sorry, I'm a dummy :-)

regards,
Joyce

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
6 years 6 months ago #279912

Hello,

It does not affect the other emails ; it just deactivate that specific order email when you pay a vendor via the HikaMarket backend.

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.

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