Okay
  Public Ticket #2658221
feature
Closed

Comments

  •  1
    Deshion R Deshields started the conversation

    For tier pricing is it possible to put ".kg, units etc.) behind the unit quantity so users can read it as 100  400units for example?


    I'm ok if this will cost and be a custom project.


    Many Thanks

  •  2,232
    WebWizards replied

    Hi Deshion,

    Thank you for getting in touch,


    Do you mean showing the unit in the Tiered Pricing Table?. For example showing kg like this?

    9327796980.png


    We have a hook in that location. You can add kg like in the above image by simply adding the following code snippet in functions.php

    add_action('b2bking_tiered_table_after_quantity', function(){
                    echo ' kg';
                });
    

    This hook also supports the product id parameter, so you could set it differently for different products.


    Kind Regards,

    Stefan

  •  1
    Deshion R Deshields replied

    Yes perfect that is exactly what I'm looking for. 

    Ultimately I will need vendors (I'll be buying the addon you sell) to be able to select various ie. boxes , units, tons etc etc

    What is the best way to accomplish this? I don't mind paying for the custom job.

    Please let me know thanks. 

  •  2,232
    WebWizards replied

    Hi Deshion,

    If you need vendors to be able to set units and then have those units displayed, it gets more complicated - a custom job might be the best solution. Unfortunately we don't have availability to take on any customization projects - we're struggling with time already so I'm afraid it's really not something we can do.


    -> This plugin is interesting https://wordpress.org/plugins/woocommerce-unit-of-measure/ but it would probably not work for Dokan vendors. I looked up if Dokan have such a feature but I couldn't find any.

    -> For WordPress developers for hire for customizations, we have heard good things about this service: https://codeable.io/


    Kind Regards,

    Stefan

  •  1
    Deshion R Deshields replied

    Thank you, B@B King is awesome, we will just use the info table.


    Great work!


    Thanks so much