Patchwork Embroidery Wide-Leg Pants Boho
people are viewing this right now
${function() {
const variantData = data.variant || {"id":"c0fa4e20-018a-4aff-bfc8-9cb3698fc034","product_id":"3d3218e8-2d19-4567-96ac-0add3a4d82be","title":"pink-XS(US 4\/UK 8\/EU 36)","weight_unit":"kg","inventory_quantity":10000,"sku":"A2026071416-pink-XS(US 4\/UK 8\/EU 36)-A0011100","barcode":"","position":1,"option1":"pink","option2":"XS(US 4\/UK 8\/EU 36)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8ae0187266e68ae230b9d2d7b37be7cf.png","path":"8ae0187266e68ae230b9d2d7b37be7cf.png","width":941,"height":1672,"alt":"","aspect_ratio":0.562799043062201},"wholesale_price":[{"price":25.19,"min_quantity":1}],"weight":"0.5","compare_at_price":"45.99","price":"25.19","retail_price":"45.99","available":true,"url":"\/products\/patchwork-embroidery-wide-leg-pants-boho?variant=c0fa4e20-018a-4aff-bfc8-9cb3698fc034","available_quantity":999999999,"options":[{"name":"Color","value":"pink"},{"name":"Size","value":"XS(US 4\/UK 8\/EU 36)"}],"off_ratio":"45","flashsale_info":{"variant_id":"c0fa4e20-018a-4aff-bfc8-9cb3698fc034","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":"25.19","compare_at_price":"","discount_price":"25.19","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"45","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${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}
`
}()}
${function() {
const minInventory = parseInt('10');
const maxInventory = parseInt('50');
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 `
`;
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"c0fa4e20-018a-4aff-bfc8-9cb3698fc034","product_id":"3d3218e8-2d19-4567-96ac-0add3a4d82be","title":"pink-XS(US 4\/UK 8\/EU 36)","weight_unit":"kg","inventory_quantity":10000,"sku":"A2026071416-pink-XS(US 4\/UK 8\/EU 36)-A0011100","barcode":"","position":1,"option1":"pink","option2":"XS(US 4\/UK 8\/EU 36)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8ae0187266e68ae230b9d2d7b37be7cf.png","path":"8ae0187266e68ae230b9d2d7b37be7cf.png","width":941,"height":1672,"alt":"","aspect_ratio":0.562799043062201},"wholesale_price":[{"price":25.19,"min_quantity":1}],"weight":"0.5","compare_at_price":"45.99","price":"25.19","retail_price":"45.99","available":true,"url":"\/products\/patchwork-embroidery-wide-leg-pants-boho?variant=c0fa4e20-018a-4aff-bfc8-9cb3698fc034","available_quantity":999999999,"options":[{"name":"Color","value":"pink"},{"name":"Size","value":"XS(US 4\/UK 8\/EU 36)"}],"off_ratio":"45","flashsale_info":{"variant_id":"c0fa4e20-018a-4aff-bfc8-9cb3698fc034","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":"25.19","compare_at_price":"","discount_price":"25.19","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"45","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
| SPU: |
A2026071416 |
| Material: |
Blended |
| Style: |
Casual |
| Size: |
XS/S/M/L/XL/2XL/3XL |
Pants Size:
| Size |
Waist |
Hips |
Length |
| CM |
inch |
CM |
inch |
CM |
inch |
| XS |
65 |
26.0 |
100 |
40.0 |
100 |
40.0 |
| S |
69 |
27.2 |
104 |
40.9 |
101 |
39.8 |
| M |
74 |
29.1 |
108 |
42.5 |
102 |
40.2 |
| L |
79 |
31.1 |
112 |
44.1 |
103 |
40.6 |
| XL |
84 |
33.1 |
116 |
45.7 |
104 |
40.9 |
| 2XL |
89 |
35.0 |
120 |
47.2 |
105 |
41.3 |
| 3XL |
94 |
37.0 |
124 |
48.8 |
106 |
41.7 |
/** @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-1779181026469').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}","Cryptorh")}
To display this card to customers, you need to go to "Booster & Store Conversion" to turn on the trust enhancement feature.
Your shopping bag is empty
-
*${item.quantity}
${item.item_text}
${discount_item.title}
(-)
${function() {
const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/);
if (textArray.length > 0 && textArray.length < 2) {
textArray.push('');
}
return textArray.map((text, index) => {
if (index == 0) {
return `${text}`;
}
return `
${text}
`;
}).join('');
}()}
${function() {
const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/);
if (textArray.length > 0 && textArray.length < 2) {
textArray.push('');
}
return textArray.map((text, index) => {
if (index == 0) {
return `${text}`;
}
return `
${text}
`;
}).join('');
}()}
-
${discount_application.title}:
-
${data.invalid_msg}
Taxes and shipping calculated at checkout
${data.invalid_msg}
${function() {
const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/);
if (textArray.length > 0 && textArray.length < 2) {
textArray.push('');
}
return textArray.map((text, index) => {
if (index == 0) {
return `${text}`;
}
return `
${text}
`;
}).join('');
}()}
${function() {
const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/);
if (textArray.length > 0 && textArray.length < 2) {
textArray.push('');
}
return textArray.map((text, index) => {
if (index == 0) {
return `${text}`;
}
return `
${text}
`;
}).join('');
}()}
${function() {
const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/);
if (textArray.length > 0 && textArray.length < 2) {
textArray.push('');
}
return textArray.map((text, index) => {
if (index == 0) {
return `${text}`;
}
return `
${text}
`;
}).join('');
}()}
-
${discount_application.title}:
-
${data.invalid_msg}
Taxes and shipping calculated at checkout
-
Subtotal:
-
${discount_application.title}:
-
Taxes and shipping calculated at checkout
const summaryStickyRender = document.querySelector('#cart-drawer-summary-sticky-render');
if (summaryStickyRender) {
document.body.style.setProperty('--cart-drawer-summary-sticky-height', summaryStickyRender.clientHeight + 'px');
}