Title: Rules import function
Last modified: June 30, 2021

---

# Rules import function

 *  Resolved [jimitstod](https://wordpress.org/support/users/jimitstod/)
 * (@jimitstod)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/rules-import-function/)
 * Hi, your plugin looks really good but I havn’t found any information about how
   to import pricing/discount rules. Do you have an API or file import function?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [kowsaliya](https://wordpress.org/support/users/kowsaliya/)
 * (@kowsaliya)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/rules-import-function/#post-14614049)
 * Hi
 * Thanks for reaching out.
 * We would like to let you know that the import/export option in our plugin is 
   used only when creating rules in the dev site and you want to move the rules 
   to the live site.
 * ﻿﻿For this case, you can export rules from the dev site and then import the file
   to the live site.
 * ﻿﻿In your dev site, once you have completed creating rules, you can navigate 
   to Import/Export Tab and click on the export button. A .csv file will be downloaded
   to your system. ﻿
 * You can then go to your live site, navigate to Import/Export Tab and click on
   the choose file name and select the .csv file and click on the import button.﻿﻿
 * Hope this helps!
 * Thanks
    Team Flycart
 *  Thread Starter [jimitstod](https://wordpress.org/support/users/jimitstod/)
 * (@jimitstod)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/rules-import-function/#post-14614488)
 * OK, so if we create a correctly formatted csv file from the ERP system we can
   import it through the import function?
    Is it possible to script and schedule
   that import through a cron job?
 *  [kowsaliya](https://wordpress.org/support/users/kowsaliya/)
 * (@kowsaliya)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/rules-import-function/#post-14615737)
 * Hi [@jimitstod](https://wordpress.org/support/users/jimitstod/)
 * Thanks for the reply.
    At the moment, it is not possible to directly import the
   file and schedule through cron into our plugin. A simple export/import from dev
   site to live site is only possible. So sorry about it.
 * Let us know in case of any further queries.
 * Thanks
    Team Flycart

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Rules import function’ is closed to new replies.

 * ![](https://ps.w.org/woo-discount-rules/assets/icon-256x256.png?rev=1977982)
 * [Discount Rules for WooCommerce](https://wordpress.org/plugins/woo-discount-rules/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-discount-rules/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-discount-rules/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-discount-rules/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-discount-rules/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-discount-rules/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [kowsaliya](https://wordpress.org/support/users/kowsaliya/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/rules-import-function/#post-14615737)
 * Status: resolved