ASURA WORKS. Back to projects

Shopify / Bilingual store

DriveUp

Used items by quote.
New parts by cart.

An online store for DriveUp, a fictional company that sells used Japanese car parts, used cars and new replacement parts under its own brand to individuals and repair shops in Japan and overseas, in Japanese and English. The store opens in Japanese, and the language selector in the header or /en switches to the English store. Prices are in Japanese yen in both languages. The screenshots on this page are of the Japanese store, except for the English store in feature 07. It is built on Horizon, Shopify's official free theme, with added sections and templates. The 36 new parts really work up to the cart, the 72 used parts can only be quoted and the 24 used cars can only be inquired about. The quote requests, inquiries and checkout are samples that send nothing anywhere. The focus is on letting the shop staff update stock status and products themselves in the admin after launch, explained with the storefront and the admin side by side.

Open the store

The store is password protected. Enter the password asura on the first screen.

This work is an original adaptation of a commissioned project.

Extend the theme
without breaking it.

The base is Horizon (4.5.0), Shopify's official free theme. Only eight of Horizon's Liquid files were changed, for the price display, the badges on product cards, how filter names and values are shown, the layout every page loads and the tax note in the cart. Everything else is 16 added files of sections, blocks, snippets, CSS and JavaScript whose names start with du. The changed places and the reasons are kept in a list, so they can be reapplied when Horizon is replaced with a newer version.

The theme was pushed to an unpublished draft theme, checked in the admin preview, and then published. Products, vehicles, collections, menus and pages are loaded through the Admin API from local JSON that holds both the Japanese and the English text, so running it again gives the same result and the store can be rebuilt.

The look is based on research into real export stores in the same field. Stock photos lead, on a paper-white background with ink-dark text and an orange accent. Headings are set in Roboto Condensed Bold and body text in Inter. The 324 photos were made with Codex, without car emblems, logos or number plate lettering.

Vehicles in one place
referenced by parts and cars.

Thirty vehicles (make, model, chassis code and year range) live in one place as a Vehicle metaobject. A used part's fitment (Fits) is a list of vehicles, and a used car references one vehicle. Edit a vehicle and both the fitment table on the part pages and the used car pages change.

Products carry metafields for category, condition grade (Grade A, B, C and Junk), stock status (Available, Checking stock and Sold) and specs, and used cars also carry year, mileage, transmission, fuel, drive, engine size, steering side, colour and the last digits of the chassis number. Fields with fixed choices are limited by their definitions, so only those values can be chosen in the admin. The values are stored as English codes such as Grade B, Sold and Petrol, and the Japanese store shows them as Japanese words through the theme's locale files. Vendor is always the car's make, which feeds the Make filter.

Kept out of the cart
by design.

Used parts and used cars track inventory, have zero stock and are set not to sell when out of stock. Beyond removing the cart button from the template, Shopify itself refuses them when they are sent straight to the storefront cart API. Shopify would show them as sold out, so product cards and product pages show a stock status badge instead, and prices are shown as a reference price for used parts and an FOB price for used cars. Products priced at zero show Price on request.

Request a Quote (見積もりを依頼する in the Japanese store) on a used part page opens a drawer with a quote form. The product name, stock number, reference price and page URL are filled in automatically. Enter a name, email and destination country and submit, and it ends with a summary of what was entered and a note that, as a sample, nothing was sent. The used car inquiry, WhatsApp and the Contact page work the same way, and none of the forms sends what was entered over the network. New parts really work up to the cart, and Check out shows a sample notice and stops.

The quote drawer
rises from the bottom on phones.

The quote drawer slides in from the right at 520px wide on desktops and rises from the bottom of the screen as a sheet on phones. While it is open, focus stays inside, and Esc or the close button closes it. The form has two columns on desktops and one on phones and inside the drawer.

Product cards in the lists show the chassis code tag and grade for used parts, and the year, mileage and transmission for used cars, so they stay readable in two columns on phones.

Project details

Version
2.0.0
Project type
Fictional website
Scope of work
Shopify theme development, product data design and build, and the Japanese and English setup
Tools
Shopify (Horizon 4.5.0 / Search & Discovery) / Shopify CLI
Admin GraphQL API / Liquid / JavaScript
Pages
Home, product lists (new parts, used parts, used cars), 3 kinds of product page, cart, How to Buy, About, FAQ, Contact and 4 policies
Products
36 new parts, 72 used parts and 24 used cars, 30 vehicles
Languages
Japanese (default) and English (/en), prices in Japanese yen
Breakpoints
749px and below / 750px and up

