${function() {
const variantData = data.variant || {"id":"b6f09624-453a-4102-a1d3-d3010d4c014b","product_id":"6a4a6cc4-c55a-4ade-8730-451ff7e9d990","title":"1-XS","weight_unit":"kg","inventory_quantity":1000,"sku":"1 XS-142233290","barcode":"","position":1,"option1":"1","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3be4173acfcdc211958cb481117ed4fe.jpeg","path":"3be4173acfcdc211958cb481117ed4fe.jpeg","width":800,"height":800,"alt":"Women's Sexy Fashion Pullover Printed V-Neck Zip T-Shirt","aspect_ratio":1},"wholesale_price":[{"price":20.22,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"20.22","retail_price":"0","available":true,"url":"\/products\/womens-sexy-fashion-pullover-printed-v-neck-zip-t-shirt-209351727249?variant=b6f09624-453a-4102-a1d3-d3010d4c014b","available_quantity":999999999,"options":[{"name":"Color","value":"1"},{"name":"Size","value":"XS"}],"off_ratio":0,"flashsale_info":[],"sales":2};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
/** @private {string} */
class SpzCustomAnchorScroll extends SPZ.BaseElement {
static deferredMount() {
return false;
}
constructor(element) {
super(element);
/** @private {Element} */
this.scrollableContainer_ = null;
}
isLayoutSupported(layout) {
return layout == SPZCore.Layout.LOGIC;
}
buildCallback() {
this.viewport_ = this.getViewport();
this.initActions_();
}
setTarget(containerId, tar