Project file · bybas-wholesale
ByBas Wholesale
LiveWebsite
Executive summary
A wholesale store shipping Turkish goods to the Gulf and the wider Arab market, with an Arabic right-to-left interface and prices in dollars. Every product starts at 50 pieces, and the unit price shown covers shipping and taxes and moves with the destination country.
Context and challenge
A wholesale buyer is not asking what a product costs. He is asking what one piece costs landed at his warehouse. So the store is built around two questions put before anything else: which country are we shipping to, and how many pieces do you want. Changing the country changes the shipping cost stored against each product; changing the quantity moves the line into another price tier.
One price is not enough. The same product ships to Saudi Arabia at one price and to Jordan at another, and some products cannot go to some countries at all. Quantity moves the price a second time, through the tiers. One number in the cart has to stay correct through every change of country or quantity, and the same number has to survive onto the order the team receives. The second half is that the order arrives before any money does: one buyer picks cash on delivery, another picks electronic payment, and nothing is charged inside the site.
Scope of work
In scope
A catalogue with categories, search by name or SKU, price filters and sorting
A shipping-inclusive unit price computed per product and per country, blocking shipment to a country a product does not serve
A 50-piece minimum with quantity tiers read from the database
A cart bound to one destination country, and favourites kept in the browser
Checkout with name, phone, email, address, city and payment method, ending in an order number to follow up
A custom-order page for a product outside the catalogue, with an image upload and a quantity
Written policy pages: shipping, payment, returns and warranty, terms, privacy, cookies, legal notices, and an FAQ
Out of scope
No customer account and no sign-in: the section itself says it is under construction, and buying happens as a guest.
No payment gateway on the site: cash on delivery and electronic payment are recorded on the order only, and the FAQ says electronic payment is coming.
No English or Turkish version: the document declares Arabic and right-to-left, and all of the site's copy is Arabic.
No shipment tracking by number: goods are consolidated for several customers before they leave for the destination country, and the shipping policy says tracking may not be available.
No change-of-mind returns: the policy refuses them outright and accepts only wrong specifications, a manufacturing defect, or a substantial shortage.
What we built
- 01
An Arabic right-to-left storefront, with a product page that shows the shipping-inclusive unit price once a country is chosen
- 02
A price computed per product against every country from the shipping table, with a flag that permits or blocks shipment
- 03
Quantity tiers per product — minimum, quantity, unit price — applied to the cart as the buyer types
- 04
A cart that enforces one country and recomputes every line when a quantity changes
- 05
An order that creates a customer, an order and its lines in the database and hands back a number to follow
- 06
A custom-order page with an uploaded image and a stated quantity, stored apart from the catalogue
- 07
Policy and FAQ pages with the numbers spelled out: 48 hours to report, shortages above 1–2% compensated, shipping through Basmah Express
Decisions
- 01
The unit price covers shipping, with no shipping line in the cartA wholesale buyer is comparing the landed cost of a piece, so a stored price that covers everything makes the cart total the sum of its lines instead of lines plus a fee; the published copy states there are no hidden charges. Instead of: A product price on its own, plus one shipping fee added at cart level
- 02
One destination country per orderShipping is stored per product and per country, so a two-country cart cannot produce a correct total; the cart therefore refuses to continue until one country is applied to every line. Instead of: A cart that takes items bound for different countries in the same order
- 03
A product that cannot ship is blocked before the cartEvery product-country pair carries a permission flag in the shipping table, and the message says the product is unavailable for the chosen country instead of letting a short order reach operations. Instead of: Taking the order and apologising for it after the team reviews it
- 04
A 50-piece minimum, with tiers held in the databaseThe minimum is what separates wholesale from retail, and the tiers are read from the price table, so they can change without publishing a new build of the site. Instead of: Selling by the piece with a discount agreed over WhatsApp
- 05
Buying without an accountThe account section itself says it is under construction, and the five checkout fields are enough to create a customer record; forcing registration would have stopped sales for a feature that was not ready. Instead of: Requiring registration before the order goes through
- 06
The order is a review request, not a paymentThe payment policy states that no order is confirmed until payment arrives or management approves it, which suits goods bought in bulk and dispatched later. Instead of: Instant confirmation and an immediate charge on submit
Timeline
- 01
2025-09-26 Last update declared in the sitemap.
Outcome and status
The site is live at bybas.codksoft.com in Arabic: it takes wholesale orders from 50 pieces, at a unit price that covers shipping for each country, and turns an order into a number the team follows up. Electronic payment and accounts are announced as work still to come.
