3-12 Years Boys Dj Marshmello Long Sleeve Tracksuit Cosplay Costume
Size-
4Y
${function(){
const enable_selected_variants = "true" === 'false';
const optionValue = data.value;
return `
${optionValue ? `${enable_selected_variants ? '-' : ''}${optionValue}` : ''}
`;
}()}
${function(){
return `
Please select a Size
`;
}()}
${function() {
const variantData = data.variant || {"id":"476d2bfd-5d02-4ccd-a554-e6d81c6b18f5","product_id":"7a6d798a-68ad-4652-af73-ffcafd56077c","title":"4Y","weight_unit":"kg","inventory_quantity":0,"sku":"MY_6077c-4Y-","barcode":"","position":1,"option1":"4Y","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":31,"min_quantity":1}],"weight":"0.3","compare_at_price":"31","price":"31","retail_price":"31","available":true,"url":"\/products\/3-12-years-boys-dj-marshmello-long-sleeve-tracksuit-cosplay-costume?variant=476d2bfd-5d02-4ccd-a554-e6d81c6b18f5","available_quantity":999999999,"options":[{"name":"Size","value":"4Y"}],"off_ratio":0,"flashsale_info":[],"sales":5};
const saveType = "amount";
const productSaveLabel = true;
return `
-
${saveType == 'percent' ? `-${variantData.off_ratio}% ` : `- ` }
`; }()}
Add to cart
- $31.00
${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]) || Object.keys(data).length > 1 ? data : null;
const productVariant = {"id":"476d2bfd-5d02-4ccd-a554-e6d81c6b18f5","product_id":"7a6d798a-68ad-4652-af73-ffcafd56077c","title":"4Y","weight_unit":"kg","inventory_quantity":0,"sku":"MY_6077c-4Y-","barcode":"","position":1,"option1":"4Y","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":31,"min_quantity":1}],"weight":"0.3","compare_at_price":"31","price":"31","retail_price":"31","available":true,"url":"\/products\/3-12-years-boys-dj-marshmello-long-sleeve-tracksuit-cosplay-costume?variant=476d2bfd-5d02-4ccd-a554-e6d81c6b18f5","available_quantity":999999999,"options":[{"name":"Size","value":"4Y"}],"off_ratio":0,"flashsale_info":[],"sales":5};
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 it now
Product was out of stock.
Product is unavailable.