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

  • Resolved 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



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


    Thread Starter 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


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