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

Product Crawl Failed Error #2

Closed
cghisi opened this issue Feb 25, 2020 · 1 comment
Closed

Product Crawl Failed Error #2

cghisi opened this issue Feb 25, 2020 · 1 comment

Comments

@cghisi
Copy link

cghisi commented Feb 25, 2020

Hi,

I followed the tutorial and implement snipcart in NuxtJS with the V3 but when I want to checkout I have an error (test checkout). I tried different combinations on the snipcart button according to the debug log without success.

INF > Found 0 snipcart-add-item elements with ids []

WRN> An attempt to create an order with invalid products has been made. Don't forget you can't add/update items attributes in the cart dynamically with javascript as it will cause crawling issues.

I tried with the V2 and V3 of the snipcart and the problem persists.

<b-button
                expanded
                href="#"
                class="snipcart-add-item is-medium"
                :data-item-id="story.content._uid"
                :data-item-name="story.content.title"
                :data-item-description="story.content.simple_description"
                :data-item-price="story.content.price"
                :data-item-quantity="quantity"
                :data-item-url="`https://nuxtjssnipcart.now.sh${currentUrl}`"
                :data-item-image="story.content.images[0].filename"
              >SHOP NOW</b-button>

Thanks

@DominikAngerer
Copy link
Member

DominikAngerer commented Feb 26, 2020

That sounds a lot like a problem with Snipcart itself - rather than the implementation in Nuxt our the API of Storyblok. I would recommend asking the Snipcart support for potential solutions.

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