The storefront
and the admin side by side.

Seven key features, each shown on the storefront and in the Shopify admin.

  1. 01Theme and sections

    The homepage combines Horizon's hero and featured collections with two added sections, DriveUp entry tiles and DriveUp how to buy. Each of the three entry tiles for new parts, used parts and used cars has its own photo, title, text, link text and link, and they can be rewritten in the theme editor along with the heading above them.

    Sections can also be reordered, added and removed in the editor. The theme was built in an unpublished draft theme and checked in the admin preview before it was published. The editor holds the Japanese text, and the English text is kept as its translation (07).

    The three entry tiles on the homepage, in Japanese: under the headings Three ways to shop and New parts, used parts and used cars in Japanese, tiles for new parts (new parts laid out), used parts (used parts on shelves) and used cars (used cars in a yard), each with a link to see them.
    Storefront (homepage)
    The theme editor in Japanese with the homepage of the draft theme DriveUp staging open and the DriveUp entry tiles section selected on the left: Eyebrow set to Three ways to shop and Heading to New parts, used parts and used cars, both in Japanese. The preview on the right shows an outline around the selected section and its three tiles.
    Admin (theme editor)
  2. 02Vehicles and fitment

    The 30 vehicles are entries of a Vehicle model metaobject, one each, with the make, chassis code and the first and last year. A used part's Fits field is a list of these vehicles and appears on the part page as a table of vehicle, chassis code and years. Vehicle names are kept in English, and the Japanese store shows them translated, such as 日産 スカイライン for Nissan Skyline.

    In the admin list of vehicles, the references column is the number of products that refer to each vehicle. Correct a vehicle's years and every part and car page that refers to it changes.

    Lower down a used part page, in Japanese: the fitment table with Nissan Skyline in Japanese, V36 and 2006–2014, a note that fitment is confirmed against the chassis code or VIN, a specifications table of side, includes, lens, donor vehicle, donor mileage and shipping, and a link explaining the grades.
    Storefront (used part page)
    The list of Vehicle model metaobject entries in the admin, in Japanese: columns for display name, Make, Chassis code, Year from, Year to and references (Daihatsu Hijet Truck S500P 2014 to 2024 with 4, Suzuki Jimny JB64W 2018 to 2025 with 8, Nissan Skyline V36 2006 to 2014 with 4 and more).
    Admin (metaobjects)
  3. 03Changing the stock status

    When a part sells, the staff set Stock status to Sold in the product's metafields in the admin and save. The badge on the storefront changes to 売約済み in Japanese (Sold in English), Request a Quote can no longer be pressed, and a link to find a similar part appears.

    Stock status (Available, Checking stock and Sold) and Condition (Grade A, B, C and Junk) are choice fields limited by their definitions. Only those values can be chosen in the admin, so spelling differences never split a filter.

    A sold part's page in Japanese: below the title Mitsubishi Delica D:5 CV5W HID Headlight Right in Japanese, sold and Grade B badges, a table with stock number DU-7007, category lighting and reference price ¥34,500, a greyed-out Request a Quote button that cannot be pressed, and a line saying the part has been sold, with a link to find a similar part.
    Storefront (sold part)
    A product's metafields in the admin: Specs in Japanese with the side, includes and donor vehicle, Stock status set to Sold, Condition to Grade B, Fits to Mitsubishi Delica D:5 CV5W and Part category to Lighting.
    Admin (product metafields)
  4. 04Filters

    The filters come from Search & Discovery, Shopify's free app: eight of them, built from the vendor (the car's make), product metafields and price. The used parts list shows Make, Category, Fits, Condition, Availability status and Price, and Fits is chosen by vehicle name.

    The filters are one list for the whole store, and a filter with no values in a collection is not shown. The used cars list shows Model and Year. The order can be changed by dragging in the app. The labels and values stay in English in the app and the theme shows them in Japanese or English, so a label changed in the app also needs its translation added to the theme's locale files.

    The used parts list in Japanese with the fits filter open: checkboxes for vehicles named in Japanese: Daihatsu Hijet Truck S500P, Honda Civic FD1, Honda Fit GE6 and GK3, Honda Stepwgn RK1, Honda Vezel RU1, Mazda Axela BM5FP and Mazda CX-5 KE2FW.
    Storefront (used parts list)
    The filter list in Search & Discovery, in Japanese: columns for label, source and type, with Make (vendor, standard), Model (Vehicle), Category (Part category), Fits, Condition, Availability status (Stock status) and Year (all product metafields), and Price, labelled in Japanese (price, standard).
    Admin (Search & Discovery)
  5. 05Adding a used part

    A used part gets the product type Used Part, the car's make as vendor, its chassis code as a tag, and the used-part theme template. Products of type Used Part join the used parts collection (中古パーツ) automatically. The chassis code tag becomes the tag on the list card, and the vendor becomes the Make filter.

    Inventory is tracked with a quantity of zero, and Continue selling when out of stock is off. Shopify then refuses the part even when it is sent straight to the storefront cart API. With photos, a description, a reference price in yen and the metafields saved, it appears in the list and the filters. The title and description are entered in Japanese, and the English is added as their translation.

    The used parts list on a phone, in Japanese: a filter button and product cards in two columns (the Nissan Skyline V36 HID headlight, left, V36, Grade B, ¥31,500; the Toyota Alphard AGH30 tail lamp set of four, AGH30, Grade A, ¥63,000; the sold Mitsubishi Delica D:5 CV5W HID headlight, right, and more).
    Storefront (phone)
    The product Nissan Skyline V36 HID Headlight Left in the admin, in Japanese: title, a Japanese description and two photos, and on the right the product type Used Part, vendor Nissan, collection Used Parts (named in Japanese), tag V36 and theme template used-part.
    Admin (product)
    The price and inventory of the same product in the admin, in Japanese: price ¥31,500, inventory tracking switched on, 0 available at Shop location, SKU DU-7010 and Continue selling when out of stock switched off.
    Admin (price and inventory)
  6. 06Listing a used car

    Each used car is one product, with the year, mileage, last digits of the chassis number, transmission, fuel, drive, engine size, steering side and colour in product metafields. The car refers to one Vehicle model, and its chassis code comes from there. The price is FOB, the price at the port in Japan, in yen.

    The car page sets these out in a table, shows the mileage in both kilometres and miles, and shows only the last digits of the chassis number. Fuel, steering side and the other choices are also stored as English codes, and the Japanese store shows them in Japanese, such as ガソリン for Petrol and 右ハンドル for RHD. Each car has four photos.

    A used car page in Japanese: four photos of a white van on the left (front, side, rear and dashboard); on the right 2016 Toyota Hiace DX in Japanese, an in-stock badge, ¥2,220,000 FOB (at the port in Japan), a note on FOB, and a table of year 2016, mileage 121,500 km (75,500 mi), chassis code TRH200, chassis number ending 5410, AT transmission, petrol, 2WD, 1,998 cc and right-hand drive.
    Storefront (used car page)
    A used car's metafields in the admin: Chassis number (last digits) 5410, Color White, Steering RHD, Engine (cc) 1998, Drive 2WD, Fuel Petrol, Transmission AT, Mileage (km) 121500, Year 2016, Vehicle Toyota Hiace TRH200, Specs in Japanese starting with the grade DX, and Stock status Available.
    Admin (product metafields)
  7. 07Japanese and English

    The store's default language is Japanese, and English is published as a second language and assigned to the store's domain. The English store is at /en, and the language selector in the header switches between them. Opened from /en, the password page is in English too. There is one currency, the Japanese yen, and the English store also shows prices in yen.

    Products, collections, pages, menus and policies are written in Japanese, with the English registered as Shopify translations. A sync tool writes the Japanese and English text from local JSON through the Admin API, so running it again gives the same result. The text in the theme templates also has its English registered as translations, and the text of the added blocks lives in Horizon's locale files (ja and en). Editing the English in the admin needs Translate & Adapt, Shopify's free app, which is not installed in this store.

    A used part page in the English store (/en): a bar at the top saying it is a sample store, menu links for New Parts, Used Parts, Used Cars, How to Buy, About and Contact, and the language selector set to English. The title Nissan Skyline V36 HID Headlight Left, Available and Grade B badges, a table of Stock no. DU-7010, Category Lighting and Reference price ¥31,500, and a Request a Quote button.
    Storefront (English store)
    The language settings in the admin, in Japanese: Japanese (default, published) and English (published), each assigned to one domain, and below them an offer to install Shopify Translate & Adapt. The account name and email at the bottom left are blurred.
    Admin (language settings)