• Resolved Tigerbite

    (@tigerbite)


    For example, I have t-shirts that come in different colors based on if it’s in women’s or men’s style.

    So I want to remove the “Choose an option” text from the variable drop down box so it has to be on Men’s or Women’s.

    Otherwise, all the colors show up, then the customer might try to change the style but wont be able to (until they change the color to choose an option) which can be a big mess and confusing to the normal stopper by.

    So, any ideas on how to get rid of this option so choose a style has to be set?

    Thanks!

    https://www.ads-software.com/plugins/woocommerce/

Viewing 6 replies - 16 through 21 (of 21 total)
  • worldsdream

    (@worldsdream)

    @mensmaximus

    thank you very much. that worked like a treat. you’re my hero!
    I wish that WC adds such option to the default.

    kunsoren

    (@kunsoren)

    @mensmaximus
    Can you explain how/where to add these codes?

    daverussia

    (@daverussia)

    @kunsoren

    Put this code to the end of your theme functions.php file.

    Hello,

    I would like to do the same, but unfortunately the code doesn’t work for me.

    Can you please help?

    website it’s https://www.sigmafashion.ro

    On the normal product I don’t have any description under the Category Catalog, but when I add variable products, they show me some text with variations that I really want to get rid of,

    I added 1 variable product to my website in case you want to take a look.

    Regards,

    Hi all.
    I have the same problem of Tigerbite, and the solution of mensmaximus doesn’t fit 100%. In fact with mensmaximus’s code the shop shows only one combination of attribute1+attribute2 and I can’t choose a different value for attribute1 (attribute2 I want that depends by attribute1). Any ideas?

    ps I would like the same result this site: https://6dollarshirts.com/t-shirts/Nerd-Cat–p-11484.html
    (How you can change the style no matter what the color is on, but only certain colors appear for the style.)

    Thank you ??

    i have rather simple css workaround i use

    in my case select has id pa_adhesive_tape

    so i just made 1st child there not display with css

    select#pa_adhesive_tape option:first-child{display: none;}

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Is there a way to remove "Choose an option" on variable products?’ is closed to new replies.