06 β Product Detail Page
Four Fixes That Matter at Decision Time
The product page is where shoppers decide whether to buy. Gallery clipping, a completely broken reviews section, simple product layout issues, and missing compliance labels were all resolved.
4
product page issues fixed
352
lines of new gallery CSS
483
lines of new reviews CSS
0
pages missing MRP labels
Gallery Lightbox Rebuilt
352 lines of new CSS Β· 4 bugs fixed
Before the refactor, clicking a product image opened a modal that clipped the image on both sides, had no way to browse other images without using oversized arrows, and couldn't be closed by clicking outside. Four separate bugs, all in the same lightbox.


The gallery area before opening the lightbox

The gallery has no thumbnail strip β shoppers can only navigate using the left/right arrows overlaid on the main image. The refactor adds a dedicated thumbnail row beneath, so all product images are browsable at a glance.
Before β 4 open bugs
- βImage clips at left and right edges β parts of the product are hidden
- βNo thumbnails β shoppers don't know how many images exist
- βClick outside does nothing β must find the Γ button to close
- βGallery pop-up sometimes invisible on first load (FOUC)
After β all four resolved
- βFull-width image, no clipping β the whole product is visible
- βThumbnail strip shows all images β tap any to jump directly
- βClick anywhere outside the image to close the overlay
- βNo more flash β gallery and price visible from first paint
Reviews Section: From Missing to Rebuilt
483 lines of new CSS Β· Aggregate summary + card layout
On the current production site, the reviews section is completely absent. Shoppers scroll past the product description and hit the footer β no reviews tab, no rating breakdown, no review cards. The section doesn't render at all.
Reviews are one of the top conversion drivers in e-commerce
Shoppers who read reviews are significantly more likely to add to cart. Losing the reviews section entirely means losing the social proof that turns browsers into buyers. The refactor fixes the rendering bug and delivers a fully redesigned reviews experience.
483
lines of new CSS dedicated to the reviews redesign

The page ends with product description and goes straight to the footer. No reviews section renders at all β not even an empty placeholder.

Aggregate summary
Overall star rating, total count, and a breakdown bar chart showing how reviews are distributed across 1β5 stars.
Card-based layout
Each review sits in its own clean card β reviewer name, date, verified purchase badge, and the written review.
Write a Review CTA
Encouraged with a prominent button that links directly to the review form, making it easy for customers to contribute.
Simple Product Pages Cleaned Up
FOUC eliminated Β· duplicate blocks removed Β· image cutoff fixed
Child products β individual size or colour variants β have their own dedicated page. Before the refactor, these pages had duplicate Magento blocks that caused the layout to jump on load, a product image that was cut off, and a quantity stepper that appeared even when it shouldn't.
Before and after β same product, same page


Before
- βDuplicate core Magento blocks loaded β layout jumps as the page settles (FOUC)
- βProduct image cut off vertically β top or bottom of the product hidden
- βQuantity stepper (β 1 +) visible even though it's unnecessary on a simple product
- βDead canvas code path loaded in background β wasted processing
After
- βDuplicate blocks removed β page renders in final layout immediately, no jumps
- βImage displays correctly β full product visible within the gallery frame
- βQuantity stepper hidden on simple products where it has no purpose
- βDead code removed β faster parsing, cleaner DOM
Indian MRP Compliance Labels
Legal requirement for all Indian e-commerce Β· added to all product types
Indian consumer protection law requires that e-commerce sites clearly display the Maximum Retail Price (MRP) for every product. The production site was showing a raw price range without the required βPrice (MRP)β label β a compliance gap that needed to be fixed before the refactor went live.

Price shows as ββΉ899 -βΉ5145β β a range with no label. Indian law requires this to be displayed as βPrice (MRP): βΉ899 β βΉ5,145β so shoppers understand it represents the government-set maximum retail price.

What changes
Covers all product types. The label is styled as a small prefix above the price, keeping it visible without disrupting the purchase flow.
Why this is non-negotiable
The Legal Metrology (Packaged Commodities) Rules and the Consumer Protection (E-Commerce) Rules require Indian e-commerce platforms to display the MRP on all products. Non-compliance can result in penalties. The label was added as part of the CSS refactor to ensure Art Lounge meets this requirement before the updated storefront goes live.
Four product page fixes, one confident buying experience
The product page is the most important page on any e-commerce site. Gallery clipping, missing reviews, layout jumps on simple products, and a compliance gap β all four were shipping-blockers. They're now resolved.
4
product page issues resolved before go-live