Small issue at shopping cart page

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
    • #95945
      id.manage
      Participant

      Hi guys,

      please see the picture enclosed, how can I get rid of the ‘8’ underneath the word ‘shopping’? I don’t remember I had this before.

      https://www.evernote.com/l/Aglelrhsd4FEfI0mK4yqIuBpy1qBjFOBrr0B/image.png

      Thank you.

    • #96034
      id.manage
      Participant

      Just some update about this issue. If store shipping is disabled, the number 8 disappears. But if I enable store shipping, the number shows up again. Please can you fix this? Thank you.

    • #96411
      WCFM Forum
      Member

      HI,

      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

    • #96611
      id.manage
      Participant

      Thanks, it worked. Now it shows the vendor’s name. What if I don’t want to show anything? Only shipping for instance ?

    • #96730
      WCFM Forum
      Member

      Then use this revised code –

      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 = __('Shipping', 'wc-multivendor-marketplace' );
      	}
      	return $package_name;
      }, 100, 3 );

      Thank You

    • #96757
      id.manage
      Participant

      It works very well, thanks 🙂

Viewing 5 reply threads
  • The topic ‘Small issue at shopping cart page’ is closed to new replies.