Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1012848

    Hi Support,
    please, i need your help once more.
    After the last woocommerce update my shooping cart view lokks like picture one.
    Because my shop is german i need the look of picture 2.
    How can i fix this?
    Thank’s for any help.

    Best regards,
    Markus

    Image sample

    #1013020

    No one can help me?

    #1013481

    Hi,

    Thank you for using Enfold.

    Looks like you managed to change the “SHIPPING” text to “VERSANDKOSTEN”. Is that correct?

    Best regards,
    Ismael

    #1013548

    Hi Ismael,
    i found this code in the web that solve my problem:

    // Hide the name of the shipping method in the shopping cart
     
    add_filter( 'woocommerce_cart_shipping_method_full_label', 'remove_shipping_label', 10, 2 );
     
    function remove_shipping_label($label, $method) {
    $new_label = preg_replace( '/^.+:/', '', $label );
    return $new_label;
    }
    
    add_filter( 'woocommerce_shipping_package_name', 'custom_shipping_package_name' );
    function custom_shipping_package_name( $name ) {
      return 'VERSANDKOSTEN';
    }

    Now it looks like it should :-)

    Best regards,
    Markus

    • This reply was modified 6 years, 3 months ago by LFK.
    #1013605

    Hi Markus,

    Great, glad you found a solution and thanks for sharing :-)

    Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #1013682

    Hi Rikard,
    you can mark this thread as solved.

    Best regards,
    Markus

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘shopping cart view issue’ is closed to new replies.