• Resolved gcweb

    (@gcweb)


    Hi,

    I’m trying to do a bulk upload of prices using the WP All Import plugin, however, I can’t locate the newly created B2B Groups pricing within the Import plugin. I’m wondering if you have seen this before and if there is a way to map the CSV file prices with your plugin?

    I’ve tried to adding a custom import field to the field name/id of the one used in the product, eg. b2bking_regular_product_price_group_9349, but that doesn’t get picked up.

    I have hundreds of products and would like to see if there would be a way to do this via the CSV import.

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author WebWizards

    (@webwizardsdev)

    Hi there,

    Thanks for using our plugin.

    I understand you’re using the Core plugin but not the Pro one, correct? (if you also use Pro, please note there are multiple import options https://woocommerce-b2b-plugin.com/docs/how-to-bulk-import-export-product-prices/ )

    If you use Core, then WP ALL Import should be a good option. It should be as simple as setting the meta key “b2bking_regular_product_price_group_9349” for a product to the price value. This is product meta data (in the wp_postmeta) table. There is no cache or anything else involved.

    If that hasn’t worked, perhaps the import didn’t work correctly and the meta key was not set correctly. For that, I cannot give much advice as I do not have a lot of experience with WP ALL Import myself – it may be best to ask their team about why the metadata would not be imported.

    Let me show a quick example on my test site:

    -> I want to set up this price here: https://prnt.sc/i78hLVkitx04

    -> In the database (wp_postmeta), I set the value to 50: https://prnt.sc/hyJ0mD6KWyRl

    -> I refresh the page and the value is now set: https://prnt.sc/mtZASEvHhwAk

    Thread Starter gcweb

    (@gcweb)

    Hi,

    Thanks for the reply!

    Yes, I’m only using the Core plugin. It was very odd that the custom fields meta for B2B wasn’t displaying for WP ALL Import. However, I have just been playing around with the User Roles etc from your documentation https://woocommerce-b2b-plugin.com/docs/how-to-use-wp-roles-with-b2bking/ and as soon as I added the following code snippet to my Functions file ‘add_filter(‘b2bking_use_wp_roles’,’__return_true’);’. I can now see all the meta options within WP ALL Import for B2B, including the new price values, eg. b2bking_regular_product_price_group_9349.

    I haven’t done an import just as yet, but I think it should all work as intended.

    Thanks again for the reply.

    Great plugin BTW!

    Plugin Author WebWizards

    (@webwizardsdev)

    Perhaps the problem was that it was needed to save a few products first, so that the keys are added to the products (before a product is saved, those prices keys would not yet exist in the database).

    Anyway, glad to hear that seems to work now.

    If I can help with anything, let me know!

    • This reply was modified 2 years, 5 months ago by WebWizards.
    Thread Starter gcweb

    (@gcweb)

    You were right! It did need to have some product data entered, and saved to display the B2B values via WPI. However, I’ve tried an import and it doesn’t seem to work. I’ll have to reach out to WPI support to see what could be going wrong.

    Thread Starter gcweb

    (@gcweb)

    So simple. The CSV file had a dollar symbol ($) in front of the price and that stopped the prices from being imported into the B2Bking fields.

    All sorted now 🙂

    Plugin Author WebWizards

    (@webwizardsdev)

    Glad to hear you sorted that and thanks for the update : )

    Have a great week ahead,

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

The topic ‘WP All IMPORT’ is closed to new replies.