Закрыт

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:

<?php

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

Квалификация: CSS, HTML, PHP, WooCommerce, WordPress

Показать больше 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

О работодателе:
( 30 отзыв(-а, -ов) ) two, Australia

ID проекта: #20049708

25 фрилансеров(-а) в среднем готовы выполнить эту работу за $30

nddungha

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 день
(287 отзывов(-а))
7.7
Speedycom

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 день
(225 отзывов(-а))
7.3
jagjeetkmr90

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 день
(172 отзывов(-а))
7.2
shayona163

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 Больше

$25 AUD за 0 дней(-я)
(204 отзывов(-а))
6.9
gaurav

✅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 Больше

$25 AUD за 1 день
(67 отзывов(-а))
7.0
ykarora26

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 Больше

$17 AUD за 1 день
(242 отзывов(-а))
7.1
zyeloncomputech

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 , Больше

$25 AUD за 1 день
(155 отзывов(-а))
6.7
smilemittal181

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 Больше

$60 AUD за 3 дней(-я)
(168 отзывов(-а))
6.9
youdefinewesolve

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 день
(174 отзывов(-а))
6.3
sevenstarservice

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 Больше

$30 AUD за 1 день
(21 отзывов(-а))
5.3
vladzolotukhin

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. Больше

$20 AUD за 1 день
(37 отзывов(-а))
5.4
imranulhasn

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 Больше

$50 AUD за 4 дней(-я)
(39 отзывов(-а))
5.3
dev152

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 Больше

$30 AUD за 1 день
(34 отзывов(-а))
5.0
kdwebsolution9

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, Больше

$15 AUD за 1 день
(27 отзывов(-а))
4.9
$25 AUD за 1 день
(8 отзывов(-а))
3.8
Rinaweb

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 за 1 день
(3 отзывов(-а))
2.8
thirdessential

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 Больше

$30 AUD за 1 день
(5 отзывов(-а))
2.8
strictdeveloper

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 Больше

$30 AUD за 1 день
(9 отзывов(-а))
2.6
abhimadankr

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 за 5 дней(-я)
(3 отзывов(-а))
1.8
AliTulip

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 Больше

$50 AUD за 2 дней(-я)
(1 отзыв)
0.9