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

ALFMOB-162: Improve Wishlist Functionality on PLP & Wishlist #42

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

JoaoPinhoMinder
Copy link
Contributor

@JoaoPinhoMinder JoaoPinhoMinder commented Mar 11, 2025

Ticket

https://mindera.atlassian.net/browse/ALFMOB-162

Depends on: #41

Description

  • Created WishlistProduct and BagProduct inheriting from SelectedProduct.
  • Made WishlistProduct unique by product ID and color ID.
  • Made BagProduct unique by product ID and variant SKU.
  • Removed size information from WishlistView and ProductListingView.
  • Updated "Add to Bag" action in WishlistView to redirect users to PDP for size selection instead of adding directly to the bag.
  • Disabled "Add to Bag" button on PDP until both color (pre-selected) and size have been selected.

Evidences

Screen.Recording.2025-03-12.at.09.40.43.mov

In the **Bag** and **Wishlist** screens, tapping on a product cell now redirects the user to the **PDP** of the selected item, ensuring a smooth transition while preserving selected attributes like size and color.

**Changes & Improvements:**
- Made product cells tappable, including a tap effect for better user feedback.
- Renamed `SelectionProduct` to `SelectedProduct` for better clarity.
- Updated `SelectedProduct` to include `Product` and `Product.Variant` properties.
- Implemented a mechanism to open **PDP** with a `SelectedProduct`.
- Fixed an issue in `buildColorAndSizingSelectionConfigurations` where the `Product.Variant` parameter was not being properly used.
@JoaoPinhoMinder JoaoPinhoMinder force-pushed the task/ALFMOB-162-improve-wishlist-functionality-on-plp-and-wishlist branch 4 times, most recently from 37c5029 to 399378d Compare March 12, 2025 09:20
@JoaoPinhoMinder JoaoPinhoMinder marked this pull request as ready for review March 12, 2025 09:52
@JoaoPinhoMinder JoaoPinhoMinder marked this pull request as draft March 12, 2025 10:16
@JoaoPinhoMinder JoaoPinhoMinder force-pushed the task/ALFMOB-162-improve-wishlist-functionality-on-plp-and-wishlist branch from 399378d to b07538a Compare March 12, 2025 10:38
@JoaoPinhoMinder JoaoPinhoMinder marked this pull request as ready for review March 12, 2025 10:38
- Created `WishlistProduct` and `BagProduct` inheriting from `SelectedProduct`.
- Made `WishlistProduct` unique by **product ID and color ID**.
- Made `BagProduct` unique by **product ID and variant SKU**.
- Removed size information from `WishlistView` and `ProductListingView`.
- Updated **"Add to Bag"** action in `WishlistView` to redirect users to **PDP** for size selection instead of adding directly to the bag.
- Disabled **"Add to Bag"** button on **PDP** until both **color** (pre-selected) and **size** have been selected.
@JoaoPinhoMinder JoaoPinhoMinder force-pushed the task/ALFMOB-162-improve-wishlist-functionality-on-plp-and-wishlist branch from b07538a to f5fc889 Compare March 12, 2025 16:47
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.

1 participant