Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Duplicate 'Add to Cart' Buttons on Product Cards #283

Closed
ak-0283 opened this issue Jan 10, 2025 · 3 comments · Fixed by #289
Closed

Fix Duplicate 'Add to Cart' Buttons on Product Cards #283

ak-0283 opened this issue Jan 10, 2025 · 3 comments · Fixed by #289
Assignees
Labels
BEGINNER SWOC Social Winter Of Code

Comments

@ak-0283
Copy link
Contributor

ak-0283 commented Jan 10, 2025

Description:

Currently, each product card in the "Our Cake Selection" section displays two identical "Add to Cart" buttons, which can confuse users. To resolve this issue, we need to identify the root cause in the code and remove the extra button, ensuring each product card has only one "Add to Cart" button. The updated product card should maintain its current design aesthetic while improving usability.

Steps to fix the issue:

  1. Review the HTML structure of the product card components.
  2. Check for repeated button code or loops that might generate duplicate buttons.
  3. Modify the code to retain only a single "Add to Cart" button per product card.
  4. Test the functionality to ensure the remaining button works correctly.
  5. Verify the design remains consistent across all screen sizes.

Preview
Screenshot 2025-01-10 112822

@ak-0283
Copy link
Contributor Author

ak-0283 commented Jan 10, 2025

Please reivew and assign it to me. @Mujtabaa07

@Mujtabaa07 Mujtabaa07 added BEGINNER SWOC Social Winter Of Code labels Jan 10, 2025
@Mujtabaa07
Copy link
Owner

@ak-0283 Assigned

@Mujtabaa07
Copy link
Owner

✅ This issue has been resolved in PR #289 by @ak-0283

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BEGINNER SWOC Social Winter Of Code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants