Public Ticket #3511976

B2C

Closed
Comments
53 Tickets 14
mariateresa started the conversation 3 years ago on October 31, 2023 at 2:56pm

Hello,

I would like to import price of B2C with wp all import.

In the past the mex of your collegue was this:

"Hi Mariateresa!

Thank you for purchasing our plugin,

First of all, I would like to let you know that B2BKing also has its own built-in import solutions. There is a price import tool and also an integration with WooCommerce's own import tool. These are described here in more detail: https://b2bkingplugin.com/docs/how-to-bulk-import-export-product-prices/

Regarding importing those with WP All Import, here are the meta keys used by our plugin to set group prices:

- b2bking_regular_product_price_group_GROUPID

- b2bking_sale_product_price_group_GROUPID  

Replace "GROUPID" with the ID of the group you are setting prices for.

Example:

If you set the meta b2bking_regular_product_price_group_222 = 199 for a product, this means that B2B users in the group with ID 222 will see the product's price as $199.

To get a group's ID, simply edit the group in the backend (via b2bking->groups) and the number in the URL such as ?post=123 is the ID of that group.

With WP ALL Import, I think you may need to import the custom fields as per this documentation:

- https://www.wpallimport.com/documentation/theme-plugin-fields/

However, it would be best to ask their support team directly, I do not have a lot of experience using their product.

Kind regards,

Stefan"

For b2b is ok. But in wich way I can import B2c?

Thank you 

2,762
KingsPlugins replied 3 years ago on November 3, 2023 at 2:04pm

Hi there,

B2C prices are standard WooCommerce prices, so B2BKing is not involved in modifying them.


The meta keys for B2C prices in WooCommerce are:

"_regular_price"

"_sale_price"


Let me know if you need any further assistance with this,


Kind regards,

Stefan

2,762
KingsPlugins replied 3 years ago on November 6, 2023 at 10:15am

Hi,

It is possible to go to B2BKing -> Settings -> Other -> and enable Show B2C price to B2B users.

image-1024x263.png

Then the plugin will show prices like this on the product page, showing both B2C and B2B:

image-1-1024x416.png

Kind regards,

Stefan

Sign In