• Resolved seememarianne

    (@seememarianne)


    I want to set up 1 coupon code that works for 8 randomly filled in digits. Customers fill in their membership number of 8 digits in coupon code field in the shopping cart. So each time a different combination of 8 digits must execute the coupon in the shopping cart.
    I have adjusted an existing well-working coupon, because the product on which the discount is obtained has changed. And adjusted the amount of discount.

    I have adjusted an existing well-working coupon, because the product on which the discount is obtained has changed. And adjusted the amount. The coupon code is ~~~~. This worked for 8 random digits so far.
    Unfortunately it does not work any more. Error message remains “This coupon is not applicable to the selected products”. Everything is correct, product application, no excluded products, no restrictions on category, price, tags, etc. Cache emptied, etc.

    What coupon code can I create that does work? So for 8 randomly filled in digits?
    Thnxs!!!

    Marianne

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Moses M. (woo-hc)

    (@mosesmedh)

    Hi @seememarianne,

    Thank you for the thorough explanation. WooCommerce doesn’t have built-in support for wildcard or pattern-based coupon codes, but you can enhance its functionality with plugins. Tools like WooCommerce Smart Coupons, Advanced Coupons for WooCommerce, and Coupon Generator for WooCommerce can be useful.

    Another option is to achieve this through custom coding, though that would require assistance from an expert.

    Thread Starter seememarianne

    (@seememarianne)

    Hi @mosesmedh ,

    Thnxs for your answer. The suggested plugins could be useful. However, I do need to be sure that the wildcard option is available in a plugin before I purchase it.

    Custom code is an option that I will discuss tomorrow with an expert. The disadvantage of this is that with every update of Woocommerce, the code has to be included manually, right?

    Plugin Support Moses M. (woo-hc)

    (@mosesmedh)

    Hi @seememarianne,

    I’m glad my response was helpful! Regarding whether the functionality is included in the plugin, I recommend reaching out to the plugin authors before making a purchase or checking their support forum.

    If you’re using custom code, you may not need to reapply it after each update, depending on how it was implemented. Ask your developer to create a child theme to ensure the code remains intact or develop it as a custom plugin. However, using the functions.php file within the child theme is the most effective approach.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.