WooCommerce store with wholesale pricing
UTAK
Retail and wholesale in one store — the cart decides on its own
UTAK, a Ukrainian manufacturer of hand warmers, flameless food heaters and oxygen absorbers, sells the same products to a hiker buying two and a volunteer organisation buying two hundred. A separate B2B portal was out of budget, so I built one WooCommerce store that handles both: wholesale prices and thresholds set per product by the company, and a cart that switches lines to wholesale on its own. Launched in three months as the sole back-end developer, with WayForPay, Nova Poshta and orders landing in the team’s Telegram — then supported for a year and a half.
About the project
Around the store sits the manufacturer’s site — product lines, industries, case studies, documents, vacancies, FAQ — all of which the client had to maintain without a developer. I built the whole back end as a freelancer, working directly with the client’s project manager and a front-end developer: a custom theme, ACF landing pages for product lines, post types for the corporate content, a storefront with live AJAX filters on top of WooCommerce, the pricing logic, the payment and delivery integrations and Telegram notifications. The site went live in November 2024 and runs on the code I delivered.
My role
Back-end Developer (freelance, sole back-end)
I owned everything on the back end and the client relationship on the technical side: content model and theme, WordPress and WooCommerce templates, the AJAX storefront, the retail/wholesale cart logic, WayForPay and Nova Poshta, the Contact Form 7 → Telegram flow and the ACF landing pages. I planned the catalogue and filters with the client’s PM directly, in Ukrainian, and kept the site running for the next year and a half.
What the business got
-
Live in three months
From an empty WordPress to a working store and corporate site, September to November 2024.
-
Wholesale without a manager in the loop
Wholesale prices apply themselves in the cart; the company only sets prices and thresholds.
-
Orders answered in minutes, not days
Orders and enquiries reach the team in Telegram, where a small company really works.
-
334 orders, 9,000+ items sold
From January 2025 to October 2026 the store processed 334 orders and 9,000+ items — about 27 items per order — on the code I delivered.
Team & ownership
-
I owned
- Custom theme and all WordPress / WooCommerce templates
- Storefront: AJAX filters by purpose, category and brand, sorting, favourites
- Retail and wholesale pricing with automatic cart recalculation
- WayForPay payments and Nova Poshta cities and branches via API
- Order and enquiry notifications to Telegram
- Content model: product-line landings, industries, cases, documents, vacancies, FAQ
- A year and a half of support and small improvements
-
I took part in
- Planning the catalogue and filters with the client’s PM
- Adding the client’s tracking scripts (GTM, Pixel, Clarity)
-
Team delivered
- Design and front-end layouts
- Project management on the client side
- English version of the site (added later by another team)
How an order works
-
Find the product
The customer filters the catalogue by purpose — body warmth, food heating, autonomous nutrition, hygiene — or by category and brand, without page reloads.
-
See both prices
Every product shows its retail price and the wholesale price the company has set for it.
-
Cart recalculates
When the quantity in the cart reaches the wholesale threshold, the cart switches that product to the wholesale price on its own.
-
Delivery
The checkout pulls cities and branches from the Nova Poshta API; the customer picks a branch instead of typing an address.
-
Payment
Online card payment through WayForPay or cash on delivery.
-
Team notified
The order and every contact-form enquiry land in the team’s Telegram chat within seconds.
What I did
-
Retail and wholesale in one store
A wholesale price and a threshold per product, set by the client; the cart checks quantities on every change and switches lines to wholesale — and back — with totals and discounts kept consistent. The hardest logic on the project.
-
A storefront filtered by what the product is for
A purpose taxonomy beside categories and brands, and an AJAX storefront that combines any of them with sorting and favourites, without page reloads.
-
A checkout built for Ukrainian delivery
Cities and branches loaded from the Nova Poshta API, the branch saved on the order; WayForPay online and cash on delivery.
-
Orders where the team actually looks
Every order and enquiry goes to the team’s Telegram chat through the Contact Form 7 integration I set up — nobody has to watch a mailbox.
Project screens
Technical challenges & solutions
-
Retail and wholesale customers, one cart
A hiker and a volunteer organisation buy the same product. A separate B2B portal was too much for the company; a single store had to handle both prices and switch between them without a manager’s involvement.
A wholesale price and quantity threshold on each product, and cart logic that checks quantities on every change: cross the threshold and the line switches to wholesale, drop below and it switches back. Totals, discounts and the order itself stay consistent.
-
A catalogue filtered by what the product is for
The company’s products cut across categories: a food heater belongs to “food heating” and “autonomous nutrition” at the same time. Standard category pages could not express that.
A purpose taxonomy alongside categories and brands, and an AJAX storefront that combines any of them with sorting and favourites — without reloading the page.
-
Checkout that fits Ukrainian delivery
Most Ukrainian customers receive parcels at Nova Poshta branches, not at home addresses. A standard address form would have produced wrong orders.
Cities and branches loaded from the Nova Poshta API at checkout, with the branch stored on the order; WayForPay for online payment and cash on delivery as the alternative.
-
Orders where the team actually looks
A small team does not sit in a WordPress admin or an inbox all day.
Every order and enquiry is pushed to Telegram through the Contact Form 7 integration I set up, so the team reacts within minutes.
What I bring to your team
-
Business rules modelled as rules, with tests
The wholesale threshold logic grew case by case here. I now define pricing rules up front — per product, per quantity — and cover cart recalculation with automated tests from the first version.
-
Shareable, indexable state by default
The AJAX storefront works well, but a filtered view cannot be shared or indexed. I put filter state in the URL from the start now — a small decision that pays off in SEO and support.
-
A hand-over document, written before the hand-over
This site was later extended by another team. A short document on the pricing rules and integrations is part of my definition of done, so the next developer — or the client — never depends on my memory.