SalesforceCommerceCloud / pwa-kit

React-based JavaScript frontend framework to create a progressive web app (PWA) storefront for Salesforce B2C Commerce.
https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/guide/pwa-kit-overview.html
BSD 3-Clause "New" or "Revised" License
285 stars 135 forks source link

[BUG] Pencil Skirt Bug #1611

Open joeluong-sfcc opened 11 months ago

joeluong-sfcc commented 11 months ago

Summary

https://pwa-kit.mobify-storefront.com/global/en-GB/search?q=skirt

For some reason the pencil skirt product exhibits weird properties. If you search for skirt in the PLP, and you search for another item, say shorts, the pencil skirt persists.

Screenshot 2023-12-08 at 1 02 56 PM

Furthermore, if you search skirt and spam click between the two price filter options, you end up with a PLP page full of pencil skirts

Screenshot 2023-12-08 at 1 04 49 PM

Short summary of what is going on or to provide context.

Steps To Reproduce

  1. visit https://pwa-kit.mobify-storefront.com/global/en-GB/search?limit=25&q=skirt

  2. search for shorts

  3. see that pencil skirt persists on PLP

  4. visit https://pwa-kit.mobify-storefront.com/global/en-GB/search?limit=25&q=skirt

  5. click on the price filter and switch choices several times

  6. see that the pencil skirt product tile takes over the page

Expected result

pencil skirt does not appear on other PLP searches unless applicable

pencil skirt is filtered properly by price

Actual result

pencil skirt appears on other PLP searches after searched for, (search skirt then shorts and its on the shorts page)

pencil skirt fills the page when switching between the two price filters when you search for skirt on PLP

System Information (as applicable)

Browser: Chrome Node version: pwa-kit version: Desktop OS: Mobile Device Info:

Additional information

Feel free to attach a screenshot.

wjhsf commented 11 months ago

worth noting that this doesn't happen for products / other searches. ⁉️

vcua-mobify commented 2 months ago

Screenshot 2024-09-12 at 3 41 31 PM

I wonder if this is caused by the fact that Pencil Skirt naturally appears multiple times when searching for skirts?

vcua-mobify commented 2 months ago

https://github.com/user-attachments/assets/79fa9652-401d-4069-994a-7f86301b3b4a

git2gus[bot] commented 1 month ago

This issue has been linked to a new work item: W-17028588