WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Any starting pointers to create a multiple voucher code function?

[Resolved] Any starting pointers to create a multiple voucher code function?

  • Hello,

    I like to add 200 coupon/voucher codes and i don’t like to add the codes one-by-one. So does anyone have a tip or starting point which wpsc hook i could use or any starting code?

    Say i like to use coupon codes FREE001 – FREE200

    Or maybe how to create a xml file with the coupon codes which can be imported

    https://wordpress.org/plugins/wp-e-commerce/

Viewing 1 replies (of 1 total)
  • FYI: Ok also found a solution by directly adding the coupons codes via phpmyadmin

    INSERT INTOwp_wpsc_coupon_codes(id,coupon_code,value,is-percentage,use-once,is-used,active,every_product,start,expiry,condition) VALUES

    and a php for loop for the values.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Any starting pointers to create a multiple voucher code function?’ is closed to new replies.