WordPress.org

Forums

WP eCommerce
[resolved] Any starting pointers to create a multiple voucher code function? (2 posts)

  1. DDT
    Member
    Posted 1 year ago #

    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/

  2. DDT
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.