This topic has 4 replies, 3 voices, and was last updated 7 months, 4 weeks ago ago by Luca Rossi
I need a Code to hide the fixed add to cart button only in the “gift card” product, because when you want to buy the gift card, the button appears and displays the form but when you fill out the form and Pressing “add to cart” indicates an error in the value of the gift card.
Attachment screenshot
Hello, @LVRB Love’s Rebel,
Thank you for contacting us and for using XStore.
We understand that you have been experiencing some issues with a 3rd party plugin that you are using on your website.
YITH WooCommerce Gift Cards add additional content in the sticky cart panel, if you do not want to disable that panel, use the next custom CSS code to disable content from the plugin:
body .etheme-sticky-cart .gift-cards_form {
display: none !important;
}
Thank you for your cooperation and we look forward to hearing from you soon.
Best Regards,
8Themes Team
Can the CSS code remove the additional content in the sticky cart panel but keep the “add to cart” button?
Now the white bar of the fixed menu is visible and the form is hidden, but the add to cart button does not appear in the mobile version.
Hi @LVRB Love’s Rebel,
To avoid conflicts between the Sticky Cart and Gift Card Form, we suggest you to completely hide to sticky cart on gift card product by adding this custom CSS:
body.postid-3592 .etheme-sticky-cart {
display: none !important;
}
Hope it helps!
You must be logged in to reply to this topic.Log in/Sign up