If you want to apply a discount by cart amount, this article tells how to do this and gives a snippet. Shortly, if the cart total is bigger than your target value, the cart total will be discounted.
Copy & paste the below code to your function.php:
// Woofocus - Discount snippet starts add_action( 'woocommerce_cart_calculate_fees', 'wf_apply_discount_by_cart_amount' ); function wf_apply_discount_by_cart_amount() { $wf_min_amount = get_option('wf_min_amount'); $wf_min_amount_discount = get_option('wf_min_amount_discount'); if(WC()->cart->subtotal > $wf_min_amount){ WC()->cart->add_fee( 'Fee', -$wf_min_amount_discount ); } } add_action( 'customize_register', 'wf_customizer_register' ); function wf_customizer_register( $wp_customize ) { // Create our panels $wp_customize->add_panel( 'wfdiscountpanel', array( 'title' => __('WooFocus discount Panel', 'wf'), ) ); // Create our sections $wp_customize->add_section( 'wf_discount_by_amount' , array( 'title' => __('Discount by amount', 'wf'), 'priority' => 1, 'panel' => 'wfdiscountpanel', ) ); // Create our settings $wp_customize->add_setting( 'wf_min_amount' , array( 'type' => 'option', 'transport' => 'refresh', ) ); $wp_customize->add_control( 'wf_min_amount_control', array( 'label' => __('Minimum Amount for Discount', 'wf'), 'section' => 'wf_discount_by_amount', 'settings' => 'wf_min_amount', 'priority' => 1, 'type' => 'text', ) ); $wp_customize->add_setting( 'wf_min_amount_discount' , array( 'type' => 'option', 'transport' => 'refresh', ) ); $wp_customize->add_control( 'wf_min_amount_discount_control', array( 'label' => __('Discount Fee', 'wf'), 'section' => 'wf_discount_by_amount', 'settings' => 'wf_min_amount_discount', 'priority' => 1, 'type' => 'text', ) ); } // Woofocus - Discount snippet ends
After paste it, WooFocus Discount Panel will be added to the customizer menu as you can see on the picture.

Click “Discount by amount” buton

You can set your discount rule here.For example,
the subtotal on the image is 762.00, so it is bigger than 20 (Minumum Amount for Discount). It means this cart totals will be affected by discount.
762.00 – 400 ( Discount Fee ) equals the new cart total.

