Home Forums WoodMart support forum Sticky add to cart

Sticky add to cart

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #646380

    spnutratea
    Participant

    Hi Xtemos,

    We use WooCommerce Subscriptions for all products on our product pages.

    Is there a way to exclude WooCommerce Subscriptions from the sticky “Add to Cart” button?

    If you have a code snippet for this, please could you share with me?

    Kind regards,
    SP

    #646388

    spnutratea
    Participant

    I have created attributes in the first example and second link setup with dynamic discounts.

    We want to keep the subscription as default. Links are shared in the private content area.

    #646411

    Luke Nielsen
    Keymaster

    Hello,

    1. Use the code below for help:

    body .wd-sticky-btn .wcsatt-options-wrapper,
    body .wd-sticky-btn .promo-container {
        display: none;
    }
    
    body .wd-sticky-btn .cart {
        max-width: 100% !important;
    }

    2. If we remove the Add to Cart button – https://prnt.sc/X8eoGuE_k-xk, then what is the point of the Sticky Add to Cart functionality?

    Kind Regards

    #646428

    spnutratea
    Participant

    Hi Luke,

    Thank you for sharing the CSS code.

    What I mean is, is there a code snippet that would exclude WooCommerce Subscriptions from sticky add to cart button and only display the Purchase one time option selection for single products?

    Apologies for the miscommunication.

    Kind regards
    SP

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