Summer Leisure Salamander Pattern Men's T-shirt Hip Hop 3D Print Personality Funny Tees Round Neck Short Sleeve Tops
${function() {
const variantData = data.variant || {"id":"01a07ebf-243d-4cff-9bed-d58b2985a514","product_id":"202b61f8-6095-4aa3-9b73-d14ddce87aa4","title":"be20022-Asian size XS","weight_unit":"kg","inventory_quantity":999,"sku":"3256805610780306-be20022-Asian size XS","barcode":"","position":1,"option1":"be20022","option2":"Asian size XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e05207d954218035efc0be9bb205ebf1.jpeg","path":"e05207d954218035efc0be9bb205ebf1.jpeg","width":800,"height":800,"alt":"Cotton Tshirt Summer Leisure Salamander Pattern Men's T-shirt Hip Hop 3D Print Personality Funny Tees Round Neck Short Sleeve Tops t -shirt Tee","aspect_ratio":1},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.15","compare_at_price":"0","price":"23.99","retail_price":"0","available":true,"url":"\/products\/summer-leisure-salamander-pattern-mens-t-shirt-hip-hop-3d-print-personality-funny-tees-round-neck-short-sleeve-tops?variant=01a07ebf-243d-4cff-9bed-d58b2985a514","available_quantity":999,"options":[{"name":"Color","value":"be20022"},{"name":"Size","value":"Asian size XS"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
be20022
${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:
Asian size XS
${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
$23.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":"01a07ebf-243d-4cff-9bed-d58b2985a514","product_id":"202b61f8-6095-4aa3-9b73-d14ddce87aa4","title":"be20022-Asian size XS","weight_unit":"kg","inventory_quantity":999,"sku":"3256805610780306-be20022-Asian size XS","barcode":"","position":1,"option1":"be20022","option2":"Asian size XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e05207d954218035efc0be9bb205ebf1.jpeg","path":"e05207d954218035efc0be9bb205ebf1.jpeg","width":800,"height":800,"alt":"Cotton Tshirt Summer Leisure Salamander Pattern Men's T-shirt Hip Hop 3D Print Personality Funny Tees Round Neck Short Sleeve Tops t -shirt Tee","aspect_ratio":1},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.15","compare_at_price":"0","price":"23.99","retail_price":"0","available":true,"url":"\/products\/summer-leisure-salamander-pattern-mens-t-shirt-hip-hop-3d-print-personality-funny-tees-round-neck-short-sleeve-tops?variant=01a07ebf-243d-4cff-9bed-d58b2985a514","available_quantity":999,"options":[{"name":"Color","value":"be20022"},{"name":"Size","value":"Asian size XS"}],"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.
${function(){
const variantData = data.variant || {"id":"01a07ebf-243d-4cff-9bed-d58b2985a514","product_id":"202b61f8-6095-4aa3-9b73-d14ddce87aa4","title":"be20022-Asian size XS","weight_unit":"kg","inventory_quantity":999,"sku":"3256805610780306-be20022-Asian size XS","barcode":"","position":1,"option1":"be20022","option2":"Asian size XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e05207d954218035efc0be9bb205ebf1.jpeg","path":"e05207d954218035efc0be9bb205ebf1.jpeg","width":800,"height":800,"alt":"Cotton Tshirt Summer Leisure Salamander Pattern Men's T-shirt Hip Hop 3D Print Personality Funny Tees Round Neck Short Sleeve Tops t -shirt Tee","aspect_ratio":1},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.15","compare_at_price":"0","price":"23.99","retail_price":"0","available":true,"url":"\/products\/summer-leisure-salamander-pattern-mens-t-shirt-hip-hop-3d-print-personality-funny-tees-round-neck-short-sleeve-tops?variant=01a07ebf-243d-4cff-9bed-d58b2985a514","available_quantity":999,"options":[{"name":"Color","value":"be20022"},{"name":"Size","value":"Asian size XS"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}