$product = {"id":7822360051811,"title":"iPhone 16 Pro SolidX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓","handle":"iphone-16-pro-solidx-magsafe-xf48","description":null,"published_at":"2025-07-01T19:29:38+08:00","created_at":"2025-06-18T11:10:10+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-ilovedoodle","device-iPhone 16 Pro","merge","reseller-ilovedoodle"],"price":145000,"price_min":145000,"price_max":145000,"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":43466734108771,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0132752-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34194963890275,"product_id":7822360051811,"position":3,"created_at":"2025-07-16T12:10:35+08:00","updated_at":"2025-07-16T12:10:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1d8978ebf1a03635127b7503b87704f3871dfe3.webp?v=1752639038","variant_ids":[43466734108771]},"available":true,"name":"iPhone 16 Pro SolidX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0132752-XF48","featured_media":{"alt":null,"id":25828388208739,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1d8978ebf1a03635127b7503b87704f3871dfe3.webp?v=1752639038"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43466739810403,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0132753-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34194964971619,"product_id":7822360051811,"position":5,"created_at":"2025-07-16T12:10:37+08:00","updated_at":"2025-07-16T12:10:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6139a52a51393d731bcdf5a90453c00770620c06.webp?v=1752639039","variant_ids":[43466739810403]},"available":true,"name":"iPhone 16 Pro SolidX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0132753-XF48","featured_media":{"alt":null,"id":25828388798563,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6139a52a51393d731bcdf5a90453c00770620c06.webp?v=1752639039"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43466739843171,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MNS013270A-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34196691189859,"product_id":7822360051811,"position":21,"created_at":"2025-07-16T14:49:07+08:00","updated_at":"2025-07-16T14:49:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4cefa18bc3d6bf42d03b29f4a0f68377353e1f9_8b9b6478-a6ed-469c-9ccf-594d3a3f5cb5.webp?v=1752648549","variant_ids":[43466739843171]},"available":true,"name":"iPhone 16 Pro SolidX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013270A-XF48","featured_media":{"alt":null,"id":25829492359267,"position":21,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4cefa18bc3d6bf42d03b29f4a0f68377353e1f9_8b9b6478-a6ed-469c-9ccf-594d3a3f5cb5.webp?v=1752648549"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43466739875939,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01327O8-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34194967724131,"product_id":7822360051811,"position":10,"created_at":"2025-07-16T12:10:39+08:00","updated_at":"2025-07-16T12:10:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7346c4a1a89ea79c975302d949f15c522adb5d3e.webp?v=1752639041","variant_ids":[43466739875939]},"available":true,"name":"iPhone 16 Pro SolidX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01327O8-XF48","featured_media":{"alt":null,"id":25828390305891,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7346c4a1a89ea79c975302d949f15c522adb5d3e.webp?v=1752639041"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43466739908707,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS01327Z7-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34194966544483,"product_id":7822360051811,"position":8,"created_at":"2025-07-16T12:10:38+08:00","updated_at":"2025-07-16T12:10:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e5e47a0ffbac3c27a5c87d46e49a3c78289592f.webp?v=1752639040","variant_ids":[43466739908707]},"available":true,"name":"iPhone 16 Pro SolidX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01327Z7-XF48","featured_media":{"alt":null,"id":25828389683299,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e5e47a0ffbac3c27a5c87d46e49a3c78289592f.webp?v=1752639040"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43466739941475,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013273O-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34194966085731,"product_id":7822360051811,"position":7,"created_at":"2025-07-16T12:10:38+08:00","updated_at":"2025-07-16T12:10:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aedab0db208fba7738b8e0b34ad9f41be20f1ab3.webp?v=1752639040","variant_ids":[43466739941475]},"available":true,"name":"iPhone 16 Pro SolidX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013273O-XF48","featured_media":{"alt":null,"id":25828389388387,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aedab0db208fba7738b8e0b34ad9f41be20f1ab3.webp?v=1752639040"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43466739974243,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MNS01327Z8-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34194967920739,"product_id":7822360051811,"position":11,"created_at":"2025-07-16T12:10:40+08:00","updated_at":"2025-07-16T12:10:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf74c8ab8c8e49c9691eb5eb4aa496c55102fa73.webp?v=1752639042","variant_ids":[43466739974243]},"available":true,"name":"iPhone 16 Pro SolidX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01327Z8-XF48","featured_media":{"alt":null,"id":25828390535267,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf74c8ab8c8e49c9691eb5eb4aa496c55102fa73.webp?v=1752639042"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43466740007011,"title":"Raspberry Sorbet","option1":"Raspberry Sorbet","option2":null,"option3":null,"sku":"MNS013273P-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34194964217955,"product_id":7822360051811,"position":4,"created_at":"2025-07-16T12:10:36+08:00","updated_at":"2025-07-16T12:10:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caf334d03206c62b2868f2848c4a10ab4a6a0331.webp?v=1752639038","variant_ids":[43466740007011]},"available":true,"name":"iPhone 16 Pro SolidX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - Raspberry Sorbet","public_title":"Raspberry Sorbet","options":["Raspberry Sorbet"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013273P-XF48","featured_media":{"alt":null,"id":25828388470883,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caf334d03206c62b2868f2848c4a10ab4a6a0331.webp?v=1752639038"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43466740039779,"title":"Deep Mauve","option1":"Deep Mauve","option2":null,"option3":null,"sku":"MNS013273S-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34194967003235,"product_id":7822360051811,"position":9,"created_at":"2025-07-16T12:10:39+08:00","updated_at":"2025-07-16T12:10:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82b2360e56a655afa2c90fb1ad88ef90a965e901.webp?v=1752639041","variant_ids":[43466740039779]},"available":true,"name":"iPhone 16 Pro SolidX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - Deep Mauve","public_title":"Deep Mauve","options":["Deep Mauve"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013273S-XF48","featured_media":{"alt":null,"id":25828389978211,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82b2360e56a655afa2c90fb1ad88ef90a965e901.webp?v=1752639041"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43466740072547,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013270B-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34194963234915,"product_id":7822360051811,"position":2,"created_at":"2025-07-16T12:10:35+08:00","updated_at":"2025-07-16T12:10:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/740bb5504dac2f96bf98ed2f28dc67f966ca6688.webp?v=1752639037","variant_ids":[43466740072547]},"available":true,"name":"iPhone 16 Pro SolidX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013270B-XF48","featured_media":{"alt":null,"id":25828388012131,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/740bb5504dac2f96bf98ed2f28dc67f966ca6688.webp?v=1752639037"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-327-XF48_7d568d28-ca6b-4e8c-a0fe-5cb80596eb0d.png?v=1750216213","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/740bb5504dac2f96bf98ed2f28dc67f966ca6688.webp?v=1752639037","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1d8978ebf1a03635127b7503b87704f3871dfe3.webp?v=1752639038","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caf334d03206c62b2868f2848c4a10ab4a6a0331.webp?v=1752639038","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6139a52a51393d731bcdf5a90453c00770620c06.webp?v=1752639039","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4cefa18bc3d6bf42d03b29f4a0f68377353e1f9.webp?v=1752639039","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aedab0db208fba7738b8e0b34ad9f41be20f1ab3.webp?v=1752639040","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e5e47a0ffbac3c27a5c87d46e49a3c78289592f.webp?v=1752639040","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82b2360e56a655afa2c90fb1ad88ef90a965e901.webp?v=1752639041","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7346c4a1a89ea79c975302d949f15c522adb5d3e.webp?v=1752639041","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf74c8ab8c8e49c9691eb5eb4aa496c55102fa73.webp?v=1752639042","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6139a52a51393d731bcdf5a90453c00770620c06_54edf137-73ea-47f3-8e05-88bf60b3bfa3.webp?v=1752648544","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7346c4a1a89ea79c975302d949f15c522adb5d3e_477c22d1-d559-4d54-806c-d3fea53cd2ca.webp?v=1752648544","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/740bb5504dac2f96bf98ed2f28dc67f966ca6688_770f563d-f7d3-49ff-b2e3-81e70c64d3dd.webp?v=1752648545","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caf334d03206c62b2868f2848c4a10ab4a6a0331_4cb4d74a-06bb-4761-807c-3806e5a3025c.webp?v=1752648545","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1d8978ebf1a03635127b7503b87704f3871dfe3_b669e88f-71de-4ffe-924e-79aff2698c04.webp?v=1752648546","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e5e47a0ffbac3c27a5c87d46e49a3c78289592f_47e9f1b8-3c3f-4301-8e8c-cd2588833252.webp?v=1752648547","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf74c8ab8c8e49c9691eb5eb4aa496c55102fa73_5a3ba71f-2f2e-4bc3-b3eb-d3254518405b.webp?v=1752648547","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aedab0db208fba7738b8e0b34ad9f41be20f1ab3_1553ad23-5ee3-48f5-a38a-48e8b1c60e61.webp?v=1752648548","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82b2360e56a655afa2c90fb1ad88ef90a965e901_b6da6ca4-7c33-489f-b4c2-3c86536f8a4a.webp?v=1752648548","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4cefa18bc3d6bf42d03b29f4a0f68377353e1f9_8b9b6478-a6ed-469c-9ccf-594d3a3f5cb5.webp?v=1752648549"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-327-XF48_7d568d28-ca6b-4e8c-a0fe-5cb80596eb0d.png?v=1750216213","options":["color"],"media":[{"alt":null,"id":25713395761251,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-327-XF48_7d568d28-ca6b-4e8c-a0fe-5cb80596eb0d.png?v=1750216213"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-327-XF48_7d568d28-ca6b-4e8c-a0fe-5cb80596eb0d.png?v=1750216213","width":2000},{"alt":null,"id":25828388012131,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/740bb5504dac2f96bf98ed2f28dc67f966ca6688.webp?v=1752639037"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/740bb5504dac2f96bf98ed2f28dc67f966ca6688.webp?v=1752639037","width":2000},{"alt":null,"id":25828388208739,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1d8978ebf1a03635127b7503b87704f3871dfe3.webp?v=1752639038"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1d8978ebf1a03635127b7503b87704f3871dfe3.webp?v=1752639038","width":2000},{"alt":null,"id":25828388470883,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caf334d03206c62b2868f2848c4a10ab4a6a0331.webp?v=1752639038"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caf334d03206c62b2868f2848c4a10ab4a6a0331.webp?v=1752639038","width":2000},{"alt":null,"id":25828388798563,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6139a52a51393d731bcdf5a90453c00770620c06.webp?v=1752639039"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6139a52a51393d731bcdf5a90453c00770620c06.webp?v=1752639039","width":2000},{"alt":null,"id":25828389093475,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4cefa18bc3d6bf42d03b29f4a0f68377353e1f9.webp?v=1752639039"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4cefa18bc3d6bf42d03b29f4a0f68377353e1f9.webp?v=1752639039","width":2000},{"alt":null,"id":25828389388387,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aedab0db208fba7738b8e0b34ad9f41be20f1ab3.webp?v=1752639040"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aedab0db208fba7738b8e0b34ad9f41be20f1ab3.webp?v=1752639040","width":2000},{"alt":null,"id":25828389683299,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e5e47a0ffbac3c27a5c87d46e49a3c78289592f.webp?v=1752639040"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e5e47a0ffbac3c27a5c87d46e49a3c78289592f.webp?v=1752639040","width":2000},{"alt":null,"id":25828389978211,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82b2360e56a655afa2c90fb1ad88ef90a965e901.webp?v=1752639041"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82b2360e56a655afa2c90fb1ad88ef90a965e901.webp?v=1752639041","width":2000},{"alt":null,"id":25828390305891,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7346c4a1a89ea79c975302d949f15c522adb5d3e.webp?v=1752639041"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7346c4a1a89ea79c975302d949f15c522adb5d3e.webp?v=1752639041","width":2000},{"alt":null,"id":25828390535267,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf74c8ab8c8e49c9691eb5eb4aa496c55102fa73.webp?v=1752639042"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf74c8ab8c8e49c9691eb5eb4aa496c55102fa73.webp?v=1752639042","width":2000},{"alt":null,"id":25829490065507,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6139a52a51393d731bcdf5a90453c00770620c06_54edf137-73ea-47f3-8e05-88bf60b3bfa3.webp?v=1752648544"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6139a52a51393d731bcdf5a90453c00770620c06_54edf137-73ea-47f3-8e05-88bf60b3bfa3.webp?v=1752648544","width":2000},{"alt":null,"id":25829490262115,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7346c4a1a89ea79c975302d949f15c522adb5d3e_477c22d1-d559-4d54-806c-d3fea53cd2ca.webp?v=1752648544"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7346c4a1a89ea79c975302d949f15c522adb5d3e_477c22d1-d559-4d54-806c-d3fea53cd2ca.webp?v=1752648544","width":2000},{"alt":null,"id":25829490491491,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/740bb5504dac2f96bf98ed2f28dc67f966ca6688_770f563d-f7d3-49ff-b2e3-81e70c64d3dd.webp?v=1752648545"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/740bb5504dac2f96bf98ed2f28dc67f966ca6688_770f563d-f7d3-49ff-b2e3-81e70c64d3dd.webp?v=1752648545","width":2000},{"alt":null,"id":25829490655331,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caf334d03206c62b2868f2848c4a10ab4a6a0331_4cb4d74a-06bb-4761-807c-3806e5a3025c.webp?v=1752648545"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caf334d03206c62b2868f2848c4a10ab4a6a0331_4cb4d74a-06bb-4761-807c-3806e5a3025c.webp?v=1752648545","width":2000},{"alt":null,"id":25829490983011,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1d8978ebf1a03635127b7503b87704f3871dfe3_b669e88f-71de-4ffe-924e-79aff2698c04.webp?v=1752648546"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1d8978ebf1a03635127b7503b87704f3871dfe3_b669e88f-71de-4ffe-924e-79aff2698c04.webp?v=1752648546","width":2000},{"alt":null,"id":25829491277923,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e5e47a0ffbac3c27a5c87d46e49a3c78289592f_47e9f1b8-3c3f-4301-8e8c-cd2588833252.webp?v=1752648547"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e5e47a0ffbac3c27a5c87d46e49a3c78289592f_47e9f1b8-3c3f-4301-8e8c-cd2588833252.webp?v=1752648547","width":2000},{"alt":null,"id":25829491834979,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf74c8ab8c8e49c9691eb5eb4aa496c55102fa73_5a3ba71f-2f2e-4bc3-b3eb-d3254518405b.webp?v=1752648547"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf74c8ab8c8e49c9691eb5eb4aa496c55102fa73_5a3ba71f-2f2e-4bc3-b3eb-d3254518405b.webp?v=1752648547","width":2000},{"alt":null,"id":25829492064355,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aedab0db208fba7738b8e0b34ad9f41be20f1ab3_1553ad23-5ee3-48f5-a38a-48e8b1c60e61.webp?v=1752648548"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aedab0db208fba7738b8e0b34ad9f41be20f1ab3_1553ad23-5ee3-48f5-a38a-48e8b1c60e61.webp?v=1752648548","width":2000},{"alt":null,"id":25829492228195,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82b2360e56a655afa2c90fb1ad88ef90a965e901_b6da6ca4-7c33-489f-b4c2-3c86536f8a4a.webp?v=1752648548"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82b2360e56a655afa2c90fb1ad88ef90a965e901_b6da6ca4-7c33-489f-b4c2-3c86536f8a4a.webp?v=1752648548","width":2000},{"alt":null,"id":25829492359267,"position":21,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4cefa18bc3d6bf42d03b29f4a0f68377353e1f9_8b9b6478-a6ed-469c-9ccf-594d3a3f5cb5.webp?v=1752648549"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4cefa18bc3d6bf42d03b29f4a0f68377353e1f9_8b9b6478-a6ed-469c-9ccf-594d3a3f5cb5.webp?v=1752648549","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43466734108771,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0132752-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34194963890275,"product_id":7822360051811,"position":3,"created_at":"2025-07-16T12:10:35+08:00","updated_at":"2025-07-16T12:10:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1d8978ebf1a03635127b7503b87704f3871dfe3.webp?v=1752639038","variant_ids":[43466734108771]},"available":true,"name":"iPhone 16 Pro SolidX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0132752-XF48","featured_media":{"alt":null,"id":25828388208739,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1d8978ebf1a03635127b7503b87704f3871dfe3.webp?v=1752639038"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43466739810403,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0132753-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34194964971619,"product_id":7822360051811,"position":5,"created_at":"2025-07-16T12:10:37+08:00","updated_at":"2025-07-16T12:10:39+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6139a52a51393d731bcdf5a90453c00770620c06.webp?v=1752639039","variant_ids":[43466739810403]},"available":true,"name":"iPhone 16 Pro SolidX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0132753-XF48","featured_media":{"alt":null,"id":25828388798563,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6139a52a51393d731bcdf5a90453c00770620c06.webp?v=1752639039"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43466739843171,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MNS013270A-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34196691189859,"product_id":7822360051811,"position":21,"created_at":"2025-07-16T14:49:07+08:00","updated_at":"2025-07-16T14:49:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4cefa18bc3d6bf42d03b29f4a0f68377353e1f9_8b9b6478-a6ed-469c-9ccf-594d3a3f5cb5.webp?v=1752648549","variant_ids":[43466739843171]},"available":true,"name":"iPhone 16 Pro SolidX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013270A-XF48","featured_media":{"alt":null,"id":25829492359267,"position":21,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4cefa18bc3d6bf42d03b29f4a0f68377353e1f9_8b9b6478-a6ed-469c-9ccf-594d3a3f5cb5.webp?v=1752648549"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43466739875939,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01327O8-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34194967724131,"product_id":7822360051811,"position":10,"created_at":"2025-07-16T12:10:39+08:00","updated_at":"2025-07-16T12:10:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7346c4a1a89ea79c975302d949f15c522adb5d3e.webp?v=1752639041","variant_ids":[43466739875939]},"available":true,"name":"iPhone 16 Pro SolidX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01327O8-XF48","featured_media":{"alt":null,"id":25828390305891,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7346c4a1a89ea79c975302d949f15c522adb5d3e.webp?v=1752639041"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43466739908707,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS01327Z7-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34194966544483,"product_id":7822360051811,"position":8,"created_at":"2025-07-16T12:10:38+08:00","updated_at":"2025-07-16T12:10:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e5e47a0ffbac3c27a5c87d46e49a3c78289592f.webp?v=1752639040","variant_ids":[43466739908707]},"available":true,"name":"iPhone 16 Pro SolidX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01327Z7-XF48","featured_media":{"alt":null,"id":25828389683299,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e5e47a0ffbac3c27a5c87d46e49a3c78289592f.webp?v=1752639040"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43466739941475,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013273O-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34194966085731,"product_id":7822360051811,"position":7,"created_at":"2025-07-16T12:10:38+08:00","updated_at":"2025-07-16T12:10:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aedab0db208fba7738b8e0b34ad9f41be20f1ab3.webp?v=1752639040","variant_ids":[43466739941475]},"available":true,"name":"iPhone 16 Pro SolidX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013273O-XF48","featured_media":{"alt":null,"id":25828389388387,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aedab0db208fba7738b8e0b34ad9f41be20f1ab3.webp?v=1752639040"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43466739974243,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MNS01327Z8-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34194967920739,"product_id":7822360051811,"position":11,"created_at":"2025-07-16T12:10:40+08:00","updated_at":"2025-07-16T12:10:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf74c8ab8c8e49c9691eb5eb4aa496c55102fa73.webp?v=1752639042","variant_ids":[43466739974243]},"available":true,"name":"iPhone 16 Pro SolidX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01327Z8-XF48","featured_media":{"alt":null,"id":25828390535267,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf74c8ab8c8e49c9691eb5eb4aa496c55102fa73.webp?v=1752639042"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43466740007011,"title":"Raspberry Sorbet","option1":"Raspberry Sorbet","option2":null,"option3":null,"sku":"MNS013273P-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34194964217955,"product_id":7822360051811,"position":4,"created_at":"2025-07-16T12:10:36+08:00","updated_at":"2025-07-16T12:10:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caf334d03206c62b2868f2848c4a10ab4a6a0331.webp?v=1752639038","variant_ids":[43466740007011]},"available":true,"name":"iPhone 16 Pro SolidX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - Raspberry Sorbet","public_title":"Raspberry Sorbet","options":["Raspberry Sorbet"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013273P-XF48","featured_media":{"alt":null,"id":25828388470883,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/caf334d03206c62b2868f2848c4a10ab4a6a0331.webp?v=1752639038"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43466740039779,"title":"Deep Mauve","option1":"Deep Mauve","option2":null,"option3":null,"sku":"MNS013273S-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34194967003235,"product_id":7822360051811,"position":9,"created_at":"2025-07-16T12:10:39+08:00","updated_at":"2025-07-16T12:10:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82b2360e56a655afa2c90fb1ad88ef90a965e901.webp?v=1752639041","variant_ids":[43466740039779]},"available":true,"name":"iPhone 16 Pro SolidX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - Deep Mauve","public_title":"Deep Mauve","options":["Deep Mauve"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013273S-XF48","featured_media":{"alt":null,"id":25828389978211,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82b2360e56a655afa2c90fb1ad88ef90a965e901.webp?v=1752639041"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43466740072547,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013270B-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34194963234915,"product_id":7822360051811,"position":2,"created_at":"2025-07-16T12:10:35+08:00","updated_at":"2025-07-16T12:10:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/740bb5504dac2f96bf98ed2f28dc67f966ca6688.webp?v=1752639037","variant_ids":[43466740072547]},"available":true,"name":"iPhone 16 Pro SolidX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013270B-XF48","featured_media":{"alt":null,"id":25828388012131,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/740bb5504dac2f96bf98ed2f28dc67f966ca6688.webp?v=1752639037"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43466734108771,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0132752-XF48","requires_shipping":true,"taxable":true,"featured_image":{"id":34194963890275,"product_id":7822360051811,"position":3,"created_at":"2025-07-16T12:10:35+08:00","updated_at":"2025-07-16T12:10:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1d8978ebf1a03635127b7503b87704f3871dfe3.webp?v=1752639038","variant_ids":[43466734108771]},"available":true,"name":"iPhone 16 Pro SolidX (MagSafe 兼容) ilovedoodle Peek A Paw - 躲貓貓 - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0132752-XF48","featured_media":{"alt":null,"id":25828388208739,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b1d8978ebf1a03635127b7503b87704f3871dfe3.webp?v=1752639038"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $brand_handle = null; $type = ""; var sellingStatus // 只有設計款(SKU 含 '-')才需要合圖 if ($isMerge && $defaultVariant.sku.includes('-')) { $(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: "停產" }