Message when Serial package needs to refill

  • Posts: 159
  • Thank you received: 2
9 years 5 months ago #180285

-- HikaShop version -- : 2.3.4
-- HikaSerial version -- : 1.8.5
-- Joomla version -- : 3.3.6

Hi,
can I determine an email address (other than admin) that receives the notification mail as soon as the amount of serials are below a certain number?
Cheers
Roger

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
9 years 5 months ago #180290

Hi,

The option "Stock level notify" send an HikaSerial email that you can override like the others email in the HikaShop backend.
Thanks to that, you can configure the email you want as destination.

$data->email = 'my@email.com';
$data->name = 'My email';
www.hikashop.com/support/documentation/1...l#stock_level_notify

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: 159
  • Thank you received: 2
9 years 5 months ago #180295

Thanks Jerome,
where is the email located? I can't find it in the backend sytem-emails...
Cheers
Roger

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
9 years 4 months ago #180332

Hi,

I just realized that HikaSerial does not have the integration with the HikaShop email listing (like I did for HikaMarket).
I'm currently coding it for the next build.
So for the moment you can manually edit the mail that you can find in the folder : media/com_hikaserial/mail/
I'm also updating the email content in order to use the HikaShop/HikaMarket templates.

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: 29
  • Thank you received: 0
9 years 3 months ago #184501

Hi!

I did the settings in the configuration E-mail backend and set the quantity in serial pack to modify when quality was reached, but i did not get any notification.

Then I add the 2 lines and override the E-Mail template

$data->email = 'This email address is being protected from spambots. You need JavaScript enabled to view it.';
$data->name = 'My email'

nothing change! Not notification goes out. Can you help please?

regards,

Zafer

Attachments:

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
9 years 3 months ago #184526

Hi,

Does your pack is right configured with a "stock level notification" ?
www.hikashop.com/support/documentation/1...l#stock_level_notify

Even if you customized the email receiver, HikaShop need to send this email and to do so, you have to have more serials than the stock level and "use" some serials (customer buy some) in order to reach the stock level notify step.

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: 29
  • Thank you received: 0
9 years 3 months ago #184644

Hi Jerome,

all setting are correct set. Look at the screenshot. Do I need any config in the main product config page?

regards

Attachments:

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
9 years 3 months ago #184645

Hi,

Once again ; the email is sent by HikaSerial when a serial is being assigned (someone bought a product with a serial) and the pack quantity is lower or equal to the stock level number.

You currently have 4 available serials and the stock level is set to 3.
4 is higher than 3 so HikaSerial won't send any email unless this quantity is lower or equal to 3.

And when the pack quantity will be lower or equel to 3 ; each time a serial will be assign (by an order confirmation which ask for "free" serials in that specific pack), you will receive a notification email.

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: 29
  • Thank you received: 0
9 years 3 months ago #184670

Hi Jerom,

you can believe me, it does not work. At this time I set up the quantity for testing in Sandbox Environment. Send me your e-mail. I will create you an administrator account. You can checkt it out your self.

regards, Zafer

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
9 years 3 months ago #184673

Hi,

Okay, I believe you.

Well in HikaSerial 1.9.0, the emails are also displayed in the HikaShop email listing.
So the best we will force the email loading even if the HikaShop configuration does not contain the mail reference.
Please edit the file "administrator/components/com_hikaserial/classes/pack.php" and replace

$mail = $mailClass->get('pack_quantity_low', $pack);
By
$mail = $mailClass->load('pack_quantity_low', $pack);
I'll update the HikaSerial package too.

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.087 seconds
Powered by Kunena Forum