Skip to content

Fix/desserts brownies cookies builder#665

Open
vidishaa27 wants to merge 4 commits into
adithyan-css:mainfrom
vidishaa27:fix/desserts-brownies-cookies-builder
Open

Fix/desserts brownies cookies builder#665
vidishaa27 wants to merge 4 commits into
adithyan-css:mainfrom
vidishaa27:fix/desserts-brownies-cookies-builder

Conversation

@vidishaa27
Copy link
Copy Markdown
Contributor

@vidishaa27 vidishaa27 commented Jun 4, 2026

📄 Description

This PR fixes multiple issues in the interactive product builder section for Desserts, Brownies, and Cookies.

Changes made:

  • Fixed flavor/variety selection buttons not highlighting correctly when selected.
  • Fixed pack size/box size selection buttons not updating active states.
  • Fixed dynamic image updates when switching between product variants.
  • Fixed price calculation logic for Desserts, Brownies, and Cookies.
  • Added structured fallback data for Desserts, Brownies and Cookies.
  • Implemented variant-based pricing (different prices for different pack sizes).
  • Fixed inconsistencies in variable names and function references across builders.
  • Improved state management for selected flavors and pack sizes.
  • Ensured UI updates correctly reflect user selections in real time.

These changes improve the overall user experience by making all product customization cards fully interactive and responsive to user input.


🔗 Related Issues

Fixes #575


🖼️ Screenshots (if applicable)

Before

image image image

After

image image image

🧩 Type of Change

  • 🐛 Bug Fix
  • ✨ New Feature
  • ⚡ Enhancement / Optimization
  • 🧰 Refactoring
  • 🧾 Documentation Update
  • 🔧 Other (please specify): ____________

✅ Checklist

  • I have performed a self-review of my code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have added or updated relevant documentation.
  • My changes do not break any existing functionality.
  • I have tested my changes locally and they work as expected.
  • I have linked all relevant issues (if any).

💬 Additional Notes (Optional)

This PR addresses the functionality of three product customization cards:

  • Exquisite Desserts
  • Signature Brownies
  • Gourmet Cookies

The fixes ensure consistent behavior across the entire product customization workflow and improve the shopping experience for users by providing accurate pricing, visual feedback, and dynamic product updates.

This PR is being raised under GSSOC 2026

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 4, 2026

@vidishaa27 is attempting to deploy a commit to the adithyansubramani1-1657's projects Team on Vercel.

A member of the Team first needs to authorize it.

@vidishaa27
Copy link
Copy Markdown
Contributor Author

Hey, @adithyan-css
I am a contributor of GSSOC 2026
It has been some time since i have raised this PR.
I am eagerly looking forward for you to respond.
Thank You

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Product Customization Cards Not Updating Selection, Price, or Cart Actions

1 participant