Women's Art Gudun Historical Black Girls Long Sleeve Hoodie
${function() {
const variantData = data.variant || {"id":"97c7f069-8576-426d-ac8b-eb7dca3d3a7d","product_id":"8b27f8c4-cef0-4c73-8b97-f426de368a49","title":"Brown-S","weight_unit":"g","inventory_quantity":0,"sku":"417984shwywy-Brown-S","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6c7e21cc74b378acec32f201e38a9efc.jpeg","path":"6c7e21cc74b378acec32f201e38a9efc.jpeg","width":819,"height":1024,"alt":"","aspect_ratio":0.7998046875},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"388","compare_at_price":"0","price":"33.99","retail_price":"0","available":true,"url":"\/products\/womens-art-gudun-historical-black-girls-long-sleeve-hoodie?variant=97c7f069-8576-426d-ac8b-eb7dca3d3a7d","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
const map = {
B: ` `,
C: ` `,
A: `
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`
}
const price_group_arr = ["B","C","A"];
const price_str_arr = price_group_arr.map(type => map[type]);
return `
-
${price_str_arr.join('')}
`;
}()}
Color:
Brown
${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:
S
${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
$33.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":"97c7f069-8576-426d-ac8b-eb7dca3d3a7d","product_id":"8b27f8c4-cef0-4c73-8b97-f426de368a49","title":"Brown-S","weight_unit":"g","inventory_quantity":0,"sku":"417984shwywy-Brown-S","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6c7e21cc74b378acec32f201e38a9efc.jpeg","path":"6c7e21cc74b378acec32f201e38a9efc.jpeg","width":819,"height":1024,"alt":"","aspect_ratio":0.7998046875},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"388","compare_at_price":"0","price":"33.99","retail_price":"0","available":true,"url":"\/products\/womens-art-gudun-historical-black-girls-long-sleeve-hoodie?variant=97c7f069-8576-426d-ac8b-eb7dca3d3a7d","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"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 does not exist
SKU : 417984shwywy-Brown-S
${function(){
const variantData = data.variant || {"id":"97c7f069-8576-426d-ac8b-eb7dca3d3a7d","product_id":"8b27f8c4-cef0-4c73-8b97-f426de368a49","title":"Brown-S","weight_unit":"g","inventory_quantity":0,"sku":"417984shwywy-Brown-S","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6c7e21cc74b378acec32f201e38a9efc.jpeg","path":"6c7e21cc74b378acec32f201e38a9efc.jpeg","width":819,"height":1024,"alt":"","aspect_ratio":0.7998046875},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"388","compare_at_price":"0","price":"33.99","retail_price":"0","available":true,"url":"\/products\/womens-art-gudun-historical-black-girls-long-sleeve-hoodie?variant=97c7f069-8576-426d-ac8b-eb7dca3d3a7d","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
SKU : ${variantData && variantData.sku}
Barcode : ${variantData && variantData.barcode}
`
}()}