Generate Cart Item
Last updated
Was this helpful?
Last updated
Was this helpful?
As an alternative, or supplemental, to the traditional and methods, Spectrum can generate the payload data for a cart item.
An e-commerce system can call the following method, provided by Spectrum on the window object:
Which will trigger Spectrum to return the payload data via a native promise.