DEV Community

ri ki
ri ki

Posted on

Umemura Farm Website – Devlog #23: Building a Product Recommendation System and Improving Seasonal Display Logic

Today's Work: Structuring the E-Commerce Sites Listing Page

Today I started structuring the ec sites listing page.

There are currently four different EC sites, each with its own pricing and product availability.

I plan to implement a recommendation system where users first answer a few questions.

Based on their answers, the most suitable EC site will be suggested. This will help guide users toward the best shopping option for their needs.


Challenge: Seasonal Display Logic Needs Refinement

Previously, seasonal content (products and text) was displayed based on fixed date ranges.

However, in reality, some products are sold during overlapping time periods, meaning more than one product can be available at the same time.

The current logic only allows one product to be shown at a time, even when two are valid.

I began updating this system so that multiple products can be shown when their availability periods overlap.

This work is still in progress and will continue tomorrow.


Next Steps

  • Finish updating on the seasonal logic to support multiple simultaneous products.
  • Continue refining the EC product listing layout.
  • Begin designing the question-based recommendation UI.

Today’s tasks helped lay the foundation for a more flexible and user-friendly e-commerce experience. Still a work in progress, but moving in the right direction.


tags: portfolio, webdev, nextjs, javascript, ecommerce

Top comments (0)