Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Shaun Kuschel a11n

    (@shaunkuschel)

    Automattic Happiness Engineer

    Hey @waseemsannib!

    To clarify, do you want to remove the “Frame/Roll” and “Frame Canvas” attributes from all variation options on that product? Or just certain ones? Using your screenshot examples, are there certain “Material” and “Size” options that you do want “Frame/Roll” and “Frame Canvas” to be available for? Or should those options just be totally removed from that product?

    Thread Starter marseem

    (@waseemsannib)

    Thank you for the reply,
    I don’t want to remove all attributes from all product, I need to hide the attribute on each product which doesn’t contain a filled attribute.
    I try to clarify more, as the 20×20 cm and material acrylic has not frame/roll and frame canvas so I don’t want to display this attribute and once the size contain frame and roll it display again.
    So I need to display the attribute which linked with he product details rather than I don’t want to show them, in the other hand attribute must display according to the product variations only which has variation then display attribute if not doesn’t show.
    I hope you get my point ??

    Unfortunatly with the standard variations you can’t do conditional logic like that!

    I use a plugin to do somehtin similar: https://codecanyon.net/item/woocommerce-extra-product-options/7908619

    An example with conditional logic: https://epo.themecomplete.com/product/conditional-logic-test-2/

    The only problem with this is that it doesn;t use variations so you can’y do stock with it.

    Plugin Support Shaun Kuschel a11n

    (@shaunkuschel)

    Automattic Happiness Engineer

    Hey @waseemsannib – If @seank123’s answer isn’t a possibility for you, another option would be to add an additional value to those 2 attributes- like “None” or “N/A”, and then only create variations for those combinations (instead of using the ‘Any’ attribute option), like I did in this example.

    Thread Starter marseem

    (@waseemsannib)

    But this is not what I need!

    Plugin Support Shaun Kuschel a11n

    (@shaunkuschel)

    Automattic Happiness Engineer

    Hey @waseemsannib, sorry that didn’t help. ??

    With the default functionality of Variable products, you can’t get that kind of conditional logic without custom coding or a plugin (like mentioned previously), but there is a suggestion to add this on the Ideas Board that you can vote on.

    Depending on what you want the customer’s experience to be like when making selections, it might be worth also taking a look at the Composite Products extension, as it allows for conditional logic like you need.

    Plugin Support Shaun Kuschel a11n

    (@shaunkuschel)

    Automattic Happiness Engineer

    I’m going to mark this thread as resolved, but if you have any other questions, feel free to create a new thread. Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Hide certain variation on a product.’ is closed to new replies.