2024 New Folding Screen Privacy Hydrogel Soft Film Is Suitable For FD6/5/4/3
${function() {
const variantData = data.variant || {"id":"94df54ba-9a87-4bf2-a00a-919f83a974cb","product_id":"9f78e6a4-8c1b-4f0f-accd-ff40403711ca","title":"For Galaxy Z Fold4-Inner-Standard Packaging","weight_unit":"g","inventory_quantity":0,"sku":"q241025-ZFold4-nei","barcode":"","position":1,"option1":"For Galaxy Z Fold4","option2":"Inner","option3":"Standard Packaging","note":"","image":{"src":"\/\/img.staticdj.com\/fd09748c74f1b61f4be935b7d11e7fac.png","path":"fd09748c74f1b61f4be935b7d11e7fac.png","width":681,"height":498,"alt":"","aspect_ratio":1.3674698795180722},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"50","compare_at_price":"28.99","price":"19.99","retail_price":"28.99","available":true,"url":"\/products\/phs8?variant=94df54ba-9a87-4bf2-a00a-919f83a974cb","available_quantity":999999999,"options":[{"name":"Model","value":"For Galaxy Z Fold4"},{"name":"Style","value":"Inner"},{"name":"Package","value":"Standard Packaging"}],"off_ratio":31,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Model:
For Galaxy Z Fold4
${function(){
const optName = "Model";
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}
`
}()}
Style:
Inner
${function(){
const optName = "Style";
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}
`
}()}
Package:
Standard Packaging
${function(){
const optName = "Package";
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
$19.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":"94df54ba-9a87-4bf2-a00a-919f83a974cb","product_id":"9f78e6a4-8c1b-4f0f-accd-ff40403711ca","title":"For Galaxy Z Fold4-Inner-Standard Packaging","weight_unit":"g","inventory_quantity":0,"sku":"q241025-ZFold4-nei","barcode":"","position":1,"option1":"For Galaxy Z Fold4","option2":"Inner","option3":"Standard Packaging","note":"","image":{"src":"\/\/img.staticdj.com\/fd09748c74f1b61f4be935b7d11e7fac.png","path":"fd09748c74f1b61f4be935b7d11e7fac.png","width":681,"height":498,"alt":"","aspect_ratio":1.3674698795180722},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"50","compare_at_price":"28.99","price":"19.99","retail_price":"28.99","available":true,"url":"\/products\/phs8?variant=94df54ba-9a87-4bf2-a00a-919f83a974cb","available_quantity":999999999,"options":[{"name":"Model","value":"For Galaxy Z Fold4"},{"name":"Style","value":"Inner"},{"name":"Package","value":"Standard Packaging"}],"off_ratio":31,"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":"94df54ba-9a87-4bf2-a00a-919f83a974cb","product_id":"9f78e6a4-8c1b-4f0f-accd-ff40403711ca","title":"For Galaxy Z Fold4-Inner-Standard Packaging","weight_unit":"g","inventory_quantity":0,"sku":"q241025-ZFold4-nei","barcode":"","position":1,"option1":"For Galaxy Z Fold4","option2":"Inner","option3":"Standard Packaging","note":"","image":{"src":"\/\/img.staticdj.com\/fd09748c74f1b61f4be935b7d11e7fac.png","path":"fd09748c74f1b61f4be935b7d11e7fac.png","width":681,"height":498,"alt":"","aspect_ratio":1.3674698795180722},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"50","compare_at_price":"28.99","price":"19.99","retail_price":"28.99","available":true,"url":"\/products\/phs8?variant=94df54ba-9a87-4bf2-a00a-919f83a974cb","available_quantity":999999999,"options":[{"name":"Model","value":"For Galaxy Z Fold4"},{"name":"Style","value":"Inner"},{"name":"Package","value":"Standard Packaging"}],"off_ratio":31,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}