Men's White Casual Fashion Two Piece Set
Sku : YP220711679-White suit-M
${function(){
const variantData = data.variant || {"id":"d536d897-0068-43f6-9fee-4153f0c215ae","product_id":"41587797-244b-4a17-aa4d-3c5502d80c9c","title":"White suit-M","weight_unit":"kg","inventory_quantity":0,"sku":"YP220711679-White suit-M","barcode":"","position":1,"option1":"White suit","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d354d659b1e107f05d9fd69e70001fe0.png","path":"d354d659b1e107f05d9fd69e70001fe0.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":79.95,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"79.95","retail_price":"0","available":true,"url":"\/products\/mens-white-casual-fashion-two-piece-set?variant=d536d897-0068-43f6-9fee-4153f0c215ae","available_quantity":999999999,"options":[{"name":"Color","value":"White suit"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":7};
return `
Sku : ${variantData && variantData.sku}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const variantData = data.variant || {"id":"d536d897-0068-43f6-9fee-4153f0c215ae","product_id":"41587797-244b-4a17-aa4d-3c5502d80c9c","title":"White suit-M","weight_unit":"kg","inventory_quantity":0,"sku":"YP220711679-White suit-M","barcode":"","position":1,"option1":"White suit","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d354d659b1e107f05d9fd69e70001fe0.png","path":"d354d659b1e107f05d9fd69e70001fe0.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":79.95,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"79.95","retail_price":"0","available":true,"url":"\/products\/mens-white-casual-fashion-two-piece-set?variant=d536d897-0068-43f6-9fee-4153f0c215ae","available_quantity":999999999,"options":[{"name":"Color","value":"White suit"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":7};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
Order >> 5-10 days to processing. Delivery>> 10-15 days to arrive
${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, 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}","SUITMENS")}
To display this card to customers, you need to go to "Booster & Store Conversion" to turn on the trust enhancement feature.
Description
Its exclusive elegance and luxurious touch assert a trendy, sporty fit to our Athleisure Set.
The textured fabric gives the set a sense of uniqueness to upgrade any style.
Pair it with white trainers and casual beanie for laid-back style on the
Style: Casual
Material: Polyester Linen
Collar: V-Neck
Pant Closure Type: Drawstring
Gender: Men
Size |
Bust |
Shoulder |
Length |
Sleeve |
Pants length |
Hip |
Waistline |
cm |
inch |
cm |
inch |
cm |
inch |
cm |
inch |
cm |
inch |
cm |
inch |
cm |
inch |
M |
104 |
40.9 |
43 |
32.00 |
72 |
28.3 |
23 |
9.1 |
110 |
43.31 |
105 |
41.34 |
74 |
29.1 |
L |
108 |
42.5 |
44 |
17.32 |
73 |
28.7 |
24 |
9.4 |
111 |
43.70 |
109 |
42.91 |
77 |
30.3 |
XL |
112 |
44.1 |
45 |
33.00 |
74 |
29.1 |
25 |
9.8 |
112 |
44.09 |
113 |
44.49 |
80 |
31.5 |
2XL |
116 |
45.7 |
46 |
18.11 |
75 |
29.5 |
26 |
10.2 |
113 |
44.49 |
117 |
46.06 |
83 |
32.7 |
3XL |
120 |
47.2 |
47 |
34.00 |
76 |
29.9 |
27 |
10.6 |
114 |
44.88 |
121 |
47.64 |
86 |
33.9 |
4XL |
124 |
48.8 |
48 |
18.90 |
77 |
30.3 |
28 |
11.0 |
115 |
45.28 |
125 |
49.21 |
89 |
35.1 |
${function() {
const minDays = parseInt('10');
const maxDays = parseInt('15');
const customText = "Estimated Delivery\uff1a{min_date} - {max_date}";
const minDate = new Date(Date.now() + (minDays * 86400000));
const maxDate = new Date(Date.now() + (maxDays * 86400000));
const formatDate = (minDate.getFullYear() == maxDate.getFullYear() && minDate.getFullYear() == new Date().getFullYear())
? new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit' })
: new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit', year: 'numeric' });
const tipText = customText.replace(/\{min_date\}/g, '' + formatDate.format(minDate) + '')
.replace(/\{max_date\}/g, '' + formatDate.format(maxDate) + '');
return `
${tipText}
`;
}()}
${function() {
const postageFreeAmount = 99;
const custom_text = "Buy {amount} more to enjoy FREE Shipping";
const totalPrice = +data.total_price;
const diffPrice = postageFreeAmount - totalPrice;
const percentDiff = (diffPrice > 0 ? (totalPrice / postageFreeAmount * 100) : 100) + '%';
let tipText = "Your order is free delivery";
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
`;
}()}