Electroplating hand frame integrated pen insertion card Fd4/5/6 leather cover
${function() {
const variantData = data.variant || {"id":"05756799-828d-43a2-8045-78cdacf9306b","product_id":"2eabe859-c6c6-49ba-a191-eb0cc5effc42","title":"Black-For Samsung Galaxy Z Fold 5-Without pen","weight_unit":"g","inventory_quantity":0,"sku":"77221228-ZFold5-HEI","barcode":"","position":1,"option1":"Black","option2":"For Samsung Galaxy Z Fold 5","option3":"Without pen","note":"","image":{"src":"\/\/img.staticdj.com\/bb3f6344812e476806d1bd57e4c45fce.webp","path":"bb3f6344812e476806d1bd57e4c45fce.webp","width":768,"height":794,"alt":"","aspect_ratio":0.9672544080604534},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"63","compare_at_price":"46.99","price":"29.99","retail_price":"46.99","available":true,"url":"\/products\/m5?variant=05756799-828d-43a2-8045-78cdacf9306b","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Model","value":"For Samsung Galaxy Z Fold 5"},{"name":"Style","value":"Without pen"}],"off_ratio":36,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
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}
`
}()}
Model:
For Samsung Galaxy Z Fold 5
${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:
Without pen
${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}
`
}()}
Add to cart
$29.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":"05756799-828d-43a2-8045-78cdacf9306b","product_id":"2eabe859-c6c6-49ba-a191-eb0cc5effc42","title":"Black-For Samsung Galaxy Z Fold 5-Without pen","weight_unit":"g","inventory_quantity":0,"sku":"77221228-ZFold5-HEI","barcode":"","position":1,"option1":"Black","option2":"For Samsung Galaxy Z Fold 5","option3":"Without pen","note":"","image":{"src":"\/\/img.staticdj.com\/bb3f6344812e476806d1bd57e4c45fce.webp","path":"bb3f6344812e476806d1bd57e4c45fce.webp","width":768,"height":794,"alt":"","aspect_ratio":0.9672544080604534},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"63","compare_at_price":"46.99","price":"29.99","retail_price":"46.99","available":true,"url":"\/products\/m5?variant=05756799-828d-43a2-8045-78cdacf9306b","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Model","value":"For Samsung Galaxy Z Fold 5"},{"name":"Style","value":"Without pen"}],"off_ratio":36,"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":"05756799-828d-43a2-8045-78cdacf9306b","product_id":"2eabe859-c6c6-49ba-a191-eb0cc5effc42","title":"Black-For Samsung Galaxy Z Fold 5-Without pen","weight_unit":"g","inventory_quantity":0,"sku":"77221228-ZFold5-HEI","barcode":"","position":1,"option1":"Black","option2":"For Samsung Galaxy Z Fold 5","option3":"Without pen","note":"","image":{"src":"\/\/img.staticdj.com\/bb3f6344812e476806d1bd57e4c45fce.webp","path":"bb3f6344812e476806d1bd57e4c45fce.webp","width":768,"height":794,"alt":"","aspect_ratio":0.9672544080604534},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"63","compare_at_price":"46.99","price":"29.99","retail_price":"46.99","available":true,"url":"\/products\/m5?variant=05756799-828d-43a2-8045-78cdacf9306b","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Model","value":"For Samsung Galaxy Z Fold 5"},{"name":"Style","value":"Without pen"}],"off_ratio":36,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}