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

On wishlist page product title and image not showing #46

Open
yogesh1run opened this issue Mar 17, 2023 · 3 comments
Open

On wishlist page product title and image not showing #46

yogesh1run opened this issue Mar 17, 2023 · 3 comments

Comments

@yogesh1run
Copy link

On wishlist page there is product title and image not showing instead of these there is Example title showing

Please check here
https://prnt.sc/rc6wG6a88rJn

@yogesh1run
Copy link
Author

var productTileTemplateUrl = '/products/' + handle + '?view=card';
Above url is showing this
https://prnt.sc/F_L5cA4fWOmb

Please help me with this... thank in advance... i am using Dawn theme 8.0 version

@dlerm
Copy link
Owner

dlerm commented Jul 12, 2023

@yogesh1run That sample screenshot looks partially correct. The product title is showing up but the image is not.

Just FYI - the "product.card.json" template view is meant to be style-less - it's just raw html.

On that special template view, can you open your browser dev-tools element inspector and post a screenshot of the product card element with all sub elements expanded?

@dlerm
Copy link
Owner

dlerm commented Jul 21, 2023

I think the issue is actually that we are passing the product data into the product card snippet with the wrong variable name.

I think you want to use it like this (inside of sections/product-card-template.liquid):

 {%- render 'card-product', card_product: product -%}

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

No branches or pull requests

2 participants