Don’t forget to click on the Save button to apply the discount by cart amount. Otherwise, you lose your changes.
For more WooCommerce Tutorials & Tricks, you can follow WooFocus.com.
What do you think?
Explore the iconic Patek Philippe Nautilus, a luxury timepiece that blends sporty elegance with exquisite craftsmanship .
Launched in 1976 , this cult design revolutionized high-end sports watches, featuring distinctive octagonal bezels and textured sunburst faces.
For stainless steel variants like the 5990/1A-011 with a 55-hour energy retention to luxurious white gold editions such as the 5811/1G-001 with a azure-toned face, the Nautilus caters to both discerning collectors and everyday wearers .
Unworn Patek Nautilus 5980r wristwatches
The diamond-set 5719 elevate the design with dazzling bezels , adding unmatched glamour to the timeless profile.
According to recent indices like the 5726/1A-014 at ~$106,000, the Nautilus remains a prized asset in the world of premium watchmaking.
Whether you seek a vintage piece or modern redesign, the Nautilus embodies Patek Philippe’s legacy of excellence .
Launched in 1999, Richard Mille redefined luxury watchmaking with cutting-edge innovation . The brand’s iconic timepieces combine aerospace-grade ceramics and sapphire to enhance performance.
Mirroring the precision of racing cars , each watch prioritizes functionality , ensuring lightweight comfort . Collections like the RM 001 Tourbillon set new benchmarks since their debut.
Richard Mille’s collaborations with experts in mechanical engineering yield ultra-lightweight cases tested in extreme conditions .
Used Richard Mille watch
Rooted in innovation, the brand pushes boundaries through bespoke complications for collectors .
Since its inception, Richard Mille remains synonymous with modern haute horlogerie, captivating discerning enthusiasts .
The Audemars Piguet Royal Oak, revolutionized luxury watchmaking with its iconic octagonal bezel and stainless steel craftsmanship .
Available in limited-edition sand gold to skeleton dials , the collection merges avant-garde design with precision engineering .
Starting at $20,000 to over $400,000, these timepieces cater to both luxury enthusiasts and aficionados seeking investable art .
Pre-loved AP Royal Oak 26240or watch
The Perpetual Calendar models set benchmarks with robust case constructions, showcasing Audemars Piguet’s relentless innovation.
Thanks to ultra-thin calibers like the 2385, each watch reflects the brand’s legacy of craftsmanship.
Explore certified pre-owned editions and detailed collector guides to deepen your horological expertise with this modern legend .
Die Royal Oak 16202ST kombiniert ein 39-mm-Edelstahlgehäuse mit einem ultradünnen Design von nur 8,1 mm Dicke.
Ihr Herzstück bildet das automatische Manufakturwerk 7121 mit 55 Stunden Gangreserve.
Der smaragdene Farbverlauf des Zifferblatts wird durch das feine Guillochierungen und die Saphirglas-Abdeckung mit blendschutzbeschichteter Oberfläche betont.
Neben Stunden- und Minutenanzeige bietet die Uhr ein praktisches Datum bei Position 3.
Audemars Piguet Royal Oak 14790st damenuhren
Die 50-Meter-Wasserdichte macht sie für sportliche Einsätze geeignet.
Das geschlossene Stahlband mit faltsicherer Verschluss und die achtseitige Rahmenform zitieren das ikonische Royal-Oak-Erbe aus den 1970er Jahren.
Als Teil der „Jumbo“-Kollektion verkörpert die 16202ST meisterliche Uhrmacherkunst mit einem Wertanlage für Sammler.
Данный портал размещает интересные информационные статьи разных сфер.
Здесь можно найти новости о политике, бизнесе и других областях.
Контент пополняется в режиме реального времени, что позволяет следить за происходящим.
Понятная навигация помогает быстро ориентироваться.
https://km-moda.ru
Каждая статья оформлены качественно.
Мы стремимся к объективности.
Оставайтесь с нами, чтобы быть на волне новостей.
wewewe wowuwu wewew wiwewew en güncel listesi burada. Güvenilir bahis siteleri ve en cazip deneme bonusu fırsatlarıyla kazancınızı artırın
Коллекция Nautilus, созданная мастером дизайна Жеральдом Гентой, сочетает спортивный дух и прекрасное ремесленничество. Модель Nautilus 5711 с автоматическим калибром 324 SC имеет 45-часовой запас хода и корпус из белого золота.
Восьмиугольный безель с плавными скосами и синий солнечный циферблат подчеркивают уникальность модели. Браслет с интегрированными звеньями обеспечивает удобную посадку даже при активном образе жизни.
Часы оснащены функцией даты в позиции 3 часа и антибликовым покрытием.
Для версий с усложнениями доступны секундомер, вечный календарь и функция Travel Time.
Найти часы Филип Наутилус отзывы
Например, модель 5712/1R-001 из розового золота с калибром повышенной сложности и запасом хода на двое суток.
Nautilus остается предметом коллекционирования, объединяя современные технологии и традиции швейцарского часового дела.
Wagering has become an engaging way to enhance your gaming journey. Engaging with tennis, our platform offers competitive odds for every type of bettor.
Through real-time gambling to early markets, you can find a broad selection of wagering choices tailored to your interests. This user-friendly platform ensures that engaging in betting is both effortless and secure.
https://esanok.pl/msza-online/wp-pages/?easybet_south_africa___sports_betting__casino___app.html
Sign up today to explore the ultimate wagering adventure available digitally.
Здесь можно получить сервис “Глаз Бога”, позволяющий найти данные по человеку из открытых источников.
Бот работает по номеру телефона, используя доступные данные в Рунете. Благодаря ему можно получить 5 бесплатных проверок и детальный анализ по фото.
Инструмент обновлен на август 2024 и поддерживает мультимедийные данные. Бот сможет найти профили по госреестрам и покажет результаты мгновенно.
глаз бога информация
Данный инструмент — помощник в анализе персон через Telegram.
Здесь доступен Telegram-бот “Глаз Бога”, что собрать данные о человеке через открытые базы.
Сервис функционирует по ФИО, обрабатывая актуальные базы в Рунете. Благодаря ему осуществляется бесплатный поиск и полный отчет по имени.
Сервис проверен на август 2024 и поддерживает фото и видео. Сервис поможет проверить личность в открытых базах и покажет сведения в режиме реального времени.
тг бот глаз бога бесплатно
Данный бот — помощник при поиске граждан онлайн.
Здесь доступен сервис “Глаз Бога”, позволяющий проверить сведения о человеке из открытых источников.
Бот активно ищет по ФИО, используя актуальные базы в сети. Через бота осуществляется бесплатный поиск и глубокий сбор по запросу.
Платфор ма обновлен согласно последним данным и включает фото и видео. Глаз Бога гарантирует узнать данные в открытых базах и отобразит сведения в режиме реального времени.
найти через глаз бога
Такой сервис — выбор в анализе персон через Telegram.
Прямо здесь можно получить мессенджер-бот “Глаз Бога”, позволяющий найти всю информацию о гражданине из открытых источников.
Сервис функционирует по ФИО, анализируя актуальные базы в сети. Благодаря ему можно получить 5 бесплатных проверок и полный отчет по имени.
Платфор ма обновлен на 2025 год и охватывает аудио-материалы. Сервис сможет проверить личность в открытых базах и покажет информацию в режиме реального времени.
глаз бога телеграм
Данный бот — выбор в анализе людей удаленно.