Support » Plugin: Role Based Price For WooCommerce » import with standard wc importer

  • Hello, is it possibile to import prices with the standar import function of woocommerce?

    I import All my products with every field, with “main” price and 3 Role based prices. But I find in every product that the _enable_role_based_price switch is turned off.

    I create in my csv file a column “Meta: _enable_role_based_price” with every line set to 1, WC importer propose me that column “map as meta” (in Italian) but it remains switchet to off, and in database I see it is empty.

    I fix it running in mySql :

    UPDATE wp_postmeta SET meta_value = '1' where meta_key = '_enable_role_based_price'

    So all products has that switch set to on, and my customers see the RBP’s

    Am I doing something wrong? Is it possibile to import that field without special plugins?

Viewing 1 replies (of 1 total)
  • tarynwalter


    Hi @ziomimmo. I also had this issue and this is the reply I got from the author:

    While importing the prices enter yes / active any 1 value in the enable role based price field

    So all I do in my CSV file is add an extra column which I call StockStatus and put the entry as yes for each line I want to import.

    When I choose to Import, I map that field to Price Status under the WC Role Based Price section in the drop-down list and it turns on the Role-Based prices.

    Good luck.

Viewing 1 replies (of 1 total)
  • The topic ‘import with standard wc importer’ is closed to new replies.