Commit graph

25 commits

Author SHA1 Message Date
isUnknown
b59d841d39 merge sliders
All checks were successful
Deploy / Deploy to Production (push) Successful in 6s
2025-12-22 10:22:36 +01:00
isUnknown
3ba37020ff Fix Snipcart v3 API compatibility for order completion redirect
Update event listener from deprecated v2 Snipcart.execute to v3 Snipcart.events.on API. Change event from 'order.completed' (webhook-only) to 'cart.confirmed' (client-side) and update parameter from order to cartState to match v3 structure.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-22 10:21:28 +01:00
isUnknown
010c4f6c20 thanks : style
All checks were successful
Deploy / Deploy to Production (push) Successful in 10s
2025-12-22 10:07:03 +01:00
Julie Blanc
48b744e8f1 delete temp img 2025-12-19 19:36:44 +01:00
Julie Blanc
14438b642b style gallery 2025-12-19 19:35:22 +01:00
isUnknown
57037fc435 Fix multilingual support for product data and thank you redirect
All checks were successful
Deploy / Deploy to Production (push) Successful in 7s
- Add translate: false to price, hasOptions, and optionValues fields
- Make thank you page redirect language-aware (detects /fr/ prefix)
- Ensure stock, weight, dimensions, and options are shared between languages

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-19 18:05:37 +01:00
isUnknown
7359d43125 Fix button text update when selecting product option
All checks were successful
Deploy / Deploy to Production (push) Successful in 7s
- Update button text from "Choisissez une option" to "Ajouter au panier" when option is selected
- Add data-default-text attribute to preserve translated text
- Improve UX by providing clear feedback when option is selected

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-19 17:45:15 +01:00
isUnknown
1aa64a7396 Add thank you page and fix webhook stock update
All checks were successful
Deploy / Deploy to Production (push) Successful in 7s
- Create thank you page template with bilingual content (FR/EN)
- Add automatic redirect to /thanks after successful payment
- Fix webhook: move kirby()->impersonate() before product update
- Add error handling in webhook with try-catch
- Pass order token to thank you page for future enhancements
- Update thank you page styling for better UX

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-19 17:37:34 +01:00
isUnknown
f7a69482fc Add package dimensions for shipping calculation
- Add length, width, and height fields to product blueprint (in centimeters)
- Add corresponding data-item attributes for Snipcart shipping calculation
- Enable volume-based shipping cost calculation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-19 17:29:43 +01:00
isUnknown
2d66529c9a Add shipping weight support for Snipcart delivery calculation
All checks were successful
Deploy / Deploy to Production (push) Successful in 16s
- Add weight field to product blueprint (in grams)
- Add data-item-shippable and data-item-weight attributes to product template
- Enable Snipcart to calculate shipping costs based on product weight

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-19 17:12:51 +01:00
isUnknown
ee5eed49e6 Improve disabled button UX with custom message and no hover effect
All checks were successful
Deploy / Deploy to Production (push) Successful in 6s
- Disable hover animation on disabled add-to-cart button
- Display "Choisissez une option" message when button is disabled
- Add cursor: not-allowed and opacity styling for disabled state
- Format SCSS for better code consistency

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-19 17:05:00 +01:00
isUnknown
a961ade257 Remove Snipcart product validation URL to simplify configuration
All checks were successful
Deploy / Deploy to Production (push) Successful in 13s
- Remove data-item-url attribute from product add-to-cart button
- Use direct HTML attributes for Snipcart instead of server-side validation
- Aligns with lapasseggiata project configuration that works without validation endpoint

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-19 16:50:45 +01:00
isUnknown
22afa818f1 Add Snipcart product validation endpoint and improve product gallery
All checks were successful
Deploy / Deploy to Production (push) Successful in 6s
- Add route handler for /validate.json to enable Snipcart product validation
- Update product gallery to display all product images instead of just the first one
- Fix CSS styling for product gallery list items
- Update home page to use first sorted image as product cover

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-19 16:39:16 +01:00
isUnknown
44ed53aae0 prevent css cache
All checks were successful
Deploy / Deploy to Production (push) Successful in 7s
2025-12-12 11:08:09 +01:00
isUnknown
1ca2fcfeee product > details : preserve line jump
All checks were successful
Deploy / Deploy to Production (push) Successful in 9s
2025-12-12 10:59:53 +01:00
isUnknown
30d09d6104 Add responsive image optimization with WebP support
- Configure thumbs presets in config.php (quality 85%, WebP format)
- Create picture snippet with srcset and WebP support
- Add product-card and product-detail presets
- Update templates to use optimized images
- Implement native lazy loading for product cards
- Add aspect-ratio CSS for layout stability

Improvements over reference project:
- Complete PHPDoc documentation
- Native CSS aspect-ratio support
- Optimized lazy loading strategy
- Product-specific image presets

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-10 16:00:58 +01:00
isUnknown
9c91a87720 Refactor: Extract header and footer into reusable snippets
All checks were successful
Deploy / Deploy to Production (push) Successful in 7s
- Created site/snippets/header.php with parameterized title and template
- Created site/snippets/footer.php with optional additional scripts
- Updated home.php and product.php to use the new snippets
- Reduces code duplication and improves maintainability

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-10 15:54:25 +01:00
isUnknown
24997f746d fix ci
All checks were successful
Deploy / Deploy to Production (push) Successful in 6s
2025-12-10 15:37:59 +01:00
isUnknown
e595a61a21 fix ci
Some checks failed
Deploy / Deploy to Production (push) Failing after 6s
2025-12-10 15:36:47 +01:00
isUnknown
9ba2faadde fix ci
Some checks failed
Deploy / Deploy to Production (push) Failing after 7s
2025-12-10 15:34:06 +01:00
isUnknown
010be5b893 fix CI
Some checks failed
Deploy / Deploy to Production (push) Failing after 6s
2025-12-10 15:33:05 +01:00
isUnknown
0f0cf82ca9 CI : Use simple git clone instead of checkout action
Some checks failed
Deploy / Deploy to Production (push) Failing after 9s
2025-12-10 15:30:50 +01:00
isUnknown
b0fbfaefcd CI : fix flow
Some checks failed
Deploy / Deploy to Production (push) Failing after 58s
2025-12-10 15:17:13 +01:00
isUnknown
87987665f3 CI : update runner
Some checks are pending
Deploy / Deploy to Production (push) Waiting to run
2025-12-10 15:14:50 +01:00
isUnknown
a3620a1f5f first commit
Some checks are pending
Deploy / Deploy to Production (push) Waiting to run
2025-12-10 15:12:06 +01:00