WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Weight of liquids e.g. litres (l), milliltres (ml) (5 posts)

  1. davemgraham
    Member
    Posted 1 year ago #

    The weight options for products in woocommerce are

    kg,
    g,
    lbs,
    oz

    Is it possible to configure the volume of liquids e.g. litres (l) or millilitres (ml) ?

    Thanks

    http://wordpress.org/extend/plugins/woocommerce/

  2. Coen Jacobs
    Member
    Plugin Author

    Posted 1 year ago #

    It is possible to add custom weight options, but I don't think that it makes a lot sense. The weight and dimension values are mainly used for shipping calculation (except from showing it on frontend). Shipping calculation is impossible for an option like litres or millilitres, since the total weight can differ between fluids.

    Say I sell raw oil, that is probably heavier per litre compared to plain water.

  3. davemgraham
    Member
    Posted 1 year ago #

    Thanks Cohen,

    My client is selling beauty products that for example come in 150ml bottles. I'm looking at the best way for the size (150ml) to be displayed.

  4. Coen Jacobs
    Member
    Plugin Author

    Posted 1 year ago #

    I would do it via an attribute (just add a custom one), so it will be shown in the additional information tab along with the default fields like weight and size.

    If you need anything beyond what you can do with attributes, I'm afraid you are looking at custom work. You can add a custom field in the same meta box, where you can fill in the contents of the bottle and have it stored in postmeta. That way you can output it virtually everywhere on the product page.

    But as I said, attributes are probably your best bet in this case.

  5. davemgraham
    Member
    Posted 1 year ago #

    I've added a custom attribute.

    Thanks Coen

    :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic