-
${item.product_title}${item.options.map(option => `${option.name}: ${option.value}`).join('')} ${(() => { const properties = JSON.parse(item.properties || '{}'); return Object.keys(properties).map(prop => { if (prop.startsWith('_')) return ''; const val = properties[prop]; if (/(\/\/.*\.(?:png|jpg|jpeg|gif|svg))/i.test(val)) { return `${prop}: View image`; } return `
${prop}:${val}
`; }).join(''); })()}Free gift*Remove(-${discount_item.title} )
-
${function(){
let liDom = '';
const items = [
{
text: landing_page_info.product.buy_product.text,
class: "",
value: 1
},
{
text: landing_page_info.product.obtain_product.text,
class: "cart-coupon-code-modal-tab__obtain",
value: 2,
is_obtain
}
];
for (item of items) {
liDom += `
- ${ item.text } ` } return liDom; }()}

