Hide, add to card, product variants options for visitor [CODE NEEDED]

Solved
Excursionist
21 1 2

help.jpgI dont want the add to card, product variants options to be displayed.

my website: https://schenkmirliebe.de/products/creative-photo-album-handmade-hexagonal-explosion-gift-box-for-fa...

0 Likes
Shopify Partner
100 20 17

Hello @Dr_noknowledge 

I hope you are doing well.

 

Do you want to hide for all? logged in user as well as other?

 

Thanks

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: codecorneres@gmail.com
Skype: code.corners
0 Likes
Excursionist
21 1 2

Hello 

 

0 Likes

Success.

Shopify Partner
100 20 17

Go to edit theme assets> theme.scss at the bottom paste this code: 

.btn.product-form__cart-submit {
    display: none;
}
.selector-wrapper.js.product-form__item {
    display: none;
}
Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: codecorneres@gmail.com
Skype: code.corners
0 Likes
Excursionist
21 1 2

But now disappears the whole "pay with" dynamic button on mobile.

0 Likes
Shopify Partner
100 20 17

I checked your website you need to apply same code like i sended you at the bottom...

 

 

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: codecorneres@gmail.com
Skype: code.corners
0 Likes
Excursionist
21 1 2

help3.jpgall buttons are gonehelp4.jpgthis one should be still there

0 Likes
Shopify Partner
100 20 17

Try This but remove old one 

.btn.product-form__cart-submit.btn--secondary-accent {
    display: none;
}
Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: codecorneres@gmail.com
Skype: code.corners
0 Likes
Excursionist
21 1 2

help5.jpgthats not working :(

0 Likes

Success.

Shopify Partner
100 20 17

okay also add this please:

.single-option-selector {
    display: none;
}
Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: codecorneres@gmail.com
Skype: code.corners
0 Likes