Toddler/kids Girl Sweet Style Linen and Cotton Crossbody Chain Bags
Toddler/kids Girl Sweet Style Linen and Cotton Crossbody Chain Bags
${function() {
const variantData = data.variant || {"id":"eff9bc17-3e75-4bc2-8297-c9f2debcb05c","product_id":"35d54055-9c57-4a0d-88d7-baebc34a4970","title":"White-One Size","weight_unit":"kg","inventory_quantity":8,"sku":"20859362","barcode":"","position":2,"option1":"White","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0616b349e30d7c3c0592d1fb49271b90.jpeg","path":"0616b349e30d7c3c0592d1fb49271b90.jpeg","width":800,"height":800,"alt":"Toddler\/kids Girl Sweet Style Linen and Cotton Crossbody Chain Bags","aspect_ratio":1},"wholesale_price":[{"price":7.69,"min_quantity":1}],"weight":"0.16","compare_at_price":"10.99","price":"6.15","retail_price":"10.99","available":true,"url":"\/products\/585845-toddler-kids-girl-sweet-style-linen-and-cotton-crossbody-chain-bags-9xid?variant=eff9bc17-3e75-4bc2-8297-c9f2debcb05c","available_quantity":8,"options":[{"name":"COLOR","value":"White"},{"name":"SIZE","value":"One Size"}],"off_ratio":"44","flashsale_info":{"variant_id":"eff9bc17-3e75-4bc2-8297-c9f2debcb05c","product_id":"","quantity":0,"discount_id":"","limit_time":0,"limit_buy":0,"user_limit_buy":0,"discount_sales":0,"discount_sales_rate":"","discount_stock":0,"ends_at":0,"starts_at":0,"allow_oversold":"","allocation_method":"","price":"6.15","compare_at_price":"","discount_price":"6.15","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"44","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":0};
const saveType = null;
const productSaveLabel = null;
return `
-
${ variantData.off_ratio }%
(Tax included)
`; }()}
${function() {
const minInventory = parseInt('7');
const maxInventory = parseInt('10');
const randomInventory = Math.round(Math.random() * (maxInventory - minInventory)) + minInventory;
const customText = "Only {stock} item(s) left in stock!".replace(/\{stock\}/g, '' + randomInventory + '');
const barWidth = (randomInventory / maxInventory) * 100 + '%';
return `
`;
}()}
people are viewing this right now
${function(){
return `
Please select a COLOR
`;
}()}
${function(){
return `
Please select a SIZE
`;
}()}
/** @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, targetId) {
this.containerId = '#' + containerId;
this.targetId = '#' + targetId;
}
scrollToTarget() {
const container = document.querySelector(this.containerId);
const target = container.querySelector(this.targetId);
const {scrollTop} = container;
const eleOffsetTop = this.getOffsetTop_(target, container);
this.viewport_
.interpolateScrollIntoView_(
container,
scrollTop,
scrollTop + eleOffsetTop
);
}
initActions_() {
this.registerAction(
'scrollToTarget',
(invocation) => this.scrollToTarget(invocation?.caller)
);
this.registerAction(
'setTarget',
(invocation) => this.setTarget(invocation?.args?.containerId, invocation?.args?.targetId)
);
}
/**
* @param {Element} element
* @param {Element} container
* @return {number}
* @private
*/
getOffsetTop_(element, container) {
if (!element./*OK*/ getClientRects().length) {
return 0;
}
const rect = element./*OK*/ getBoundingClientRect();
if (rect.width || rect.height) {
return rect.top - container./*OK*/ getBoundingClientRect().top;
}
return rect.top;
}
}
SPZ.defineElement('spz-custom-anchor-scroll', SpzCustomAnchorScroll);
const STRENGTHEN_TRUST_URL = "/api/strengthen_trust/settings";
class SpzCustomStrengthenTrust extends SPZ.BaseElement {
constructor(element) {
super(element);
this.renderElement_ = null;
}
isLayoutSupported(layout) {
return layout == SPZCore.Layout.CONTAINER;
}
buildCallback() {
this.xhr_ = SPZServices.xhrFor(this.win);
const renderId = this.element.getAttribute('render-id');
SPZCore.Dom.waitForChild(
document.body,
() => !!document.getElementById(renderId),
() => {
this.renderElement_ = SPZCore.Dom.scopedQuerySelector(
document.body,
`#${renderId}`
);
if (this.renderElement_) {
this.render_();
}
this.registerAction('track', (invocation) => {
this.track_(invocation.args);
});
}
);
}
render_() {
this.fetchData_().then((data) => {
if (!data) {
return;
}
SPZ.whenApiDefined(this.renderElement_).then((apis) => {
apis?.render(data);
document.querySelector('#strengthen-trust-render-1539149753700').addEventListener('click',(event)=>{
if(event.target.nodeName == 'A'){
this.track_({type: 'trust_content_click'});
}
})
});
});
}
track_(data = {}) {
const track = window.sa && window.sa.track;
if (!track) {
return;
}
track('trust_enhancement_event', data);
}
parseJSON_(string) {
let result = {};
try {
result = JSON.parse(string);
} catch (e) {}
return result;
}
fetchData_() {
return this.xhr_
.fetchJson(STRENGTHEN_TRUST_URL)
.then((responseData) => {
if (!responseData || !responseData.data) {
return null;
}
const data = responseData.data;
const moduleSettings = (data.module_settings || []).reduce((result, moduleSetting) => {
return result.concat(Object.assign(moduleSetting, {
logos: (moduleSetting.logos || []).map((item) => {
return moduleSetting.logos_type == 'custom' ? this.parseJSON_(item) : item;
})
}));
}, []);
return Object.assign(data, {
module_settings: moduleSettings,
isEditor: window.self !== window.top,
});
});
}
}
SPZ.defineElement('spz-custom-strengthen-trust', SpzCustomStrengthenTrust);
${data.module_title}
To display this card to customers, you need to go to "Booster & Store Conversion" to turn on the trust enhancement feature.
${item.content.replaceAll("{store_name}","小铺")}
To display this card to customers, you need to go to "Booster & Store Conversion" to turn on the trust enhancement feature.
Product was out of stock.
Enjoy free shipping on every order, delivered to your doorstep no matter where you are in the world.
Shop with confidence with our hassle-free returns policy, ensuring you love what you buy.
Designed with the planet in mind, all our products are committed to sustainable practices.
Your payment information is always protected with our advanced, encrypted checkout security.
Product Introduction:This cotton and linen blend bag, suitable for children aged 3-10, boasts a chic and elegant design that can be worn as a single-shoulder or crossbody bag. Perfect for your little fashionista's everyday adventures.;
Weight :
0.16
kg
Sku :
20859363
${function(){
const variantData = data.variant || {"id":"42ee7f8f-adc6-47df-95d2-0f85703ecf9e","product_id":"35d54055-9c57-4a0d-88d7-baebc34a4970","title":"Black-One Size","weight_unit":"kg","inventory_quantity":0,"sku":"20859363","barcode":"","position":1,"option1":"Black","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d8570205d151d1f9ecd043051d2ec6fd.jpeg","path":"d8570205d151d1f9ecd043051d2ec6fd.jpeg","width":800,"height":800,"alt":"Toddler\/kids Girl Sweet Style Linen and Cotton Crossbody Chain Bags","aspect_ratio":1},"wholesale_price":[{"price":7.69,"min_quantity":1}],"weight":"0.16","compare_at_price":"10.99","price":"6.15","retail_price":"10.99","available":false,"url":"\/products\/585845-toddler-kids-girl-sweet-style-linen-and-cotton-crossbody-chain-bags-9xid?variant=42ee7f8f-adc6-47df-95d2-0f85703ecf9e","available_quantity":0,"options":[{"name":"COLOR","value":"Black"},{"name":"SIZE","value":"One Size"}],"off_ratio":"44","flashsale_info":{"variant_id":"42ee7f8f-adc6-47df-95d2-0f85703ecf9e","product_id":"","quantity":0,"discount_id":"","limit_time":0,"limit_buy":0,"user_limit_buy":0,"discount_sales":0,"discount_sales_rate":"","discount_stock":0,"ends_at":0,"starts_at":0,"allow_oversold":"","allocation_method":"","price":"6.15","compare_at_price":"","discount_price":"6.15","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"44","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":0};
return `
Vendor by :
${data.product && data.product.vendor}
Weight :
${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode :
${variantData && variantData.barcode}
Sku :
${variantData && variantData.sku}
Inventory :
${variantData && variantData.available_quantity}
` }()}