Title: Disable suffix
Last modified: January 20, 2020

---

# Disable suffix

 *  Resolved [NoemiNL](https://wordpress.org/support/users/noeminl/)
 * (@noeminl)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/disable-suffix/)
 * Our client does not want to show a Shipping Method Name to his customers, we 
   have placed a space instead of a name, but it still shows the suffix “:”.
    Is
   there an easy way to disable this?

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Dotstore](https://wordpress.org/support/users/dots/)
 * (@dots)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/disable-suffix/#post-12347165)
 * Hello [@noeminl](https://wordpress.org/support/users/noeminl/),
 * Thanks for reaching out to us.
 * If you want to hide label for all the shipping then, you can use below filter
   which removes all the text before “:” and I think your query gets resolved.
 * Please add the below code in your themes functions.php file.
 *     ```
       function ace_hide_shipping_title( $label ) {
       	$pos = strpos( $label, ': ' );
       	return substr( $label, ++$pos );
       }
       add_filter( 'woocommerce_cart_shipping_method_full_label', 'ace_hide_shipping_title' );
       ```
   
 * Let me know after adding the above code how it works.
 * Thanks,
 *  Plugin Author [Dotstore](https://wordpress.org/support/users/dots/)
 * (@dots)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/disable-suffix/#post-12367647)
 * Hello [@noeminl](https://wordpress.org/support/users/noeminl/),
 * I hope you are doing well and your query get resolved by our last email solution.
 * Let us know still you have any queries on this we are happy to help.
 * Your response is almost important for us to provide better support to our users
   like you.
 * Thanks,
 *  Thread Starter [NoemiNL](https://wordpress.org/support/users/noeminl/)
 * (@noeminl)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/disable-suffix/#post-12369441)
 * [@dots](https://wordpress.org/support/users/dots/) Thanks for the quick response
   and snippet!
    I didn’t get an update mail, so sorry for my delay in response.
   🙂
 * This indeed was the solution.
 * Got another strange thing, in the mails customers see: Shipping: € 5,95 via
    
   No idea where the “via” get’s inserted, can’t find it anywhere in settings/database.
   When I look at the code of the mail it looks like it’s placed by Advanced Flat
   Rate Shipping Method WooCommerce:
 *     ```
       <tr>
       <td colspan="2" style="border: solid rgb(228,228,228) 1.0pt;padding: 9.0pt 9.0pt 9.0pt 9.0pt;">
       <p class="MsoNormal"><b><span style="font-family: Helvetica, sans-serif;color: rgb(115,117,119);">Shipping:</span></b></p>
       </td>
       <td style="border: solid rgb(228,228,228) 1.0pt;padding: 9.0pt 9.0pt 9.0pt 9.0pt;">
       <p class="MsoNormal"><span class="x_-715286414woocommerce-price-currencysymbol"><span style="font-family: Helvetica, sans-serif;color: rgb(115,117,119);">€</span></span><span class="x_-715286414woocommerce-price-amount"><span style="font-family: Helvetica, sans-serif;color: rgb(115,117,119);">&nbsp;5,95</span></span><span style="font-family: Helvetica, sans-serif;color: rgb(115,117,119);">&nbsp;</span><span style="font-size: 7.5pt;font-family: Helvetica, sans-serif;color: rgb(115,117,119);">via
        &nbsp;</span><span style="font-family: Helvetica, sans-serif;color: rgb(115,117,119);"> </span></p>
       </td>
       </tr>
       ```
   
 *  Plugin Author [Dotstore](https://wordpress.org/support/users/dots/)
 * (@dots)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/disable-suffix/#post-12376583)
 * Hello [@noeminl](https://wordpress.org/support/users/noeminl/),
 * Thanks for your reply and we are happy to help that give a solution is works 
   for you. 🙂
 * Related to the ‘via’ text it is coming from the default woocommerce flow.
 * [Click here](https://ibb.co/gMZ4zcr) to review the screenshot for how it will
   display with the default shipping method as well.
 * You can try deactivating the our plugin it will always display the “via” text.
 * I hope this helps. Let me know still if any.
 * Thanks,
 *  Plugin Author [Dotstore](https://wordpress.org/support/users/dots/)
 * (@dots)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/disable-suffix/#post-12420494)
 * Hello noeminl,
 * I hope you are doing well.
 * We haven’t heard back from you in a while, so I’m going to mark this as resolved–
   if you have any further questions, you can start a new thread.
 * Thanks,

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Disable suffix’ is closed to new replies.

 * ![](https://ps.w.org/woo-extra-flat-rate/assets/icon-256x256.png?rev=3011378)
 * [Flat Rate Shipping Method for WooCommerce](https://wordpress.org/plugins/woo-extra-flat-rate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-extra-flat-rate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-extra-flat-rate/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-extra-flat-rate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-extra-flat-rate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-extra-flat-rate/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Dotstore](https://wordpress.org/support/users/dots/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/disable-suffix/#post-12420494)
 * Status: resolved