PRoduct crawl failed. What needs to be present in the crawl

I get some good product crawls but others fail.

[Details] We have not been able to find item with id ‘DIL-CAP-GRN-LG’ at ‘https://mydomain.com/products/capsule-large/’.

It seems the first (top of a list) product definition is fine, but others in the html page fail.

Which data-item-XX HAVE to be present in the html file offered in the data-item-url

data-item-id=
data-item-description=
data-item-price=
data-item-weight=
 ...

Does the information need to be in a <button>
tag?
Can a normal <li> or <div> tag suffice?
Is class="snipcart-add-item" or id="add-item-button" required?
Does the data-item-url need to match?

I am using an international price as such

data-item-price="{"usd":39.0,"cad":49.0,"jpy":5026,"aud":56,"gbp":33,"eur":36}"

But dont think its that issue since the first one matches the format.

Hey Adrian,

data-item-id, data-item-name, data-item-price are the only required tags. If you offer integrated shipping, data-item-weight is also required.

Any html tag suffice. So <li> and <div> should work.

class="snipcart-add-item" is required for every snipcart item.

data-item-url needs to be the same for every item on the same page. But it is not required for later versions of Snipcart, if omitted it will send the current page with window.location.href.

It was the lack of snipcart-add-item in the class.
That should be in some manual.

To clarify, does data-item-url needs to match the original one sent during the purchase/checkout.

I do offer integrated shipping so does that mean data-item-weight is needed in BOTH the add button and the product crawl process?
Same with width, length and height in BOTH.

There is bug in the products section of the dashboard.
When using international prices immediately after a product FETCH all the prices and currencies show properly in the dashboard.
Once a users submits an order in a certain currency, only that currency and price show in the product section. All the other international prices are gone.
I thought that was my issue but it was not. Turns out that it’s an interface/view error. All currency and prices are still accepted as expected.

The string snipcart-add-item needs to be in the class.

snipcart-add-itemXXXX will work. Funstuff indeed

Just to be super precise
Is that for BOTH the initial setup for adding to cart AND the later product crawl

@Adrian yes that’s right product dimensions must be defined in both the product definition in your HTML page AND the later product crawl.

@mrlemieux
Ok thanks.
Ill assume that everything sent must be present.