Projects

Towards.jp – Gecko Custom Development: Delivery Schedules Driven by Stock and Cart

TOWARDS cart showing in-stock delivery date and time-slot fields when a pendant light is in the cart

Towards.jp

How The4 extended a Japanese lighting and interiors store's delivery-schedule system to three new product types, with stock-aware rules on the product page and a priority rule in the cart.

Project snapshot

  • Client: TOWARDS (Towards.jp)
  • Industry: Lighting, interiors, furniture hardware & art
  • Country: Japan
  • Live store: towards.jp
  • Theme: Gecko (6.0.2 at the time of the project; the store now runs Gecko 6.3.0)
  • Service: Custom development (Liquid and JavaScript delivery logic)
  • Timeline: 7 Mar – 14 Mar 2026
  • Pages touched: Product page, cart page

TL;DR

  • TOWARDS already had a custom delivery-schedule system for its lighting and art. It needed the same system to cover three more product types: furniture handles and knobs, lighting parts, and bulbs.
  • The4 added stock-aware rules for those types on the product page and a priority rule in the cart, so a cart that contains a Lighting or Art product always follows the Lighting/Art schedule.
  • The existing Lighting and Art behaviour was left unchanged.
  • The task was completed in one week, and the logic was kept through a later Gecko 6.0.2 → 6.3 theme update.

About the client

TOWARDS is a Tokyo-based online store that sells pendant and wall lights, antique-style furniture, wall art and brass furniture hardware. It offers free shipping on most orders and has a dedicated section for trade customers. The catalogue has more than 500 products, and art and lighting make up most of it.

The brief & challenges

Delivery dates matter to TOWARDS' customers: someone planning a room or an installation needs to know when a light will arrive. The store had already invested in a detailed delivery system: delivery date and time-slot fields in the cart, separate schedules for in-stock and out-of-stock items, and date ranges that skip Sundays and Japanese public holidays.

That system only covered the Lighting collection and the Art product type. Three other product types, 取手 | ツマミ | ハンドル (handles and knobs), 照明パーツ (lighting parts) and 電球 (bulbs), sat outside it. The business problem was that small add-on items are often bought with a light. They need to show a delivery schedule when one matters, and to never show a date that contradicts the main item in the cart.

The brief set out exact rules:

  • Product page: for the three new types, hide the delivery schedule when the item is in stock, and show it when the item is out of stock, using the same schedule logic as Lighting and Art.
  • Cart, with priority: if the cart contains any Lighting or Art product, the whole cart follows the Lighting/Art schedule (in stock or out of stock). The new per-type rules apply only when no Lighting or Art item is present.
  • No regressions: the current Lighting and Art logic must not change.

What we did

1. Stock-aware rules on the product page

The4 extended the product-page logic so that the three new product types check inventory before showing any schedule. A handle or bulb that is in stock does not show the delivery schedule. An out-of-stock item shows it, with the same date calculation used for lighting. Lighting and Art product pages kept their existing behaviour.

TOWARDS LINEA brass handle product page on desktop, with no delivery schedule shown because the item is in stock
A furniture handle in stock. No dynamic delivery schedule is shown, as the brief requires.

2. A priority rule in the cart

The cart was the more complex part. Before applying any per-type rule, the cart now checks whether it contains a product from the Lighting collection or of the Art type. If it does, the whole cart uses the Lighting/Art schedule: the in-stock schedule when that item is in stock, and the out-of-stock schedule when it is not. Only when no Lighting or Art item is present do the handle, parts and bulb rules apply.

The4 checked this on the live store on 22 Nov 2026. A cart with only an in-stock brass handle shows no delivery date form. When an in-stock pendant light is added, the cart shows the in-stock delivery date dropdown and time-slot options for the whole order.

TOWARDS cart with only an in-stock brass handle and no delivery date form
An in-stock handle on its own: no delivery date form in the cart.
TOWARDS cart with a pendant light and a handle, showing the in-stock delivery date and time-slot fields
Add a pendant light and the Lighting schedule takes priority for the whole cart.
TOWARDS cart on mobile showing the delivery date and time-slot dropdowns
The same priority logic in the mobile cart.

