$product = {"id":7888543645795,"title":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 布朗尼 annnbrownie 格紋拼貼","handle":"iphone-12-pro-mod-nx-magsafe-printable-es05","description":null,"published_at":"2025-09-23T09:10:19+08:00","created_at":"2025-09-22T16:06:45+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-annnbrownie","device-iPhone 12 Pro","merge","reseller-annnbrownie"],"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":43743530647651,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"MPB01185C1-ES05","requires_shipping":true,"taxable":true,"featured_image":{"id":34514850021475,"product_id":7888543645795,"position":2,"created_at":"2025-09-22T16:06:51+08:00","updated_at":"2025-09-22T16:06:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0f01a916edeb95e2e436f6d65c8c2f640945439.webp?v=1758528413","variant_ids":[43743530647651]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 布朗尼 annnbrownie 格紋拼貼 - 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-ES05","featured_media":{"alt":null,"id":26085292474467,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0f01a916edeb95e2e436f6d65c8c2f640945439.webp?v=1758528413"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743533695075,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0118504-ES05","requires_shipping":true,"taxable":true,"featured_image":{"id":34514851987555,"product_id":7888543645795,"position":10,"created_at":"2025-09-22T16:06:55+08:00","updated_at":"2025-09-22T16:06:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82b9d2a4e0b1a3bcde712479cfc5fd48f53bb455.webp?v=1758528417","variant_ids":[43743533695075]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 布朗尼 annnbrownie 格紋拼貼 - 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-ES05","featured_media":{"alt":null,"id":26085294440547,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82b9d2a4e0b1a3bcde712479cfc5fd48f53bb455.webp?v=1758528417"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743533727843,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118524-ES05","requires_shipping":true,"taxable":true,"featured_image":{"id":34514850938979,"product_id":7888543645795,"position":6,"created_at":"2025-09-22T16:06:53+08:00","updated_at":"2025-09-22T16:06:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03fa6298e94e49c564848c012d3b209602bf6618.webp?v=1758528415","variant_ids":[43743533727843]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 布朗尼 annnbrownie 格紋拼貼 - 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-ES05","featured_media":{"alt":null,"id":26085293391971,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03fa6298e94e49c564848c012d3b209602bf6618.webp?v=1758528415"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743533793379,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"MPB0118569-ES05","requires_shipping":true,"taxable":true,"featured_image":{"id":34514851168355,"product_id":7888543645795,"position":7,"created_at":"2025-09-22T16:06:53+08:00","updated_at":"2025-09-22T16:06:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13a2e96c27a0cfd1b01da4874128d4c2e13b0a97.webp?v=1758528416","variant_ids":[43743533793379]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 布朗尼 annnbrownie 格紋拼貼 - 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-ES05","featured_media":{"alt":null,"id":26085293588579,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13a2e96c27a0cfd1b01da4874128d4c2e13b0a97.webp?v=1758528416"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743533891683,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01185J5-ES05","requires_shipping":true,"taxable":true,"featured_image":{"id":34514849595491,"product_id":7888543645795,"position":1,"created_at":"2025-09-22T16:06:50+08:00","updated_at":"2025-09-22T16:06:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ea6ba4ec1620e8ae9941d6bbe9eb07a65ca8e61.webp?v=1758528412","variant_ids":[43743533891683]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 布朗尼 annnbrownie 格紋拼貼 - 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-ES05","featured_media":{"alt":null,"id":26085292048483,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ea6ba4ec1620e8ae9941d6bbe9eb07a65ca8e61.webp?v=1758528412"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ea6ba4ec1620e8ae9941d6bbe9eb07a65ca8e61.webp?v=1758528412","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0f01a916edeb95e2e436f6d65c8c2f640945439.webp?v=1758528413","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0be3dd1deeef4e7dfc967222b47cc7e1d61cb572.webp?v=1758528414","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ece9ae96358e5bea5694ba973f2bcb50d42327c.webp?v=1758528414","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e2634b74020beb13eb7758df8be846855b92d8b.webp?v=1758528415","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03fa6298e94e49c564848c012d3b209602bf6618.webp?v=1758528415","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13a2e96c27a0cfd1b01da4874128d4c2e13b0a97.webp?v=1758528416","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58f13c2c42e7922cf8ad0754576a322e5cab3a79.webp?v=1758528416","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/282715e12c27bbf31fa50ee5df4f26238ff15e43.webp?v=1758528417","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82b9d2a4e0b1a3bcde712479cfc5fd48f53bb455.webp?v=1758528417","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7422f0e3fa254a41a4e65e2c7d2a7db79f5c9219.webp?v=1758528418"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ea6ba4ec1620e8ae9941d6bbe9eb07a65ca8e61.webp?v=1758528412","options":["color"],"media":[{"alt":null,"id":26085292048483,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ea6ba4ec1620e8ae9941d6bbe9eb07a65ca8e61.webp?v=1758528412"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ea6ba4ec1620e8ae9941d6bbe9eb07a65ca8e61.webp?v=1758528412","width":2000},{"alt":null,"id":26085292474467,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0f01a916edeb95e2e436f6d65c8c2f640945439.webp?v=1758528413"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0f01a916edeb95e2e436f6d65c8c2f640945439.webp?v=1758528413","width":2000},{"alt":null,"id":26085292671075,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0be3dd1deeef4e7dfc967222b47cc7e1d61cb572.webp?v=1758528414"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0be3dd1deeef4e7dfc967222b47cc7e1d61cb572.webp?v=1758528414","width":2000},{"alt":null,"id":26085292900451,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ece9ae96358e5bea5694ba973f2bcb50d42327c.webp?v=1758528414"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ece9ae96358e5bea5694ba973f2bcb50d42327c.webp?v=1758528414","width":2000},{"alt":null,"id":26085293162595,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e2634b74020beb13eb7758df8be846855b92d8b.webp?v=1758528415"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e2634b74020beb13eb7758df8be846855b92d8b.webp?v=1758528415","width":2000},{"alt":null,"id":26085293391971,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03fa6298e94e49c564848c012d3b209602bf6618.webp?v=1758528415"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03fa6298e94e49c564848c012d3b209602bf6618.webp?v=1758528415","width":2000},{"alt":null,"id":26085293588579,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13a2e96c27a0cfd1b01da4874128d4c2e13b0a97.webp?v=1758528416"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13a2e96c27a0cfd1b01da4874128d4c2e13b0a97.webp?v=1758528416","width":2000},{"alt":null,"id":26085293916259,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58f13c2c42e7922cf8ad0754576a322e5cab3a79.webp?v=1758528416"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/58f13c2c42e7922cf8ad0754576a322e5cab3a79.webp?v=1758528416","width":2000},{"alt":null,"id":26085294178403,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/282715e12c27bbf31fa50ee5df4f26238ff15e43.webp?v=1758528417"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/282715e12c27bbf31fa50ee5df4f26238ff15e43.webp?v=1758528417","width":2000},{"alt":null,"id":26085294440547,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82b9d2a4e0b1a3bcde712479cfc5fd48f53bb455.webp?v=1758528417"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82b9d2a4e0b1a3bcde712479cfc5fd48f53bb455.webp?v=1758528417","width":2000},{"alt":null,"id":26085294702691,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7422f0e3fa254a41a4e65e2c7d2a7db79f5c9219.webp?v=1758528418"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7422f0e3fa254a41a4e65e2c7d2a7db79f5c9219.webp?v=1758528418","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":43743530647651,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"MPB01185C1-ES05","requires_shipping":true,"taxable":true,"featured_image":{"id":34514850021475,"product_id":7888543645795,"position":2,"created_at":"2025-09-22T16:06:51+08:00","updated_at":"2025-09-22T16:06:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0f01a916edeb95e2e436f6d65c8c2f640945439.webp?v=1758528413","variant_ids":[43743530647651]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 布朗尼 annnbrownie 格紋拼貼 - 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-ES05","featured_media":{"alt":null,"id":26085292474467,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0f01a916edeb95e2e436f6d65c8c2f640945439.webp?v=1758528413"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743533695075,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0118504-ES05","requires_shipping":true,"taxable":true,"featured_image":{"id":34514851987555,"product_id":7888543645795,"position":10,"created_at":"2025-09-22T16:06:55+08:00","updated_at":"2025-09-22T16:06:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82b9d2a4e0b1a3bcde712479cfc5fd48f53bb455.webp?v=1758528417","variant_ids":[43743533695075]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 布朗尼 annnbrownie 格紋拼貼 - 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-ES05","featured_media":{"alt":null,"id":26085294440547,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82b9d2a4e0b1a3bcde712479cfc5fd48f53bb455.webp?v=1758528417"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743533727843,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118524-ES05","requires_shipping":true,"taxable":true,"featured_image":{"id":34514850938979,"product_id":7888543645795,"position":6,"created_at":"2025-09-22T16:06:53+08:00","updated_at":"2025-09-22T16:06:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03fa6298e94e49c564848c012d3b209602bf6618.webp?v=1758528415","variant_ids":[43743533727843]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 布朗尼 annnbrownie 格紋拼貼 - 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-ES05","featured_media":{"alt":null,"id":26085293391971,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/03fa6298e94e49c564848c012d3b209602bf6618.webp?v=1758528415"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743533793379,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"MPB0118569-ES05","requires_shipping":true,"taxable":true,"featured_image":{"id":34514851168355,"product_id":7888543645795,"position":7,"created_at":"2025-09-22T16:06:53+08:00","updated_at":"2025-09-22T16:06:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13a2e96c27a0cfd1b01da4874128d4c2e13b0a97.webp?v=1758528416","variant_ids":[43743533793379]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 布朗尼 annnbrownie 格紋拼貼 - 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-ES05","featured_media":{"alt":null,"id":26085293588579,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/13a2e96c27a0cfd1b01da4874128d4c2e13b0a97.webp?v=1758528416"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43743533891683,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01185J5-ES05","requires_shipping":true,"taxable":true,"featured_image":{"id":34514849595491,"product_id":7888543645795,"position":1,"created_at":"2025-09-22T16:06:50+08:00","updated_at":"2025-09-22T16:06:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ea6ba4ec1620e8ae9941d6bbe9eb07a65ca8e61.webp?v=1758528412","variant_ids":[43743533891683]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 布朗尼 annnbrownie 格紋拼貼 - 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-ES05","featured_media":{"alt":null,"id":26085292048483,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ea6ba4ec1620e8ae9941d6bbe9eb07a65ca8e61.webp?v=1758528412"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43743530647651,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"MPB01185C1-ES05","requires_shipping":true,"taxable":true,"featured_image":{"id":34514850021475,"product_id":7888543645795,"position":2,"created_at":"2025-09-22T16:06:51+08:00","updated_at":"2025-09-22T16:06:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0f01a916edeb95e2e436f6d65c8c2f640945439.webp?v=1758528413","variant_ids":[43743530647651]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 布朗尼 annnbrownie 格紋拼貼 - 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-ES05","featured_media":{"alt":null,"id":26085292474467,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b0f01a916edeb95e2e436f6d65c8c2f640945439.webp?v=1758528413"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null
var sellingStatus
if ($bumper) {
$(document).ready(function() {
var productImg = $product.images[0]
var bumperVariants = $bumper.variants;
var bumperColors = new Object();
var currentVariant = '';
var productType = '';
bumperVariants.forEach(variant => {
bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src;
});
if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') {
mergeImages(
[productImg, bumperColors[currentVariant]],
{ crossOrigin: 'anonymous' }
).then(mergedImg => {
$('.merged-img').attr('src', mergedImg);
});
} else {
mergeImages(
[bumperColors[currentVariant], productImg],
{ crossOrigin: 'anonymous' }
).then(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: "停產"
}