• Resolved shanedel90

    (@shanedel90)


    Hi, I started using the new cart and checkout blocks and the are great, conversions are even slightly up.

    How can I add a message under the Local Pickup shipping method.

    This is the custom CSS I used on the old shortcode checkout page.

    /* Click Collect Instructions */
    #shipping_method_0_local_pickup2:checked + label[for=shipping_method_0_local_pickup2]::after {
        display: block;
    		font-size: 12px;
    	  color: #525252;
        content: "(We will contact you once your order is ready for pickup)";
    }
    
Viewing 1 replies (of 1 total)
  • Plugin Support Adam Heckler

    (@adamkheckler)

    Here’s some CSS that will work for the cart and checkout blocks:

    
    .wc-block-components-shipping-rates-control__package .wc-block-components-panel__content span.wc-block-components-radio-control__label::after {
        content: " — Some new text here!";
    }
    
    fieldset.wc-block-checkout__shipping-option div.wc-block-components-shipping-rates-control span.wc-block-components-radio-control__label::after {
        content: " — Some new text here!";
    }
    

    However, that’s probably a bit “fragile”, meaning if you have other methods besides local pickup, it might append the text to all of them.

    If you need further help with custom code like this, please take a look at our WooCommerce Customizations Page

Viewing 1 replies (of 1 total)

The topic ‘Add message to Local Pickup’ is closed to new replies.