elasticpath / d2c-starter-kit

NextJS / React starter kit for D2C ecommerce
MIT License
4 stars 7 forks source link

feat: pdp cleanup #55

Closed field123 closed 1 year ago

field123 commented 1 year ago

Product Detail Page Updates

Event Bus

Added an event bus with hook useEvent to make it possible to subscribe to actions being performed by the useCart hook and any other hooks in the future.

netlify[bot] commented 1 year ago

Deploy Preview for epcc-d2c ready!

Name Link
Latest commit 9e88b6e7a44f3cf378b7e898c5b7cec62d24cf56
Latest deploy log https://app.netlify.com/sites/epcc-d2c/deploys/635fbdfcfa2acf0009debc46
Deploy Preview https://deploy-preview-55--epcc-d2c.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

field123 commented 1 year ago

A note about the quick view modal not closing. I've changed the way we handle add to cart using the useCart hook. Still need to add a new hook for dealing with passing the onClose for the modal disclosure.