Issue(s) with Coupon free product

  • Posts: 37
  • Thank you received: 3
4 years 7 months ago #317668

-- url of the page with the problem -- : kaldiboz.nl/shop
-- HikaShop version -- : 4.2.3
-- Joomla version -- : 3.9.16
-- Error-message(debug-mod must be tuned on) -- : none

Hi,

Since I don't know where to get support exactly.

I am running into issues with this plugin:
- When I set to have a free product added above 50 euros of buying within a category it ignores this category
- When I set it to be only working for a group (registred) it doesn't update the card when I login during the checkout (but this might be because I uses social login / JFBConnect).

Can somebody look into this? Not very urgent, but it would be nice if we want to have future actions where we have giveways for selling products from a certain category that it works :)

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
4 years 7 months ago #317675

Hi,

It works fine on our end, so we would need more information on the situation.
Could you provide a screenshot of the settings of your coupon and of the settings of the coupon free product plugin ?

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

  • Posts: 37
  • Thank you received: 3
4 years 7 months ago #317734

Here is a screenshot.
Disabled the group now

If you want I can give access so you can see / test the problem yourself.

Attachments:

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
4 years 7 months ago #317780

Hello,

Please try to deactivate the "Including sub categories" setting in your coupon configuration.
For what I can see, the "coupon free product" do not generate any problem but you first need to be sure that your coupon can be loaded automatically.
To be sure, just remove the product from the "discount free product" and set a "1 EUR" fixed discount instead.
If you do have the same issue, then it's coming from the coupon configuration or HikaShop ; otherwise it's from the plugin.

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: 37
  • Thank you received: 3
4 years 7 months ago #317805

This works, topic can be closed...

Too bad we gave away some cofee allready :) but that's not really a problem!

The following user(s) said Thank You: nicolas

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

  • Posts: 37
  • Thank you received: 3
4 years 6 months ago #318425

Can somebody please have a look at this?

I put for an x amount of products in my cart.
Free product gets assigned
I remove the products I buy..
Free product still there...

It does not update sadly..

Can provide login info.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
4 years 6 months ago #318434

Hello,

Please provide screenshot of your coupon configuration.
If the coupon is still in the cart, the free product will be too.
The coupon and the free product are linked, by removing one or the other, both will be removed.
Before investigating on the "free product" plugin, we need to be sure that the problem is not related to the coupon configuration, which would result to a "normal" behavior regarding the plugin algorithm.

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: 37
  • Thank you received: 3
4 years 6 months ago #318459

Here you go

Attachments:

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
4 years 6 months ago #318474

Hello,

If the coupon is still in the cart, the free product will be too.
The coupon and the free product are linked, by removing one or the other, both will be removed.
Before investigating on the "free product" plugin, we need to be sure that the problem is not related to the coupon configuration, which would result to a "normal" behavior regarding the plugin algorithm.


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: 37
  • Thank you received: 3
4 years 6 months ago #318495

Hi,

I shared the configuration yesterday as an image.
Also: when I remove the products from my card the free product stays. You can easily verify in the shop yourself.

Please look into this. I've had issues with this product twice giving free gifts away because something in the plugin doesn't work. First 'selecting subcategory' gives the free product away for all categories. Second removing a product doesn't update the cart / checkout. People can fool the system once they know it and get the products for free / just costs for sending.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
4 years 6 months ago #318517

Hello,

We asked you the confirmation that the "free product" stays in the cart while the coupon was removed.
That's was just the confirmation we needed in order to know in which direction we needed to go for the investigation.

I wrote the same thing few days ago

To be sure, just remove the product from the "discount free product" and set a "1 EUR" fixed discount instead.
If you do have the same issue, then it's coming from the coupon configuration or HikaShop ; otherwise it's from the plugin.

Please understand that if you do not provide the information regarding that point, we can't go forward.

Autoloads coupons are tricky and the algorithm is a complex one ; detecting modification of autoloaded coupons are difficult too because they can avoid triggers while removing a coupon, forcing the "coupon free product" to perform extra tests.
The current issue is related to the way that the autoloaded coupon was removed, since there was no more trace in the cart object.
The coupon can be "empty" but the entry can be removed from the object, telling the system that we don't want to touch that value ; it allows to update only partial information in the database.
Since the "coupon free product" was expecting an empty value when a coupon is removed and that was an autoloaded one is removed the coupon entry is also removed (not just empty), the detection of the removal was not working anymore.
Thus we had to find another way to detect that even in the plugin to make it work even with autoloaded coupons.

You can redownload the coupon free product plugin to get the patch.
And the next time you have issue, please provide the details to help the team understand the nature of the problem.

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: 37
  • Thank you received: 3
4 years 6 months ago #318541

Thanks, I understand.

I was reacting to:
"Before investigating on the "free product" plugin, we need to be sure that the problem is not related to the coupon configuration, which would result to a "normal" behavior regarding the plugin algorithm."

Will provide more information next time if something happens. Surely do not hope :) !

Last edit: 4 years 6 months ago by Robby.

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

Time to create page: 0.060 seconds
Powered by Kunena Forum