Corduroy Surf Shorts Unisex Street Retro Skateboard Shorts
${function() {
const variantData = data.variant || {"id":"83a8f6dd-2d88-45dd-8456-93d7fc109e70","product_id":"eb847b73-968d-45f5-9167-72f30852ecf8","title":"Blue green-M","weight_unit":"kg","inventory_quantity":999,"sku":"1784888942464675841","barcode":"","position":1,"option1":"Blue green","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/df7bf820234f5d51517fd5db0d75d668.jpeg","path":"df7bf820234f5d51517fd5db0d75d668.jpeg","width":3000,"height":3000,"alt":"edaae725079bb2d200740963d30e09e4","aspect_ratio":1},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"500","compare_at_price":"0","price":"26.99","retail_price":"0","available":true,"url":"\/products\/corduroy-surf-shorts-unisex-street-retro-skateboard-shorts-z3x1?variant=83a8f6dd-2d88-45dd-8456-93d7fc109e70","available_quantity":999999999,"options":[{"name":"Color","value":"Blue green"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Blue green
${function(){
const optName = "Color";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Size:
M
${function(){
const optName = "Size";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$26.99
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]);
const productVariant = {"id":"83a8f6dd-2d88-45dd-8456-93d7fc109e70","product_id":"eb847b73-968d-45f5-9167-72f30852ecf8","title":"Blue green-M","weight_unit":"kg","inventory_quantity":999,"sku":"1784888942464675841","barcode":"","position":1,"option1":"Blue green","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/df7bf820234f5d51517fd5db0d75d668.jpeg","path":"df7bf820234f5d51517fd5db0d75d668.jpeg","width":3000,"height":3000,"alt":"edaae725079bb2d200740963d30e09e4","aspect_ratio":1},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"500","compare_at_price":"0","price":"26.99","retail_price":"0","available":true,"url":"\/products\/corduroy-surf-shorts-unisex-street-retro-skateboard-shorts-z3x1?variant=83a8f6dd-2d88-45dd-8456-93d7fc109e70","available_quantity":999999999,"options":[{"name":"Color","value":"Blue green"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
people are viewing this right now