Tagged: add to cart
-
AuthorPosts
-
April 23, 2016 at 3:49 am #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!
April 23, 2016 at 3:52 am #620340Sorry for posting link to localhost. Here is production link.
April 23, 2016 at 9:16 am #620425Hey!
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,
BasilisApril 23, 2016 at 7:40 pm #620593Hey!
Maybe my explanation was not clear enough – what are you describing is exactly my problem, button IS visible even before user pick attributes.
Button should be hidden at first and visible only after user pick desired size from “Choose an option” dropdown menu.
Thanks,
MarkoApril 26, 2016 at 2:27 pm #622153Hey!
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!
AndyMay 4, 2016 at 12:57 pm #627165Hey,
sorry we moved page to a production. Sending new link.
Regards,
MarkoMay 7, 2016 at 3:58 am #628528Hi,
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,
IsmaelMay 12, 2016 at 3:20 am #631082Hi, 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,
MarkoMay 12, 2016 at 10:42 pm #631655Hi,
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,
YigitMay 15, 2016 at 12:06 pm #632496It works, thanks!
May 17, 2016 at 4:35 am #633440 -
AuthorPosts
- You must be logged in to reply to this topic.