Add Free Shipping Threshold to Header

Hi Dev

I want to add a message to the top bar of each page (through admin > theme settings) that will dynamically change based on cart subtotal.

Something like this:


add_action( 'woocommerce_before_cart', 'bbloomer_free_shipping_cart_notice' );

function bbloomer_free_shipping_cart_notice() {

$threshold = 80;

$current = WC()->cart->get_subtotal();

if ( $current < $threshold ) {

wc_print_notice( 'Get free shipping if you order ' . wc_price( $threshold - $current ) . ' more!', 'notice' );


} ?>

but when I add this code in admin > theme settings > header it just shows code

Taidot: CSS, HTML, PHP, WooCommerce, WordPress

Näytä lisää: does free shipping increase sales ebay, free shipping statistics, free shipping bar woocommerce, free shipping conversion rate, free shipping banner, free shipping threshold calculator, oscommerce free shipping item, oscommerce free shipping united states, oscommerce fix free shipping, oscommerce free shipping selected products, add free url list, volusion free shipping gift certificates, free shipping graphics websites, osc free shipping zone, add free article home improvement, oscommerce free shipping icon product info, add free article shopping, add free article fashion, virtuemart free shipping, add free webmaster messenger script

Tietoa työnantajasta:
( 29 arvostelua ) two, Australia

Projektin tunnus: #20049708

26 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


Hi there. I'm Alex. I can help you with this and I'm ready to start anytime. Please don't hesitate to check my feedback page and see what other clients are writing about me. Thank you. Cheers. Alex

$30 AUD 1 päivässä
(225 arvostelua)

Hello, I can modify your code to show the Free Shipping in Header. Could we discuss further in private conversation? Thanks and regards, Ha Nguyen

$30 AUD 1 päivässä
(261 arvostelua)

Hi I checked the code and i can add this in [login to view URL] . Can we have a discusison ? I am ready to start the work right now . Thanks

$25 AUD 1 päivässä
(165 arvostelua)

hello sir i am expert in wordpress and woocommerce i have 6 year experience in this field you will satisfy with my work i can start work right now see below i did work with that [login to view URL] https://wo Lisää

$25 AUD 0 päivässä
(195 arvostelua)

✅Hello, Nice to meet you. ✅I can start work immediately, click on chat button for further discussing.. Why You consider Me? ✮✮✮✮✮ 7+ years of experience in developing websites ✮✮✮✮✮ Portfolio in more than 30 fi Lisää

$25 AUD 1 päivässä
(57 arvostelua)

Hi sir, Thank you for giving opportunity for biding... I have gone through your requirements and I can do your task according to your exact requirements. I have 7+ Experience in Magneto , PHP, Symfony, Shopify , Lisää

$25 AUD 1 päivässä
(153 arvostelua)

Hello, I have great experience working with Shopify, big commerce, WordPress, Joomla, Magento, open cart, drupal ,Prestashop. I have knowledge of HTML, CSS, jQuery, AJAX, PHP etc. Based on my expertise and long-te Lisää

$17 AUD 1 päivässä
(213 arvostelua)

Hi there, I can easily add Free Shipping Threshold to Header. I'm a WordPress expert and FULL-Time Developer. I have rich experience in WordPress, PHP, Website design, CSS, Javascript, etc. I can start work immediatel Lisää

$60 AUD 3 päivässä
(143 arvostelua)

Hi sir i am a wordpress and woo expert and i will do that job for you will you share the login detail and i will do that for you thanks.. Regards

$35 AUD 1 päivässä
(154 arvostelua)

Hello, I'm a full time freelancer and am free now. I have read your project description I can complete this project in 10 min I have a lot of experience in this type of work. I'm sure I can complete it on time with h Lisää

$30 AUD 1 päivässä
(16 arvostelua)

Yes, I have read your project and I can do your project “Add Free Shipping Threshold to Header“with the high-end output. My team is 21 years combined experience in Web Development, Graphics Design and Web Application d Lisää

$50 AUD 4 päivässä
(35 arvostelua)

Hi, client I am a master of your project. I think you just found your appropriated component. I am ready to serve you. I truely had a lot of experieced so that I noticed your main meaning after checking your project. Lisää

$20 AUD 1 päivässä
(7 arvostelua)

Hello sir, Hope you are doing well. i have 6+ years of experience in WordPress php codeigniter woocommrece html css mysql javascript bootstrap etc. these job suitable for me Looking for your positive reply, Lisää

$15 AUD 1 päivässä
(23 arvostelua)

Hi, I have reviewed your job post and understand that you need a developer who can create website register and login system. I am having 5+ year experiences in php and working on CMS and framework like wordPress, Joo Lisää

$30 AUD 1 päivässä
(22 arvostelua)

From the job description,it is clear about the motive to add Free Shipping Threshold to Header.I understood your issue that it is taking code as a text so showing you just code.I am capable to do this task in couple of Lisää

$30 AUD 1 päivässä
(5 arvostelua)
$25 AUD 1 päivässä
(5 arvostelua)

Dear Client, Nice to meet you. i read your description and i can help your with your issue. I am a full stack web development having an extremely wonderful experience in Web development. I have been working as web deve Lisää

$30 AUD 1 päivässä
(5 arvostelua)

Hello, I am new to here this platform but developed number of website and mobile apps in last 9 years. I can add Free Shipping Threshold to your website Header. Thank you Altius

$35 AUD 1 päivässä
(1 arvostelu)

I read job description and I can do your project.I can even work on urgent basis and complete your project me for more information

$55 AUD 5 päivässä
(3 arvostelua)

Dear Client ; I read your Project post and Can do this Header job for you . I am a Professional Wordpress Engineer having more then 7 years of experience . can we discus your Project r Lisää

$50 AUD 2 päivässä
(1 arvostelu)