1. Home
  2. WooCommerce Discount Manager
  3. Advanced Usage

How to import and export discounts

The discount information in WooCommerce Discount Manager is stored in the WordPress database. This article explains where the data is stored so that you can use it to import and export discounts instead of creating them manually.

Database tables

All the data regarding discounts is saved into 2 custom database tables: wp_wdm_discounts and wp_wdm_discount_settings. You should replace the wp_ prefix with the database prefix chosen in your wp-config.php file, as this may be different for your site.

The wdm_discounts table contains the discount ID, name, slug, priority, enabled or not status, and dates when it was created and last updated.

The wdm_discount_settings table contains the values of all the settings for each discount. In this table, each setting is its own row.

We've partnered with Codeable to provide our customers with expert help if required.

We recommend using the WP All Import plugin for important and exporting discounts. This comprehensive plugin lets you import and export any type of data to the WordPress database.

Related Articles

If searching the knowledge base hasn't answered your question, please contact support.