Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Can the Shipping title displayed in the cart be changed?
- This topic has 5 replies, 2 voices, and was last updated 4 years, 11 months ago by Craig.
- AuthorPosts
- January 5, 2020 at 5:48 am #100937CraigParticipant
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. - January 14, 2020 at 3:38 pm #102017SushobhanKeymaster
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
- January 15, 2020 at 3:40 am #102074CraigParticipant
Thank you!!!
I will test this out in the next few days!
- January 17, 2020 at 12:23 pm #102430CraigParticipant
This code worked perfectly!!! thanks for providing this.
- January 17, 2020 at 1:29 pm #102437SushobhanKeymaster
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.
- January 17, 2020 at 1:49 pm #102438CraigParticipant
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 zonesCan you have a look here?
https://wclovers.com/forums/topic/wild-cards-for-postal-codes-shipping-zones/
- AuthorPosts
- You must be logged in to reply to this topic.