Sapnap Hoodie Harajuku Clothing for Men and Women Fashion Sweatshirt Spring and Autumn Models
${function() {
const variantData = data.variant || {"id":"31a6e863-0a0a-43e4-8c14-d1c27c725b51","product_id":"6f113451-05b2-43d3-a5ff-225488cec73f","title":"Beige-XXS","weight_unit":"kg","inventory_quantity":999,"sku":"32981191671-Beige-XXS","barcode":"","position":1,"option1":"Beige","option2":"XXS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3729d5cf0ffd8930cfe42909abd0ec11.jpeg","path":"3729d5cf0ffd8930cfe42909abd0ec11.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"32","price":"29.99","retail_price":"32","available":true,"url":"\/products\/sapnap-hoodie-harajuku-clothing-for-men-and-women-fashion-sweatshirt-spring-and-autumn-models?variant=31a6e863-0a0a-43e4-8c14-d1c27c725b51","available_quantity":999,"options":[{"name":"color","value":"Beige"},{"name":"size","value":"XXS"}],"off_ratio":6,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
color:
Beige
${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:
XXS
${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
$29.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":"31a6e863-0a0a-43e4-8c14-d1c27c725b51","product_id":"6f113451-05b2-43d3-a5ff-225488cec73f","title":"Beige-XXS","weight_unit":"kg","inventory_quantity":999,"sku":"32981191671-Beige-XXS","barcode":"","position":1,"option1":"Beige","option2":"XXS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3729d5cf0ffd8930cfe42909abd0ec11.jpeg","path":"3729d5cf0ffd8930cfe42909abd0ec11.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"32","price":"29.99","retail_price":"32","available":true,"url":"\/products\/sapnap-hoodie-harajuku-clothing-for-men-and-women-fashion-sweatshirt-spring-and-autumn-models?variant=31a6e863-0a0a-43e4-8c14-d1c27c725b51","available_quantity":999,"options":[{"name":"color","value":"Beige"},{"name":"size","value":"XXS"}],"off_ratio":6,"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.
North America: 10-15 days;
Europe: 5-10 days;