-
Notifications
You must be signed in to change notification settings - Fork 76
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
product fetch url is returning data for some example product and not the actual product #31
Comments
@msachdev0307 Can you post the content of you product-card snippet? There may be some hard coded values in there. |
PFB the content for card-product.liquid. Also one thing to note is the regular price and sale price details are correct as per the values in my db. But the value for product title, url images are incorrect. {% comment %}
{% endcomment %} {{ 'component-rating.css' | asset_url | stylesheet_tag }} {%- if card_product and card_product != empty -%}
{%- if card_product.featured_media -%}
{{ 'onboarding.product_title' | t }}
{%- if show_vendor -%}
{{ 'accessibility.vendor' | t }}
{{ 'products.product.vendor' | t }}
{%- endif -%}
{% render 'price' %}
{%- endif -%}
<style scoped>
.icon {
fill: transparent;
stroke: #000000;
transition: fill 0.3s ease;
}
{%- endif -%}
|
@msachdev0307 I think the issues is that we are passing the product data into the snippet incrrectly. Your snippet requires the product variable to be named In the section
|
when the data is to be displayed in the wishlist page '/product/handle?view=card; fetch url is returning data for some example product and not the actual product
The text was updated successfully, but these errors were encountered: