An open API service indexing awesome lists of open source software.

https://github.com/nehalskdev/sneaker-hub


https://github.com/nehalskdev/sneaker-hub

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# Shopify Product Page Implementation

A complete product page implementation with all the requested features, mimicking a Shopify storefront layout.

## Features Implemented

1. **Scrollable Product Images Gallery**
- Main image with thumbnails below
- Clicking thumbnails updates the main image
- Image zoom on hover (desktop only)

2. **Size Chart Button with Modal**
- Size chart button near size options
- Modal popup with size chart table
- Dismissible via close button, ESC key, or overlay click

3. **Product Variants**
- Color variations as swatches
- Size variations as buttons
- Visual feedback for selected variants
- Persistence using localStorage

4. **Compare Colors Button**
- Modal showing color swatches side-by-side

5. **Pair Well With Section**
- Horizontal scrollable row of complementary products
- Mobile-friendly touch scrolling

6. **Product Bundle Suggestion**
- Static bundle with individual and total prices
- "Add Bundle to Cart" button

7. **Product Info Tabs**
- Three tabs (Description, Product Information, Shipping Details)
- Toggle content visibility with pure JavaScript

8. **Related Products Section**
- Grid of 4 related product cards
- Optional badges ("New", "Popular")

## Bonus Features Implemented
- Image zoom on hover for the main product image
- Persistence of selected color/size using localStorage
- Micro-interactions (transitions, hover effects, tab animations)

## How to Run Locally

1. Clone this repository or download the ZIP file
2. Open the `index.html` file in your web browser
3. No server required - all functionality works locally

## Technical Details
- Built with vanilla HTML, CSS, and JavaScript
- Fully responsive (mobile, tablet, desktop)
- No external libraries or frameworks used
- Clean, modular, and well-commented code