Support » Plugin: Coupon Generator for WooCommerce » Create coupon prefix

  • Resolved Deryck

    (@deryck)


    Can I create coupons like: customname-RfT4 where RfT4 are the random part and customname- is a common prefix for all coupons?

    Thanks for this great plugin!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeroen Sormani

    (@sormano)

    Hi,

    The coupon codes by default are randomized, but with a customization it is possible to change this.

    Cheers,
    Jeroen

    Thread Starter Deryck

    (@deryck)

    Thanks Jeroen.

    I will experiment with

    $coupon_code = apply_filters( 'woocommerce_coupon_code', $random_coupon );

    Line: 142
    File: /coupon-generator-for-woocommerce/includes/admin/wccg-core-functions.php

    Cheers,
    Deryck.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Create coupon prefix’ is closed to new replies.