Project file · samara-store
Samara Fashion
LiveWebsite
Executive summary
A wholesale fashion store out of Aksaray in Istanbul, selling in US dollars to traders in Sudan, Eritrea, and Egypt. Checkout needs no account: the order is stored with a number, then WhatsApp opens with the details already written.
Context and challenge
The buyer here is a trader taking tens of pieces to resell, not a browser killing time. The store is therefore built around two numbers: how many pieces, and which country they ship to. Every product page shows quantity tiers with a unit price, and each step up moves the line into a higher tier; at checkout the rate stored for that product and that country is added to a total that states shipping, taxes, and customs clearance are inside it. The store is live at samara-store.codksoft.com, staffed by a team answering WhatsApp from Istanbul between ten and six.
Wholesale pricing is not one number. The unit price moves with quantity, the shipping rate moves with the country, and some products cannot ship to some countries at all. The first problem is keeping the figure the buyer sees correct through every change: a page must never quote one price while the cart asks for another. The second is that the order has to reach a channel the team actually reads — a trader prefers WhatsApp to a web form — while keeping a reference number, and must not be lost if a table in the database is incomplete on launch day. The third is Arabic search matching how people type: one name spelled with a plain alef, an alef with a hamza above, or one below is one word to the buyer and three to a literal match.
Scope of work
In scope
A catalogue with men's, women's, and kids' sections, filters for gender, fabric, colour, size, brand, season, and country of origin, and sorting by price and by newest.
Arabic search that ignores hamza variants, ta marbuta, and alef maqsura and drops diacritics before comparing, keeping a recent-searches list on the visitor's device.
A product page with the wholesale tier table: quantity, unit price, saving; the tier the current quantity falls into, the running total, and the minimum order.
A cart and a favourites list kept on the visitor's device, and a coupon the server checks and burns once when the order is confirmed.
Guest checkout: name, optional company, phone, email, address, city, country, payment method, and notes, with mandatory agreement to the shipping, payment, terms, and privacy policies before sending.
A success page with the order number and a prepared WhatsApp message, plus offers, banners, about, contact, privacy, and terms pages.
Out of scope
No customer account and no sign-in: buying happens as a guest and the app has no account route — while the privacy policy still describes collecting data “when an account is created” and mentions login credentials.
No payment gateway inside the site: cash on delivery and electronic payment are written on the order and then handed to WhatsApp, and the checkout form has no card field.
No Tigrinya interface: every string is stored in three languages, the switcher offers Arabic and English only, and the contact page promises support in Tigrinya.
No real sitemap and no robots file: both URLs answer with the application page itself, with no route list and no crawl rules.
No 404 page: an unknown address returns the app shell with nothing in it.
What we built
- 01
An Arabic RTL interface whose language switch sets the page direction and the tab title, with a fully translated English build.
- 02
Search that ignores hamza variants, ta marbuta, and alef maqsura and drops diacritics before comparing, waits for the typing to stop, then shows the result.
- 03
A wholesale tier table on the product page showing the active tier, the saving, and the running total, falling back to the base price when a product has no stored tiers.
- 04
A shipping rate per product and per country, with rates kept on the site so selling never stops: Sudan 14, Eritrea 16, Egypt 12, Chad 18, Saudi Arabia 20, and 22 for a country that is not listed.
- 05
Cart and favourites kept on the visitor's device, and a coupon the server checks on each use and burns once.
- 06
Order creation: a reference number, a second attempt that skips any field the orders table lacks instead of failing the order, then the order and its lines are stored.
- 07
A success page that opens WhatsApp with a prepared message carrying the order number and details, with the WhatsApp number read from the store settings and defaulting to +90 543 160 74 40.
- 08
A version that works after the first visit: the app shell stays on the device and refreshes with each new release.
Decisions
- 01
Checkout as a guest, without an accountThe six checkout fields are enough to create a customer, an order, and its lines. Forcing registration adds a step that serves neither a trader buying once a month nor the employee he sends to buy, so the app has no account route at all. Instead of: Requiring a registered, signed-in account before an order can be placed
- 02
Coupons checked by the server, not the pageAny visitor can read the front-end source in the browser tools, so a code written there is published to everyone. Checking at the server stops that, and stops one code being spent twice. Instead of: A list of discount codes written into the front-end source
- 03
Fallback shipping rates instead of a closed checkoutA market that ships weekly cannot afford a stopped checkout because a table is incomplete. When the table is absent, rates held on the site apply, and the difference is settled with the buyer on WhatsApp. Instead of: Refusing to sell and showing an error when the shipping table is missing
- 04
The order number never takes the order down with itNothing has been paid yet, and dropping the order loses the buyer while a WhatsApp message can still carry every detail. So the insert retries without the missing field, then a local number is generated instead of stopping. Instead of: Failing the order and showing an error when numbering fails or columns differ
- 05
Pricing in US dollars, not the destination currencyA trader compares the cost per piece in dollars and pays by international transfer in dollars, and the price list is revised weekly. One currency makes two tiers comparable without an exchange calculation on every page. Instead of: Pricing in each market's currency, or in Turkish lira
Timeline
- 01
2017 Supply partnerships established with selected factories in Turkey and East Asia — the first entry in the Samara journey on the about page.
- 02
2019 Expansion towards the Horn of Africa, launching agent networks and logistics for Sudan and Eritrea — the second entry on the same page.
- 03
2024 Launch of the unified digital platform for pricing, orders, and shipping in one interface — the third and last entry on that page.
Outcome and status
The store is live and working: a filtered catalogue, wholesale price tiers, shipping computed per country, and a guest order that ends with a stored number and a WhatsApp message. The path runs from product page to conversation with the team, and three things stay open: Eritrea, which every page addresses, cannot be chosen in the checkout country list; the Tigrinya copy is stored in the data but never offered in the switcher; and the privacy policy and terms describe an account and a sign-in the store does not have.
