shopify-wishlist
shopify-wishlist copied to clipboard
No Items are showing on the wishlist page
Hi there,
There are no items showing on the wishlist page, could you please help?
Kingsley
What error are you getting on the console?
@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
};