Your shopping cart is empty
Continue shopping
Cart
${item.product_title}
${item.options.map(option => option.value).join(' / ')}
${(item.parsedProperties || []).map((propertie)=>{
if (propertie.isImage){
return `${propertie.name}: View image
`
}else{
return `${propertie.name}: ${propertie.value}
`
}
}).join('')}
*${item.quantity}
Free gift
${
(item.discount_applications || []).map(discount_item => {
const discount_item_amount = discount_item.discount_amount || discount_item.amount || '';
return `
${discount_item.title}(- )
`
}).join('')
}
You may also like
${ data.originData.message }
${data.available ?
`
` : ''}
${function(){
return (data.product.options || []).map((option, index) => {
const optionName = option.name || '';
const optionId = option.id || '';
return `
`
}).join('')
}()}
${function(){
const { currentOptName, originData: { selectData, value } } = data;
const optionValue = selectData ? selectData[currentOptName].value[0] : value;
return `${optionValue}`
}()}
${function(){
return (data.product.options || []).map((option, index) => {
const optionName = option.name || '';
const optionId = option.id || '';
return `
`
}).join('')
}()}
${function(){
const { currentOptName, originData: { selectData, value } } = data;
const optionValue = selectData ? selectData[currentOptName].value[0] : value;
return `${optionValue}`
}()}
${data.originData.message}
Add
`
}()}
${data.map( item => {
return `
${item}
`
}).join('')}
Below discount codes are unavailable
${data.map( item => {
return `
${item}
`
}).join('')}
${function(){
const code_data = data.originData.list;
if (!code_data || !code_data.length) return '';
const recommendDom = `
Recommend discount codes
`;
const discountCodeListDom = code_data.map( item => {
item.end_at = item.end_at == -1 ? item.end_at : item.end_at * 1000;
item.start_at *= 1000;
return `
-
`
}).join('');
return `
${discountCodeListDom}
`
}()}
${item.discount_text}
${item.code}
${recommendDom}
${recommendDom}
Add note
Write something here to seller.
${(data.data && data.data.note) ? data.data.note : (data.note || data.value || '')}
${data.total_discount > 0 ? '-' : ''}
Taxes and shipping calculated at checkout