$product = {"id":7931692154979,"title":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 隱藏的軌跡","handle":"iphone-12-pro-mod-nx-magsafe-bir03","description":null,"published_at":"2026-01-27T14:09:46+08:00","created_at":"2025-11-28T11:44:36+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-everydayishappybirthday","device-iPhone 12 Pro","merge","reseller-everydayishappybirthday"],"price":110000,"price_min":110000,"price_max":110000,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":43861578055779,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"MPB01185C1-BIR03","requires_shipping":true,"taxable":true,"featured_image":{"id":34863946334307,"product_id":7931692154979,"position":8,"created_at":"2025-11-28T11:44:44+08:00","updated_at":"2025-11-28T11:44:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a3dc8a906c19f76de10506b3ed5d4ea38a2047b.webp?v=1764301486","variant_ids":[43861578055779]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 隱藏的軌跡 - Lavender","public_title":"Lavender","options":["Lavender"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01185C1-BIR03","featured_media":{"alt":null,"id":26428365111395,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a3dc8a906c19f76de10506b3ed5d4ea38a2047b.webp?v=1764301486"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861581430883,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0118504-BIR03","requires_shipping":true,"taxable":true,"featured_image":{"id":34863947022435,"product_id":7931692154979,"position":11,"created_at":"2025-11-28T11:44:46+08:00","updated_at":"2025-11-28T11:44:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f07c725c2863de9e9ba0ae2026d658ac88418be.webp?v=1764301488","variant_ids":[43861581430883]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 隱藏的軌跡 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118504-BIR03","featured_media":{"alt":null,"id":26428365963363,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f07c725c2863de9e9ba0ae2026d658ac88418be.webp?v=1764301488"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861581463651,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118524-BIR03","requires_shipping":true,"taxable":true,"featured_image":{"id":34863946170467,"product_id":7931692154979,"position":7,"created_at":"2025-11-28T11:44:44+08:00","updated_at":"2025-11-28T11:44:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc56a772527bc68a590f02bfb84173b66b08540e.webp?v=1764301486","variant_ids":[43861581463651]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 隱藏的軌跡 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118524-BIR03","featured_media":{"alt":null,"id":26428364914787,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc56a772527bc68a590f02bfb84173b66b08540e.webp?v=1764301486"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861581627491,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"MPB0118569-BIR03","requires_shipping":true,"taxable":true,"featured_image":{"id":34863944892515,"product_id":7931692154979,"position":1,"created_at":"2025-11-28T11:44:41+08:00","updated_at":"2025-11-28T11:44:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94e375d46270ba8131f3e8853f650788471b278f.webp?v=1764301483","variant_ids":[43861581627491]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 隱藏的軌跡 - Graphite","public_title":"Graphite","options":["Graphite"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118569-BIR03","featured_media":{"alt":null,"id":26428363669603,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94e375d46270ba8131f3e8853f650788471b278f.webp?v=1764301483"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861581725795,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01185J5-BIR03","requires_shipping":true,"taxable":true,"featured_image":{"id":34863946498147,"product_id":7931692154979,"position":9,"created_at":"2025-11-28T11:44:45+08:00","updated_at":"2025-11-28T11:44:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d0684194fcc4dadb6cfc4d23d0a21fc1c1894d4.webp?v=1764301487","variant_ids":[43861581725795]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 隱藏的軌跡 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01185J5-BIR03","featured_media":{"alt":null,"id":26428365308003,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d0684194fcc4dadb6cfc4d23d0a21fc1c1894d4.webp?v=1764301487"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94e375d46270ba8131f3e8853f650788471b278f.webp?v=1764301483","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43d95c92039c8a40cf0a0a47a0fccf3ab0223928.webp?v=1764301483","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe1e2ffbf76b4fcc46e559aee466b35dcfc512f1.webp?v=1764301484","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82e79ee88c2e8d99ed0550c3d911bb5d565dd797.webp?v=1764301484","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b6f2e7d06c764e820d71e910d0b1938b2b22260.webp?v=1764301485","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f08c2d6e38540236945777ddd87ca2014ecdc034.webp?v=1764301485","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc56a772527bc68a590f02bfb84173b66b08540e.webp?v=1764301486","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a3dc8a906c19f76de10506b3ed5d4ea38a2047b.webp?v=1764301486","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d0684194fcc4dadb6cfc4d23d0a21fc1c1894d4.webp?v=1764301487","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a35e10c0d2e1cc8af4453aef5c741ece48fe1f1c.webp?v=1764301487","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f07c725c2863de9e9ba0ae2026d658ac88418be.webp?v=1764301488"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94e375d46270ba8131f3e8853f650788471b278f.webp?v=1764301483","options":["color"],"media":[{"alt":null,"id":26428363669603,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94e375d46270ba8131f3e8853f650788471b278f.webp?v=1764301483"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94e375d46270ba8131f3e8853f650788471b278f.webp?v=1764301483","width":2000},{"alt":null,"id":26428363866211,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43d95c92039c8a40cf0a0a47a0fccf3ab0223928.webp?v=1764301483"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43d95c92039c8a40cf0a0a47a0fccf3ab0223928.webp?v=1764301483","width":2000},{"alt":null,"id":26428364030051,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe1e2ffbf76b4fcc46e559aee466b35dcfc512f1.webp?v=1764301484"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fe1e2ffbf76b4fcc46e559aee466b35dcfc512f1.webp?v=1764301484","width":2000},{"alt":null,"id":26428364292195,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82e79ee88c2e8d99ed0550c3d911bb5d565dd797.webp?v=1764301484"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82e79ee88c2e8d99ed0550c3d911bb5d565dd797.webp?v=1764301484","width":2000},{"alt":null,"id":26428364456035,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b6f2e7d06c764e820d71e910d0b1938b2b22260.webp?v=1764301485"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9b6f2e7d06c764e820d71e910d0b1938b2b22260.webp?v=1764301485","width":2000},{"alt":null,"id":26428364685411,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f08c2d6e38540236945777ddd87ca2014ecdc034.webp?v=1764301485"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f08c2d6e38540236945777ddd87ca2014ecdc034.webp?v=1764301485","width":2000},{"alt":null,"id":26428364914787,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc56a772527bc68a590f02bfb84173b66b08540e.webp?v=1764301486"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc56a772527bc68a590f02bfb84173b66b08540e.webp?v=1764301486","width":2000},{"alt":null,"id":26428365111395,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a3dc8a906c19f76de10506b3ed5d4ea38a2047b.webp?v=1764301486"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a3dc8a906c19f76de10506b3ed5d4ea38a2047b.webp?v=1764301486","width":2000},{"alt":null,"id":26428365308003,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d0684194fcc4dadb6cfc4d23d0a21fc1c1894d4.webp?v=1764301487"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d0684194fcc4dadb6cfc4d23d0a21fc1c1894d4.webp?v=1764301487","width":2000},{"alt":null,"id":26428365766755,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a35e10c0d2e1cc8af4453aef5c741ece48fe1f1c.webp?v=1764301487"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a35e10c0d2e1cc8af4453aef5c741ece48fe1f1c.webp?v=1764301487","width":2000},{"alt":null,"id":26428365963363,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f07c725c2863de9e9ba0ae2026d658ac88418be.webp?v=1764301488"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f07c725c2863de9e9ba0ae2026d658ac88418be.webp?v=1764301488","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43861578055779,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"MPB01185C1-BIR03","requires_shipping":true,"taxable":true,"featured_image":{"id":34863946334307,"product_id":7931692154979,"position":8,"created_at":"2025-11-28T11:44:44+08:00","updated_at":"2025-11-28T11:44:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a3dc8a906c19f76de10506b3ed5d4ea38a2047b.webp?v=1764301486","variant_ids":[43861578055779]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 隱藏的軌跡 - Lavender","public_title":"Lavender","options":["Lavender"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01185C1-BIR03","featured_media":{"alt":null,"id":26428365111395,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a3dc8a906c19f76de10506b3ed5d4ea38a2047b.webp?v=1764301486"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861581430883,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0118504-BIR03","requires_shipping":true,"taxable":true,"featured_image":{"id":34863947022435,"product_id":7931692154979,"position":11,"created_at":"2025-11-28T11:44:46+08:00","updated_at":"2025-11-28T11:44:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f07c725c2863de9e9ba0ae2026d658ac88418be.webp?v=1764301488","variant_ids":[43861581430883]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 隱藏的軌跡 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118504-BIR03","featured_media":{"alt":null,"id":26428365963363,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f07c725c2863de9e9ba0ae2026d658ac88418be.webp?v=1764301488"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861581463651,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118524-BIR03","requires_shipping":true,"taxable":true,"featured_image":{"id":34863946170467,"product_id":7931692154979,"position":7,"created_at":"2025-11-28T11:44:44+08:00","updated_at":"2025-11-28T11:44:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc56a772527bc68a590f02bfb84173b66b08540e.webp?v=1764301486","variant_ids":[43861581463651]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 隱藏的軌跡 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118524-BIR03","featured_media":{"alt":null,"id":26428364914787,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc56a772527bc68a590f02bfb84173b66b08540e.webp?v=1764301486"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861581627491,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"MPB0118569-BIR03","requires_shipping":true,"taxable":true,"featured_image":{"id":34863944892515,"product_id":7931692154979,"position":1,"created_at":"2025-11-28T11:44:41+08:00","updated_at":"2025-11-28T11:44:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94e375d46270ba8131f3e8853f650788471b278f.webp?v=1764301483","variant_ids":[43861581627491]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 隱藏的軌跡 - Graphite","public_title":"Graphite","options":["Graphite"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118569-BIR03","featured_media":{"alt":null,"id":26428363669603,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94e375d46270ba8131f3e8853f650788471b278f.webp?v=1764301483"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43861581725795,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01185J5-BIR03","requires_shipping":true,"taxable":true,"featured_image":{"id":34863946498147,"product_id":7931692154979,"position":9,"created_at":"2025-11-28T11:44:45+08:00","updated_at":"2025-11-28T11:44:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d0684194fcc4dadb6cfc4d23d0a21fc1c1894d4.webp?v=1764301487","variant_ids":[43861581725795]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 隱藏的軌跡 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01185J5-BIR03","featured_media":{"alt":null,"id":26428365308003,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d0684194fcc4dadb6cfc4d23d0a21fc1c1894d4.webp?v=1764301487"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43861578055779,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"MPB01185C1-BIR03","requires_shipping":true,"taxable":true,"featured_image":{"id":34863946334307,"product_id":7931692154979,"position":8,"created_at":"2025-11-28T11:44:44+08:00","updated_at":"2025-11-28T11:44:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a3dc8a906c19f76de10506b3ed5d4ea38a2047b.webp?v=1764301486","variant_ids":[43861578055779]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 產房 • 廢料棲息地 隱藏的軌跡 - Lavender","public_title":"Lavender","options":["Lavender"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01185C1-BIR03","featured_media":{"alt":null,"id":26428365111395,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a3dc8a906c19f76de10506b3ed5d4ea38a2047b.webp?v=1764301486"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null;
$type = "";
var sellingStatus
if ($isMerge) {
$(document).ready(function() {
var productImg = $product.images[0];
var bumperImg = window.getProductImageUrl($defaultVariant.sku.split('-')[0]);
var layers = ($type === 'mod-nx-backplate' || $type === 'mod-backplate')
? [productImg, bumperImg]
: [bumperImg, productImg];
window.mergeProductImages(layers).then(function (mergedImg) {
$('.merged-img').attr('src', mergedImg);
});
});
};
var sellingStatusData
window.fetchSellingStatus().then(data => {
try {
sellingStatusData = data;
} catch (error) {
sellingStatusData = null
console.error('Unable to parse selling status', error)
}
$(document).ready(function() {
handleSellingStatus($defaultVariant.sku);
});
})
function handleSellingStatus(currentSku) {
if (!sellingStatusData) {
console.error('No selling status available!')
return
}
const sellingStatusElement = document.getElementById('selling-status')
const addToCartButton = document.getElementById('AddToCart-product-template')
const currentProductSku = currentSku.replace(/-(.*)$/, '-')
if ($variants) {
const flattenedSellingStatus = [...sellingStatusData.pending, ...sellingStatusData.preorder]
const matchSellingStatusProduct = flattenedSellingStatus.filter(product => currentProductSku === product.sku)
if (matchSellingStatusProduct.length > 0) {
const isProductPending = matchSellingStatusProduct[0].status === 'pending'
const matchDate = matchSellingStatusProduct[0].date
sellingStatus = isProductPending
? "缺貨中"
: "預購完成出貨日:" + matchDate
sellingStatusElement.textContent = sellingStatus
if (sellingStatus.includes("缺貨中")){
addToCartButton.disabled ='true';
addToCartButton.textContent = "缺貨中無法加入購物車"
} else {
addToCartButton.textContent = "加到購物車"
}
} else {
sellingStatusElement.textContent = ''
addToCartButton.textContent = "加到購物車"
};
};
};
document.addEventListener('DOMContentLoaded', function () {
var currentVariantSelect = document.getElementById('SingleOptionSelector-0')
currentVariantSelect.addEventListener('change', function() {
var currentSku = $('#current_sku').text()
var skuElement = document.getElementById('current-sku')
skuElement.textContent = currentSku
handleSellingStatus(currentSku)
});
});
// Override default values of shop.strings for each template.
// Alternate product templates can change values of
// add to cart button, sold out, and unavailable states here.
theme.productStrings = {
addToCart: "加到購物車",
soldOut: "售完",
unavailable: "停產"
}