shopify-wishlist icon indicating copy to clipboard operation
shopify-wishlist copied to clipboard

No Items are showing on the wishlist page

Open kingsley91au opened this issue 2 years ago • 2 comments

Hi there,

There are no items showing on the wishlist page, could you please help?

Kingsley

kingsley91au avatar Jun 29 '22 11:06 kingsley91au

What error are you getting on the console?

Andyrei avatar Aug 12 '22 09:08 Andyrei

@kingsley91au Hey The classname selector for your product card snippet may differ from theme to theme. If you view the product card snippet file you are using, you should find the classname on the outer most element in the snippet. Once you have that classname, update the Wishlist.js file in the selectors variable to reference the new classname.

Example: Product card classname: product-item (this will likely be different for you)

const selectors = {
  button: '[button-wishlist]',
  grid: '[grid-wishlist]',
  productCard: '.product-item', // updated to match my product card classname
};

dlerm avatar Jul 12 '23 20:07 dlerm