GAR BETHE 2024 Summer Boys Sport Shorts Kids Casual Lettter Printed Pants For Teens 2-12y Children's Cotton Clothing With Pocket Design
${function() {
const variantData = data.variant || {"id":"2f6e7ac1-9bd9-4929-9107-378fcea4d1f2","product_id":"0a63cb65-c0e5-4b7c-8d91-e959ddf5a6da","title":"23 black-2T","weight_unit":"kg","inventory_quantity":845,"sku":"","barcode":"","position":1,"option1":"23 black","option2":"2T","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c5d238f8334171ef6e9ca306c525627f.jpeg","path":"c5d238f8334171ef6e9ca306c525627f.jpeg","width":400,"height":400,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":10,"min_quantity":1}],"weight":"0","compare_at_price":"15.4","price":"10","retail_price":"15.4","available":true,"url":"\/products\/gar-bethe-2024-summer-boys-sport-shorts-kids-casual-lettter-printed-pants-for-teens-2-12y-childrens-cotton-clothing-with-pocket-design?variant=2f6e7ac1-9bd9-4929-9107-378fcea4d1f2","available_quantity":999999999,"options":[{"name":"Color","value":"23 black"},{"name":"Size","value":"2T"}],"off_ratio":35,"flashsale_info":[],"sales":328};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
23 black
${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:
2T
${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
$10.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]);
const productVariant = {"id":"2f6e7ac1-9bd9-4929-9107-378fcea4d1f2","product_id":"0a63cb65-c0e5-4b7c-8d91-e959ddf5a6da","title":"23 black-2T","weight_unit":"kg","inventory_quantity":845,"sku":"","barcode":"","position":1,"option1":"23 black","option2":"2T","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c5d238f8334171ef6e9ca306c525627f.jpeg","path":"c5d238f8334171ef6e9ca306c525627f.jpeg","width":400,"height":400,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":10,"min_quantity":1}],"weight":"0","compare_at_price":"15.4","price":"10","retail_price":"15.4","available":true,"url":"\/products\/gar-bethe-2024-summer-boys-sport-shorts-kids-casual-lettter-printed-pants-for-teens-2-12y-childrens-cotton-clothing-with-pocket-design?variant=2f6e7ac1-9bd9-4929-9107-378fcea4d1f2","available_quantity":999999999,"options":[{"name":"Color","value":"23 black"},{"name":"Size","value":"2T"}],"off_ratio":35,"flashsale_info":[],"sales":328};
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.