Can the Shipping title displayed in the cart be changed?

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 5 reply threads
  • Author
    Posts
    • #100937
      Craig
      Participant

      Can the Shipping title displayed in the cart be changed so that it displays the Store name?

      Right now all I see are titles like “Shipping 89” and “Shipping 45” which is not helpful for the customer. is there away to make this display in the cart reflect the Shop Name that they are getting the shipping information from?

      See attached screenshot

      Thanks

      Attachments:
      You must be logged in to view attached files.
    • #102017
      Sushobhan
      Keymaster

      Please add this code to your site –

      add_filter('woocommerce_shipping_package_name', function( $package_name, $vendor_id, $package) {
         global $WCFM, $WCFMmp;
         if( $vendor_id ) {
           $Store_name   = $WCFM->wcfm_vendor_support->wcfm_get_vendor_store_name_by_vendor( $vendor_id );
           $package_name =  $Store_name . ' ' . __('Shipping', 'wc-multivendor-marketplace' );
         }
         return $package_name;
      }, 100, 3 );

      Add this code to your child theme’s functions.php
      In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/

      Thank You

    • #102074
      Craig
      Participant

      Thank you!!!

      I will test this out in the next few days!

    • #102430
      Craig
      Participant

      This code worked perfectly!!! thanks for providing this.

    • #102437
      Sushobhan
      Keymaster

      You are always welcome 🙂 Let me know if there’s anything else we can help you with.

      Can we ask for a favor? Would you mind taking a few minutes to review our plugin at https://wordpress.org/support/plugin/wc-multivendor-marketplace/reviews/ and let others know about your 5 Star experience with WCFM Marketplace. Also, follow us on Twitter https://twitter.com/wcfmmp for more exciting news, important updates, and irresistible offers.

    • #102438
      Craig
      Participant

      awesome thanks!
      I have one other thread started regarding shipping setting that I have not been able to resolve after much testing.

      Postal Code wildcards
      and
      Shipping zones

      Can you have a look here?
      https://wclovers.com/forums/topic/wild-cards-for-postal-codes-shipping-zones/

Viewing 5 reply threads
  • You must be logged in to reply to this topic.