Problem
The company sells the same stock to retail buyers and to wholesale partners from two separate stores. Retail checkout also needed delivery choices in the cart and a way to offer free samples and promo gifts without manual work.
Solution
I connected the theme to the reservation service used by the wholesale store, so stock in a retail cart is counted against the shared total. I added a Nova Poshta delivery widget to the cart page and drawer, with a checkout link that keeps the chosen address. I also added a free-gifts widget with samplers and promo tiers, configured from theme settings.
Key decisions
Chose to share one reservation service with the wholesale store
Why Both stores sell the same stock, so one count avoids selling it twice.
Chose a checkout permalink to carry the delivery data
Why A plain checkout URL ignores address parameters, so the widget builds a cart link that applies them.
Chose theme settings for the gift rules
Why The owner can change samplers and promo tiers without editing code.
Results
- SKU shown on product pages.
- A delivery widget in the cart page and drawer with warehouse, parcel locker and courier modes.
- A free-gifts widget with samplers and promo tiers, with settings and translations.
- Retail carts reserve stock through the shared reservation service.

