Okay
  Public Ticket #2586391
Rules and groups
Closed

Comments

  • Mauro Yabo started the conversation

    Good day.
    I am doing an ecommerce for a client.
    I need to have 3 groups of clients: 1. Wholesalers 2. Distributors 3. Visitors.
    Each of them will be shown a table of prices by quantity intervals. The idea is for each person to register and see the corresponding price table. I tried to do it with the demo of b2b king but couldn't.
  •  1,904
    WebWizards replied

    Hi Mauro,

    What you described is possible, each different group of clients, can have its own price tiers table for each product, and even each variation (in case of variable products).


    To do that:


    1) Enable the price tiers table for the particular product by ticking off this checkbox:

    9467752195.png


    2) For each group, simply enter different price tiers.

    For example, in the image below, you can fill in different data for Factories, and different data for VIP users.

    1060241245.png


    Save the product and that's it.



    Specific example in the demo:

    I configure a product like this in the product page:

    8843901634.png


    I move my user to the Factories group in the profile page:

    8685243401.png

    I refresh the page, I see this:

    3770403613.png

    I move my user again, now to the VIP group:

    I refresh the page and the user sees a different price table:

    6713342665.png


    I add 10 items to cart, the price changes from 199 to $77 (according to the price table).

    8135378429.png


    Let me know if I can help further,

    Kind Regard


  • Mauro Yabo replied

    Sorry for the inconvenience. I'm trying to create a variable product but it won't let me add a price table, just an information table. I need to create a product that is a Button, with 2 variables: size and color. And that a price table is displayed according to the chosen quantity.
  •  1,904
    WebWizards replied

    Hi Mauro,


    The price table is generated automatically by B2BKing if this checkbox is checked (not entered manually)!9467752195.png


    To get the price table you need to :

    1. Check the checkbox

    2. Add the prices in price tiers in the product page:

    8843901634.png



    I made a video for a Variable BUTTON product with 2 attributes: SIZE and COLOR. 

    Please see my video:


  • Mauro Yabo replied

    Sorry to bother you so much. I created a variable product but can't get it right. I fill in the price tables of the 3 groups that I created but I can't see it well on the front-end. After this, what do I have to do? I need to simulate the entry of 3 different clients (wholesaler, distributor and visitor) and show them different prices. What should I do? Do I have to create roles? could you guide me? Sorry for the trouble but I need to deliver the full demo to my client. If you accept I buy the plugin immediately. I need to simulate the complete purchase process, from when you enter the web until you register and see the corresponding price.
    Thank you so much for everything
  •  1,904
    WebWizards replied

    Hi Mauro,

    In every user's profile page, you can choose what group they are in.

    7291589914.png


    So just go in the user page, move the user to "Distribuidores", and refresh the product page, you will see a differentprice/ different price table

    After, go in the user page, change group again to "Mayoristas", and refresh page again.

    etc.


    All you need to do is change the user group in the profile page. 

  •  1,904
    WebWizards replied

    Registration Roles are only when you configure registration. You do not need them at this point I believe

  • Mauro Yabo replied

    Good day. Sorry for the inconvenience. I recorded a video showing what I am doing. I need to create the users to test? am i doing okay?
    Another query: can you copy the price tables for all variations? It is very tedious to load the tables of "Normal", "Distributors" and "Wholesalers" in each variation. Could you simulate how a user registers as a Distributor or Wholesaler, enters and sees the prices? And how do I see the registration request?
    This is a video  https://www.loom.com/share/5e979c0d4240464c87161f93c62b4061
  •  1,904
    WebWizards replied

    Hi,

    I saw your video.

    Everything seems ok.

    Our demo site does not allow you to create users for security reasons (we have disabled that function). But for testing how this looks for different users, you can go to the demo user's profile page and change group. 

    7291589914.png


    Also, in the demo, you will need to enable visibility for the new product 

    2225677029.png



    Another query: can you copy the price tables for all variations? It is very tedious to load the tables of "Normal", "Distributors" and "Wholesalers" in each variation. 

    You can set the table via Code if you want, by setting the meta-key for the table in the database. The database looks like this: (quantity:price;quantity:price etc)

    9520958044.png

    Could you simulate how a user registers as a Distributor or Wholesaler, enters and sees the prices? And how do I see the registration request?


    You can set registration roles and fields and simulate in the demo, yes.

    To see the registration request, go to Users and you will see some users are "Waiting for Approval"

    9730153482.png


    If you click the user, registration request is here, and user can be approved or rejected:

    2598495139.png


    Please see our Docs for more details on how the registration can be set up:

    https://woocommerce-b2b-plugin.com/docs/extended-registration-and-custom-fields/

    We also have a lot of articles here:

    https://woocommerce-b2b-plugin.com/docs


    Kind Regards,

    Stefan

  • Mauro Yabo replied

    than for all!! :-)

    i Understand, how i do this 

    "You can set the table via Code if you want, by setting the meta-key for the table in the database. The database looks like this: (quantity:price;quantity:price etc)"

    I hace 9 variants for each product. 

  •  1,904
    WebWizards replied

    For each variation id you would have to set the following data in the wp_postmeta table 

    _b2c is the regular price tiers table

    _14, _42 _etc is the price table for each group ID

    ZLHZkOJ.png

    in the image above, 68 is the variation or product id.


    You can set it with a plugin such as WP ALL Import, or via SQL or PHP. I am sorry though, it is an advanced topic and it would be a little different for each website, so we can't provide much guidance for this. Using WP ALL Import may be the easiest solution.

  • Mauro Yabo replied

    I can not believe it! I was waiting for your reply to buy the product. and now it goes up to $ 150! What a pity.

  •   WebWizards replied privately