• Resolved coriassphenix

    (@coriassphenix)


    Hi
    There I want variations condition to work for SIZE only.
    I have one color each product.
    I would like the client to be able to pick the size and then click add to card.
    the client does not have to pick the single color.
    either to delete the condition or preselected.

    thank you

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Nico

    (@nicolamustone)

    Automattic Happiness Engineer

    Hello there,
    If you do not want the color to be a selectable option for customers, either remove it as an attribute or do not mark it as used for variations:

    Attributes Tab
    Link to image: https://d.pr/i/L4v9QD

    Thread Starter coriassphenix

    (@coriassphenix)

    I want to do it for all the products. I have over 300 products.
    Doing one by one might takes times.
    Do you know code snippets or plugin that can help resolve the issue. Thank you

    Plugin Support Niall a11n

    (@wpniall)

    Hi @coriassphenix,

    We apologize for taking a while to get back to you. Yeah, I agree, it would take a quite a long time to manually change over 300 products. I see two options here:

    Modifying the variations using a CSV file
    In that case, I recommend exporting your products as a CSV file, editing the file to remove the attribute or used for variations option. After that, you could upload the edited CSV file. I recommend following these instructions that explain how to import/export product using the built-in WooCommerce CSV importer and exporter: https://docs.woocommerce.com/document/product-csv-importer-exporter/

    Possible plugins
    The following plugins should help you bulk edit the products:

    As for any code snippets, I’m not aware of any that might help, but someone else might be able to chime in here.

    Plugin Support Niall a11n

    (@wpniall)

    We haven’t heard back from you for a while, so I’m going to mark this post as resolved. If you have any further questions or need additional help with the WooCommerce plugin, please start a new thread and we’ll be able to help you out there. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘disable/preselect color variations in single product’ is closed to new replies.