• Resolved Redda_Joppe

    (@redda_joppe)


    Whatever I enter in the weight and dimensions fields for product variations doesn’t display on frontend unless weight and dimension are also set for the parent product.
    This makes absolutely no sense as a parent product shouldn’t have weight or dimensions – it’s not a product you can buy, but merely a container for product variations whih may very well have different weights and dimensions.

    If I do enter weight and dimensions for the parent product, those values are displayed on frontend when ‘select an option’ is selected from the dropdown menu, which is not what is supposed to happen.

    This should be fixed so that product variations weight and dimensions are displayed regardless if the parent product has weight and dimensions set.

    https://wordpress.org/plugins/woocommerce/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    **something** needs to be displayed in order to replace it after variation selection. What would you suggest?

    Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    If I do enter weight and dimensions for the parent product, those values are displayed on frontend when ‘select an option’ is selected from the dropdown menu, which is not what is supposed to happen.

    Actually that is what is supposed to happen, just not what you want to happen 🙂

    Thread Starter Redda_Joppe

    (@redda_joppe)

    That is what’s supposed to happen?? Why?
    Why would you want parent products to have weight and dimensions? Is that meaningful or useful for anything?

    I would suggest that nothing is displayed for weight and dimensions until a variation is selected. That appears logical to me. Why does ‘something’ need to be displayed?
    The only other meaningful option I can think of would be to display a range of weight and dimensions – for instance if there are 3 variations with the weights 2 kg, 5 kg and 10 kg the parent product could say: weight 2-10 kg.

    Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    > Why would you want parent products to have weight and dimensions? Is that meaningful or useful for anything?

    It can be used as default. There is no downside to adding these values.

    > I would suggest that nothing is displayed for weight and dimensions until a variation is selected. That appears logical to me. Why does ‘something’ need to be displayed?

    Because the script replaces the weight and dimension values. What you’re proposing would mean that it needs to take care of the markup for the entire row, which leads to difficulty with themes.

    Thread Starter Redda_Joppe

    (@redda_joppe)

    It can be used as default. There is no downside to adding these values.

    Well, yes there is. The downside is that they appear on frontend when no variation is selected which is kind of confusing.

    Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    Feel free to send a PR if you do it before we do – logged https://github.com/woothemes/woocommerce/issues/10621

    How is this a resolved topic? Can’t see any resolvement here 🙂

    Seriously, how did you resolve this?

    Cheers

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Product variations weight and dimensions not displaying’ is closed to new replies.