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

Kemahiran: CSS, HTML, PHP, WooCommerce, Wordpress

Lihat lagi: 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

Tentang Majikan:
( 29 ulasan ) two, Australia

ID Projek: #20049708

26 pekerja bebas membida secara purata $31 untuk pekerjaan ini


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 dalam sehari
(225 Ulasan)

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 dalam sehari
(261 Ulasan)

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 dalam sehari
(165 Ulasan)

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 Lagi

$25 AUD dalam 0 hari
(195 Ulasan)

✅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 Lagi

$25 AUD dalam sehari
(57 Ulasan)

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 , Lagi

$25 AUD dalam sehari
(153 Ulasan)

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 Lagi

$17 AUD dalam sehari
(213 Ulasan)

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 Lagi

$60 AUD dalam 3 hari
(143 Ulasan)

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 dalam sehari
(154 Ulasan)

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 Lagi

$30 AUD dalam sehari
(16 Ulasan)

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 Lagi

$50 AUD dalam 4 hari
(35 Ulasan)

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. Lagi

$20 AUD dalam sehari
(7 Ulasan)

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, Lagi

$15 AUD dalam sehari
(23 Ulasan)

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 Lagi

$30 AUD dalam sehari
(22 Ulasan)

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 Lagi

$30 AUD dalam sehari
(5 Ulasan)
$25 AUD dalam sehari
(5 Ulasan)

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 Lagi

$30 AUD dalam sehari
(5 Ulasan)

Hello, I am new to here this platform freelancer.com 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 dalam sehari
(1 Ulasan)

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

$55 AUD dalam 5 hari
(3 Ulasan)

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 Lagi

$50 AUD dalam 2 hari
(1 Ulasan)