You can copy all Pricepep settings and rules to another site (or keep a backup) with WooCommerce > Pricepep > Settings > Import & Export: Export settings downloads a file, Import settings loads one. Importing replaces everything, including all rules. There's no CSV import for rules or prices; see can I import pricing rules from a CSV file?
How do I export Pricepep settings?
- Go to WooCommerce > Pricepep (Pricing & Discounts before 2.5.1) > Settings.
- In Import & Export, next to Export settings, click Click here to export.
- Your browser downloads
rp_wcdpd_settings.jsonwith all settings and rules of the three rule tabs.
How do I import settings on another site?
- Make sure the other site runs Pricepep 2.6 (update first if needed).
- Go to WooCommerce > Pricepep > Settings on that site.
- In Import settings, choose the exported file.
- Click Save Changes.
- Pricepep shows "Settings were successfully imported." A file that isn't a valid Pricepep export shows "Error: Uploaded configuration file is not valid." and nothing changes.
The admin warns: "Warning! Importing settings will irrecoverably overwrite your existing settings, including any pricing rules, discounts and fees." Export the current settings of the target site first if you may want them back.
What should I check after importing?
- Products, categories and customers are stored by ID. Conditions that select products, variations, categories, tags, attributes, coupons, shipping zones or customers point to IDs of the source site. On a copy of the same store (staging to live) they match; on a different store, open the rules and select the items again.
- Custom taxonomy conditions need the same taxonomy enabled in Settings > Enabled custom taxonomy conditions.
- Payment and shipping methods are matched by their IDs on the target site.
- Clear page caches so shop prices update.
Does Pricepep keep backups of my settings?
When Pricepep updates its stored data after a version change, it saves a copy of the settings in an option named rp_wcdpd_settings_backup_ followed by a timestamp. Restoring from it needs database access; for normal use, keep your own exports.
Related: settings reference, how conditions work, how to keep Pricepep up to date.
Frequently asked questions
Does an import add to my existing rules?
No. It replaces all settings and rules on the site.
Why do my imported rules show the wrong products?
Conditions store product, category and customer IDs. On a different store the IDs differ, so select the items again.
Can I import a file from an older version?
Pricepep checks the file before importing and refuses files it can't read. Update both sites to 2.6 and export again for best results.