Okay
  Public Ticket #2635596
Any questions about settings
Closed

Comments

  • de Selys Camille started the conversation

    Hello,

    I just installed your plugin after to have tested an other wish didn't work. Your plugin works fine, thanks for your job ! Now, I  have a few questions.

    1. in the plugin settings, I created a rule "Minimum quantity" for a product category. But it's possible to add product to the cart even if the quantity is lower. It's only in the cart  that we see a message that the quantity is not sufficient. Is it possible to disable the cart button until the minimum quantity is reached ? i found a page in your documentation to disable the "proceed to checkout" button. But  ir's only the button in the cart, not the button in the product page ? And where to add the javascript snippet ?

    2. I create a rule "Fixed price" for a product category. It's ok if products haven't variations, the good price is displayed for the BtoB customer. But not if products have variations. Is it necessary to add this price in each product and for each variation ? Or perhaps with the price button export ? I downloaded it and see that variations are presents in the csv.

    3. I wish to display a table with range prices by quantity only for BtoB. Is it possible to do that with a rule ? I tried it in a product with variations and it seems to be necessary to add a table for each of them ? Is it an other way to do that if the price of each variation is the same ? All products and their variations have the same price by category. For example, all products of category "t-shirt" have the same price.  And the range prices by quantity are the same. So it should be easier if I can add this table by a rule even if products have variations.

    4. When I tested this table on one product, by adding ranges for each variation, the table is visible only after clicking on a variation. Is it possible to display it directly ?

    Sorry for all these questions. I hope I'm understandable I'm French ;-)


    Thanks a lot !

  •  2,131
    WebWizards replied

    Hi there,

    First, thank you very much for purchasing our plugin.

    And my apologies for the delayed reply. We do not usually work during weekends so this adds to the response time as we were not able to get to the ticket on Friday.


    1. I'm sorry but our plugin can't disable the add to cart button itself. Only the button in the cart can be disabled via snippet. To add the JavaScript snippet safely I would recommend you use this plugin:

    https://wordpress.org/plugins/code-snippets/

    Install the plugin and go to Example JavaScript Snippet:

    8628871075.png

    Then add the snippet here:

    1076887231.png


    2. The fixed price rule should work for your needs.

    I think perhaps you have other rules, for example Discount rules that are in conflict with the fixed price rule.


    You can also use the export + import tool, but fixed price should work as well. 


    If you want, I am happy to take a look and see what the issue is. In that case, please provide me with a temporary login to your staging site so I can check. 


    3. There is no rule for this.

    I think the best way to do this in bulk would be with metadata Import with a plugin such as WP ALL Import.

    To set price for 1 variation for group with id 42, you would set the meta key for that variation:

    b2bking_product_pricetiers_group_4210:99;100:89;200:79;

    This corresponds to the following setup:

    9046895345.png



    4. The table shows directly for simple products. However, for variable products, every variation can have a different table, so the table only shows after you choose the variation. I'm afraid I don't see a way to show it directly.


    Kind Regards,

    Stefan

  •   de Selys Camille replied privately
  •  2,131
    WebWizards replied

    Hello Camille and our apologies for the delayed reply,

    Yes, for 4 you can use the Information table and input pricing data there - that way it would be the same data for all variations.


    Kind Regards,

    Stefan