Bug #11507
openBug #11462: Issues in products with variants in admin panel as well as e-commerce
E-commerce Issues: Variant Management, Product Images, Inactive Product Filtering, Cart Status, My Orders Page Loading, and Order Placement Failure
Description
1. New variant options should be added to the existing variant instead of creating a new variant. For example, if 2 KG needs to be added, it should be added to the existing Pack Size variant along with the current options.
2. In cards, Product images should change according to the selected variant like Product Details page. If a variant does not have its own image, it has to show the primary uploaded main images instead of showing the previous variant image.
3. Inactive products should not appear in Recently Viewed. Also, if a subcategory contains only one product and that product is inactive, the subcategory name should not appear in the filters.
4. When the 1 KG variant is already added to the cart, the other variants (250 GM and 500 GM) should display “Add to Cart” instead of showing “Added.”
5. The My Orders page is not loading and displays a “Page Could Not Load” error due to a missing ReturnDestinationWarehouse export in trustApi.ts.
6. While placing an order, the request fails with a 500 Internal Server Error because the backend cannot find the cancellationPolicySnapshot module, resulting in the order not being placed.
Subtasks
Related issues