3. Leaving the existing logic untouched

The Lighting and Art rules were left as they were. The store's delivery system has many dependent parts, such as holiday handling and order-note integration, so The4 added conditions around the existing schedule and did not rewrite it.

Follow-up work on the same system

TOWARDS came back to The4 twice afterwards. In March 2026, The4 updated the store from Gecko 6.0.2 to 6.3. Before the update, the team listed every customization, including support for the three new product types, and checked the code so the logic stayed in place. In May 2026, The4 added estimated delivery windows to Lighting product pages for the three delivery types, normal (通常便), express (特急便) and super-express (超特急便). The dates change with stock status. Both pieces of work are live on Gecko 6.3.0.

Pendant light product page showing stock count and three delivery windows for normal, express and super-express delivery
Three stock-based delivery windows on a Lighting product page, added in the May 2026 follow-up.
TOWARDS homepage on desktop with a pendant light banner
The TOWARDS storefront on Gecko 6.3.0.

Results

  • Three more product types (57 products at the time of writing) now follow the store's delivery rules. Product count observed on the live store by The4.
  • Consistent cart dates: mixed carts with a light or artwork follow a single Lighting/Art schedule, verified live by The4.
  • No change to existing behaviour for the Lighting collection and Art products.
  • One week from start (7 Mar) to completion (14 Mar 2026), with the logic kept through the later Gecko 6.3 update.

All products of the three new types were in stock when The4 checked the live site, so the out-of-stock branch could not be observed directly. No sales or conversion figures were supplied for this project.

What this means for your store

  • Write delivery rules down before building them. A clear rule table, covering product type, stock status and cart contents, made this project quick to build and easy to check.
  • Decide which product sets the schedule. If small add-ons ship with a large item, let the large item decide the date for the whole cart.
  • List customizations before a theme update. Custom logic only survives an upgrade if someone knows it exists.

FAQ

Can Shopify show different delivery dates for in-stock and out-of-stock items?

Yes. On TOWARDS, the theme shows different date ranges depending on stock, and in-stock hardware hides the schedule altogether.

What happens when a cart mixes products with different delivery rules?

On this store, a Lighting or Art product takes priority, and the whole cart follows its schedule.

Does this kind of custom logic survive a theme update?

It can. The4 kept this logic through a Gecko 6.0.2 to 6.3 update by listing and checking every customization first.

Need store logic that follows your own rules?

The4 builds custom Liquid and JavaScript features on Gecko, Kalles and other Shopify themes.

Explore The4's Shopify services · Get a quote

Related projects

🔥 Limited-time deals

Start your project today

Contact Us
🔥 Limited-time deals

Start your project today

Contact Us
The4 Support Package
Vendor: The4 Official Site

Ask a question

The fields marked * are required.
Shopify Bug Fixing
Vendor: The4 Official Site

Ask a question

The fields marked * are required.
Shopify Landing Page Design
Vendor: The4 Official Site

Ask a question

The fields marked * are required.
Shopify Design for CRO
Vendor: The4 Official Site

Ask a question

The fields marked * are required.
Shopify Maintenance & Support
Vendor: The4 Official Site

Ask a question

The fields marked * are required.
Shopify Store Migration
Vendor: The4 Official Site

Ask a question

The fields marked * are required.
Shopify Speed Optimization
Vendor: The4 Official Site

Ask a question

The fields marked * are required.
🔥 Case study

How Yoga Junkies Scaled to 6 Figures with Kalles

Tyler Wisniewski started Yoga Junkies with a simple idea and a Kalles theme. Years later, the store has become a destination for yoga lovers worldwide.

Kalles and The4 team helped me bring Yoga Junkies to great growth and scale with a stunning, high-converting website.

Tyler Wisniewski Founder, Yoga Junkies
Watch Tyler's Story