• We have two custom snippets that create a coupon for the first order of a user and for when they first register to the site.
    However, we noticed that when the Yith Gift Card plugin is activated the coupons are not created.

    The user gets a mail notification for their new coupon code, but there isn’t one created in Woocommerce.
    If we deactivate the plugin, everything works fine.

    We are using    $coupon = new WC_Coupon(); {..all the coupon settings..} $coupon->save(); and the coupon is not created.

    Any suggestions?

    I’ve shared the credentials from the website in question in your ticket #313570

    • This topic was modified 5 months, 2 weeks ago by nmavra.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello there,
    thanks for contacting us!

    I’m sorry, but we only request administrator access to your site through our premium support. We don’t provide that type of support here.

    If you’d like, you can share the custom code you created so I can try to review it on my installation.

    Best regards.

    Thread Starter nmavra

    (@nmavra)

    I have already replied to this, as shown here “This topic was modified 1 day, 20 hours ago by nmavra.” seeing as at the type of writing now you reply is “Juan Coronel (@juaancmendez) 19 hours, 25 minutes ago” but my reply has been deleted.

    Who deleted my post?

    Thread Starter nmavra

    (@nmavra)

    Anyway, here is our snippet

    https://pastebin.com/fCushpy9

    Moderator Support Moderator

    (@moderator)

    No post has been archived here. Your addition can be seen in your first post in this topic. However, you mention here that you have provided credentials. This is not permitted here in the forum as it violates the guidelines. Similarly, if you are a premium user, questions about the plugin are also not permitted in the forum.

    Thread Starter nmavra

    (@nmavra)

    Hey super admin, I had a whole snippet that I added as a reply to Juan’s comment, and this one has either been deleted or somehow not posted. It does not really matter though, luckily I noticed it.

    The bug I’m reporting is for the FREE version and it is 100% reproduceable using the snippet above.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.