Okay
  Public Ticket #2849239
custom meta keys for multistore
Closed

Comments

  •  18
    John Raslavsky started the conversation

    Hi there, I'm using B2B King for a dealership site which has products fed from a main retail site using Woocommerce Multistore (note: it's a multistore set up, not a multisite.) The Dealership site is a child site of the Retail store.

    I have 3 or 4 groups who will all have different prices, offers etc. Discounts will not be set by a rule but will be set per individual product on the parent site - essential to the client that they can do everything on the parent site.

    So far I have figured out I'm going to need B2B King installed on both sites, set up equivalent groups and the products are feeding fine.

    But I need custom meta keys in order to bring over the price settings for the group prices.

    See screenshots for the fields on the product and also the setting requiring the custom meta keys on Woocommerce Multistore.

    Can you tell me please, how do I find these meta keys? 

  •  2,216
    WebWizards replied

    Hi there,

    Thank you for purchasing our plugin!


    The metadata for group prices can be found here: https://woocommerce-b2b-plugin.com/docs/release-1-8-0-price-lists-csv-import-export-pricing-in-the-product-page/


    If you also need to use tiered pricing, you can find the metadata for that here in Chapter 3: https://woocommerce-b2b-plugin.com/docs/b2bking-tiered-pricing-setup-auto-generated-tiered-pricing-table/


    For group prices let me give you a few examples:

    For a group the meta keys are:

    b2bking_regular_product_price_group_GROUPID
    b2bking_sale_product_price_group_GROUPID  

    In the above, you need to replace GROUPID with the ID of the group. To get that ID, simply click on the group in the backend in B2BKing -> Groups, and the number in the URL is the ID (if you see wp-admin/post.php?post=8148&action=edit, the group ID is 8148).

    Following the above example, the meta keys would be:

    b2bking_regular_product_price_group_8148
    b2bking_sale_product_price_group_8148


    Let me know if you can get that to work and if I can help with anything,

    Kind regards,

    Stefan

  •  18
    John Raslavsky replied

    Thank you so much for replying on a Sunday. That's what I thought  it was so that's great. I'm trying it out. I'll get back to you if I'm not successful.