coupon status

  • Posts: 503
  • Thank you received: 21
  • Hikashop Business
6 years 4 months ago #282795

-- HikaShop version -- : 3.2.1
-- HikaSerial version -- : 2.0
-- Joomla version -- : 3.8.2
-- PHP version -- : 7.0

Hi,

When a customer has bougt a giftcard the status of the assigned coupon is standard "unpublished" At first the status was standard "published" after payment, but now it is no more. I must have changed something, but I can't figure out what it is. Can you help me out?

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
6 years 4 months ago #282802

Hello,

HikaSerial do not assign a coupon ; it assign a serial.
But the "coupon generator" can create HikaShop coupons and that generator publish the coupon by default, it's an hard coded rule within the plugin.
So I'm afraid that I can't follow your workflow and what can be your 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.

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

  • Posts: 503
  • Thank you received: 21
  • Hikashop Business
6 years 4 months ago #282840

Hi,

Ok, a serial has been assigned and a coupon is generated. After the customer paid, the coupon is not set to "published". It was before. See screenshot, the topcoupon is recently bought and paid for, the status is "unpublished".

Attachments:

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
6 years 4 months ago #282841

Hello,

The workflow you're describing is not possible.

When the order is confirmed and only when it's confirmed, HikaSerial will generate the serial.
And if you're using the "coupon generator", it will also create an HikaShop coupon code in the database (by copying a "coupon template" you have configured).

BUT !
There is no feature or option to generate a coupon before the order is paid and make that coupon published after.

So, I really don't know how your HikaShop & HikaSerial are configured but what you're describing was not possible unless you have perform deep modifications in the core.
Even if HikaSerial is highly flexible, its workflow is very regarding when and how content is generated.

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: 503
  • Thank you received: 21
  • Hikashop Business
6 years 4 months ago #282852

Hi Jerome,

Ok, I did not discribe the flow correctly, sorry about that, but everything works fine apart from the status.

It already solved itself, the next orders do have the status "published". Can't reproduce what happened.

Last edit: 6 years 4 months ago by michelpouli.

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

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