• Whenever I try to import updates using WP Import All Pro, the role based priced is reset if I don’t specify it in the import options, even if i select “Choose which data to update” and only update “Images” or other options unrelated to “Custom Fields”.

    Steps to reproduce

    1. Import a file with “Enable Role Based Price” = true and the role’s “Regular Price” set to something
    2. Import another file without setting the “Enable Role Based Price” parameter and specify only to update specific data. (For example, only update “Post status” or “Content”)

    The role based price is now reset on all imported rows.

    Update: I looked through the source code of Role-Based-Price’s WPAI integration and noticed that the importer function never calls “can_update_meta”, meaning that it will always update the meta, regardless if it’s specified or not.

    • This topic was modified 7 years, 6 months ago by expressbild. Reason: Additional information
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[WPAI] Role Based Price is reset’ is closed to new replies.