Tagged: 

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #620339

    Hi, can you please help me with the explanation why my add to cart buttons are not hidden by default (before selecting product attributes – color, size).

    I would like buttons to behave like here:

    But my buttons are shown even before choice.

    Thanks!

    #620340

    Sorry for posting link to localhost. Here is production link.

    #620425

    Hey!

    That does not have a logic.
    If a user does not pick attribute, how the buttons will be visible? What he will add to cart?
    If you want to switch, you have to add an attribute to be first on the dropdown, instead of the ” Select Color ” etc.
    Switch to that and then the buttons will be visible.

    Regards,
    Basilis

    #620593

    Hey!

    Maybe my explanation was not clear enough – what are you describing is exactly my problem, button IS visible even before user pick attributes.
    add to cart button

    Button should be hidden at first and visible only after user pick desired size from “Choose an option” dropdown menu.

    Thanks,
    Marko

    #622153

    Hey!

    link you have provided does not work for me and screenshot neither. Please use a service link imgur.com or dropbox to provide us screenshot links and send us a precise link where we can see and inspect the issue.

    Cheers!
    Andy

    #627165

    Hey,

    sorry we moved page to a production. Sending new link.

    Regards,
    Marko

    #628528

    Hi,

    I’m not sure why it’s not working but try to update the theme to the latest version, 3.5.4. The update might not really help but we included a bug fix in the latest version. Did you set a default attribute in Variation > Default Form Values settings?

    Best regards,
    Ismael

    #631082

    Hi, theme is now updated. We did not set default attribte, we would like that customer select color and size and after that button should be shown.

    Any further idea?

    Regards,
    Marko

    #631655

    Hi,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    
    button.single_add_to_cart_button[disabled="disabled"] {
        display: none!important;
    }
    

    Best regards,
    Yigit

    #632496

    It works, thanks!

    #633440

    Hi,

    Great, glad we could help :-)

    Thanks,
    Rikard

Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.