Checkout discount method
How Samita Wholesale Pricing applies discounts at checkout, using Shopify's Draft Order API.
This page explains what happens behind the scenes when a customer with a discount checks out.
Samita Wholesale Pricing uses Shopify's Draft Order API to check out discounted orders. The discount appears at checkout like this:

With this method, every product in the order shares one discount code that matches the discount shown on your storefront. You can find these auto-generated codes in Shopify under Discounts.

This discount code can't be edited or deleted. If it's removed, the customer's order loses its discount.
Every time a customer checks out on your storefront, the app creates a draft order behind the scenes, tagged samita-wholesale. This draft order itself doesn't show the discount when you view it in Shopify Draft Orders — the discount is applied when it converts to a real order.

Need support?
If you do encounter any difficulty while proceeding these steps, don’t show any hesitation to contact us promptly via the email address support@samita.io
Last updated
Was this helpful?