Outfyd · Fashion e-commerce
Outfyd sells women's clothing online, supplied through CJ Dropshipping. The site pulls the range in from CJ, takes payment through Stripe, and places the order with the supplier once it's paid.
The brief
The products come from a dropshipping supplier, so the store needed to show the supplier's range, price it in Australian dollars, take payment, and pass each paid order on to the supplier without anyone copying details across by hand.
The result is a standard storefront: home page, categories, search, product pages, cart, checkout, customer accounts and order history, plus the shipping, refunds, privacy and terms pages.
How it works
Category, search and product pages request products from CJ through the site's own API routes. Those requests are cached and queued to stay under CJ's rate limit.
Each price is converted to AUD, a shipping allowance is added, a markup is applied based on the cost band, and the result is rounded to .95. There's a small admin page that shows the formula and example margins.
Customers register with a name, email, phone and delivery address. Passwords are hashed and sessions are stored server-side. The account page shows saved details and past orders.
The cart goes to Stripe Checkout. Stripe's webhook confirms the payment, the site looks up the customer's delivery address, places the order with CJ, and records it against the account.
Stack