Home Forums WoodMart support forum Carriers logo next to shipping method

Carriers logo next to shipping method

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #273035

    geoguyo
    Participant

    Hi,

    I would like to add the carriers logo next to my shipping method, (see screenshot below). I’ve included this code in my child theme but somehow it doesn’t work.

    add_filter( ‘woocommerce_cart_shipping_method_full_label’, ‘filter_woocommerce_cart_shipping_method_full_label’, 10, 2 );

    function filter_woocommerce_cart_shipping_method_full_label( $label, $method ) {
    // Targeting shipping method “Regular | Trackable (5 – 10 Business days)”
    if( $method->id === “Regular | Trackable (5 – 10 Business days)” ) {
    $label .= ‘‘;

    }

    return $label;
    }

    Do you have any advice?

    Regards

    Attachments:
    You must be logged in to view attached files.
    #273082

    Hello,

    Sorry but we could not help you with this as you are using a third party code to add it.

    It requires customizations and this is beyond our limitations and support policy.

    Best Regards

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