Project

General

Profile

Edit Copy Actions

Bug #11624

open

The products which are filtered &showed in e-commerce as those enabled e-commerce true & deliverable as true

Added by Yalavarthi Thriveni 11 days ago. Updated 3 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Start date:
10/22/2026
Due date:
% Done:

100%

Estimated time:
1:00 h
Spent time:
Tested Date:
10/22/2026
Raised by Tester:
Page/ Module (POS):
Products – Products

Add

Subtasks


Add

Related issues

Updated by Ajit A 3 days ago

Feature: Storefront must only display products that are both E-Commerce enabled and delivery-eligible Fix: Added { isDelivery: true } guard to all 6 backend storefront query paths across

product.service.js
(getProductsByCategoryId, getProductForManageEcom, getProductForEcommerce) and

shop-controller.js
(publicGetAllProducts, getPublicSitemap) and

weatherProduct.controller.js
(baseVisibility). All internal POS, cart, and admin queries are intentionally left unaffected. 31 existing products in nursery.nurseryproducts migrated via updateMany to backfill isDelivery: true.

Bug: Creating a product with E-Commerce enabled did not automatically mark it as deliverable, causing it to be invisible on the storefront after backend filter enforcement Fix: Updated handleChange in

CreateProduct.tsx
to auto-set isDelivery: true when showInEcomm is toggled on, and false when toggled off. Both React formData state and AntD form.setFieldsValue are kept synchronized. Submit payload now enforces strict Boolean() casts on both flags to prevent string type ("true") from being persisted.

Bug: Editing an existing product showed E-Commerce and Is Deliverable checkboxes as unchecked despite the flags being set, due to string "true" vs boolean true mismatch from the API response Fix: Explicit Boolean(val === true || val === 'true') cast applied to showInEcomm and isDelivery in both updatedFormData construction and form.setFieldsValue in the product edit hydration block of

CreateProduct.tsx
.

Feature: SeasonalForYou home rail lacks horizontal scroll arrow navigation and has inconsistent indentation vs. other home rails Fix: Wired railRef from useHomeRail to the product container div and applied home-card-rail no-scrollbar classes in

SeasonalForYou.tsx
, consistent with WeatherPicks.tsx and FestivalCollectionTiles.tsx. Reformatted indentation to project 2-space standard.

Actions #2

Updated by Ajit A 3 days ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
Edit Copy Actions

Also available in: Atom PDF