Open trieloff opened 6 years ago
Additional questions:
product
of productlistitem
references to? The product or the variant? For a multi variant product like a t-shirt it must reference the variantname
should be localizedpriceTotal
is not enough, especially for a cart item list there are multiple relevant prices (net price, cross price, unit price, discounts, tax etc.)Some answers:
Is the assumption correct that the most common example of a list where a product list item can show up is the shopping cart?
Does it make sense to identify the list itself, by name or ID?
Can the quantity of a product in a list be smaller than 0?
Does the SKU link refer to a variant or master, as outlined in #79 ?
what is the use case for "product list"? I think you be either totally generic for cart, product listing, search results, ... or dedicated object definitions for the list types
what is product of productlistitem references to? The product or the variant? For a multi variant product like a t-shirt it must reference the variant
name should be localized
- I would love us to have a localized spec for XDM. This is a much larger topic.
priceTotal is not enough, especially for a cart item list there are multiple relevant prices (net price, cross price, unit price, discounts, tax etc.)
- Agreed, we feel we can add those and that we are not yet in a position to determine the exact list. At least we do not have luck finding people who want to make a firm proposal in this area yet.
for a cart list there must be some kind of type for the entry item, like is this a regular product, a promotion product added automatically etc.
Does it make sense to identify the list itself, by name or ID?
Yes it may, I would like to understand the the set of use cases we want to enable more on this, the commerce team are working on that but I do not have an ETA.
Within XDM the use case is very simple: anything that has an @id
can be referenced and theoretically be retrieved directly through an API. Things that do not have an @id
can only be retrieved indirectly.
In the case of a product list: without an @id
, it is only usable being embedded into an ExperienceEvent
, i.e. there is no canonical persistence of any product list or shopping cart, because every ExperienceEvent
has to send a new representation of the shopping cart.
@trieloff What is an ExperienceEvent
?
For a shopping cart I think an @id
will work, most commerce vendors allow to directly retrieve a shopping cart via API by using a cart id. What "version" of shopping cart they return is implementation detail. Some vendors always return a fresh representation of the shopping cart, some not (they require to trigger a re-calc action first).
@mhaack https://github.com/adobe/xdm/blob/master/docs/reference/context/experienceevent.schema.md
The ExperienceEvent
is an observed and recorded interaction or impression. Stuff like
would all become visible as ExperienceEvent
s
@mhaack , @trieloff
Are there open items you want resolved from this thread. If so highlight them and I will work on them, if not please close.
Yes working with @martinbuergi to suggest some minor changes.
Questions on product list item.