$product = {"id":7942092095587,"title":"iPhone 14 Pro Max Mod NX Nyangsongi 擁抱","handle":"iphone-14-pro-max-mod-nx-nya14","description":null,"published_at":"2025-12-23T09:59:37+08:00","created_at":"2025-12-22T12:20:02+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-nyangsongi","device-iPhone 14 Pro Max","merge","reseller-nyangsongi"],"price":90000,"price_min":90000,"price_max":90000,"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":43903469650019,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01263C1-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":34986132308067,"product_id":7942092095587,"position":3,"created_at":"2025-12-22T12:20:40+08:00","updated_at":"2025-12-22T12:20:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bb89256a12516b8b679a6a47731d148402bfd24.webp?v=1766377242","variant_ids":[43903469650019]},"available":true,"name":"iPhone 14 Pro Max Mod NX Nyangsongi 擁抱 - Lavender","public_title":"Lavender","options":["Lavender"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01263C1-NYA14","featured_media":{"alt":null,"id":26547205374051,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bb89256a12516b8b679a6a47731d148402bfd24.webp?v=1766377242"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903469813859,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01263J5-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":34986133389411,"product_id":7942092095587,"position":9,"created_at":"2025-12-22T12:20:44+08:00","updated_at":"2025-12-22T12:20:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adfce75b6ea32b5d9a6ede602fdd807c6bf7d777.webp?v=1766377246","variant_ids":[43903469813859]},"available":true,"name":"iPhone 14 Pro Max Mod NX Nyangsongi 擁抱 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01263J5-NYA14","featured_media":{"alt":null,"id":26547206357091,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adfce75b6ea32b5d9a6ede602fdd807c6bf7d777.webp?v=1766377246"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903470010467,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126324-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":34986132144227,"product_id":7942092095587,"position":2,"created_at":"2025-12-22T12:20:40+08:00","updated_at":"2025-12-22T12:20:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cafedd63b32330ea5a12aa4026f8fb80aacb4619.webp?v=1766377242","variant_ids":[43903470010467]},"available":true,"name":"iPhone 14 Pro Max Mod NX Nyangsongi 擁抱 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126324-NYA14","featured_media":{"alt":null,"id":26547205210211,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cafedd63b32330ea5a12aa4026f8fb80aacb4619.webp?v=1766377242"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903470764131,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"NPB0126369-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":34986133553251,"product_id":7942092095587,"position":10,"created_at":"2025-12-22T12:20:44+08:00","updated_at":"2025-12-22T12:20:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acf4d74fbe45b7830533eb6ef221ddd8b4a8fe8e.webp?v=1766377246","variant_ids":[43903470764131]},"available":true,"name":"iPhone 14 Pro Max Mod NX Nyangsongi 擁抱 - Graphite","public_title":"Graphite","options":["Graphite"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126369-NYA14","featured_media":{"alt":null,"id":26547206520931,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acf4d74fbe45b7830533eb6ef221ddd8b4a8fe8e.webp?v=1766377246"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903471517795,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126304-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":34986132602979,"product_id":7942092095587,"position":5,"created_at":"2025-12-22T12:20:41+08:00","updated_at":"2025-12-22T12:20:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b26df5714257ea2b6fd474b642d7a4a5af0bc952.webp?v=1766377243","variant_ids":[43903471517795]},"available":true,"name":"iPhone 14 Pro Max Mod NX Nyangsongi 擁抱 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126304-NYA14","featured_media":{"alt":null,"id":26547205668963,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b26df5714257ea2b6fd474b642d7a4a5af0bc952.webp?v=1766377243"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52b873067c68e9e3ee7e2498e862618efc92cdb2.webp?v=1766377241","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cafedd63b32330ea5a12aa4026f8fb80aacb4619.webp?v=1766377242","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bb89256a12516b8b679a6a47731d148402bfd24.webp?v=1766377242","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ef273f3220c1acf1d8fcf8179bbf73ef71cf7bf.webp?v=1766377243","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b26df5714257ea2b6fd474b642d7a4a5af0bc952.webp?v=1766377243","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4d8b289355aedd8edcf9d2e394ff8549390a91b.webp?v=1766377244","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cc81431bfe2b39c6396c61e6c7cc26c2f4cbfcf.webp?v=1766377244","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed13ee6b62ab1f445a13bdca5b35465e57728916.webp?v=1766377245","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adfce75b6ea32b5d9a6ede602fdd807c6bf7d777.webp?v=1766377246","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acf4d74fbe45b7830533eb6ef221ddd8b4a8fe8e.webp?v=1766377246","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/825ddd5e882b57b4dcb282958e586b13d4e1daaf.webp?v=1766377247","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed46b1326765ffcbad02b02b70d59e648e4b67ff.webp?v=1766377247","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b0628f75bceb2185d2c7a0db49666b83f57f7e1.webp?v=1766377248"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52b873067c68e9e3ee7e2498e862618efc92cdb2.webp?v=1766377241","options":["color"],"media":[{"alt":null,"id":26547204948067,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52b873067c68e9e3ee7e2498e862618efc92cdb2.webp?v=1766377241"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/52b873067c68e9e3ee7e2498e862618efc92cdb2.webp?v=1766377241","width":2000},{"alt":null,"id":26547205210211,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cafedd63b32330ea5a12aa4026f8fb80aacb4619.webp?v=1766377242"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cafedd63b32330ea5a12aa4026f8fb80aacb4619.webp?v=1766377242","width":2000},{"alt":null,"id":26547205374051,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bb89256a12516b8b679a6a47731d148402bfd24.webp?v=1766377242"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bb89256a12516b8b679a6a47731d148402bfd24.webp?v=1766377242","width":2000},{"alt":null,"id":26547205505123,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ef273f3220c1acf1d8fcf8179bbf73ef71cf7bf.webp?v=1766377243"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5ef273f3220c1acf1d8fcf8179bbf73ef71cf7bf.webp?v=1766377243","width":2000},{"alt":null,"id":26547205668963,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b26df5714257ea2b6fd474b642d7a4a5af0bc952.webp?v=1766377243"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b26df5714257ea2b6fd474b642d7a4a5af0bc952.webp?v=1766377243","width":2000},{"alt":null,"id":26547205800035,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4d8b289355aedd8edcf9d2e394ff8549390a91b.webp?v=1766377244"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4d8b289355aedd8edcf9d2e394ff8549390a91b.webp?v=1766377244","width":2000},{"alt":null,"id":26547205963875,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cc81431bfe2b39c6396c61e6c7cc26c2f4cbfcf.webp?v=1766377244"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6cc81431bfe2b39c6396c61e6c7cc26c2f4cbfcf.webp?v=1766377244","width":2000},{"alt":null,"id":26547206094947,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed13ee6b62ab1f445a13bdca5b35465e57728916.webp?v=1766377245"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed13ee6b62ab1f445a13bdca5b35465e57728916.webp?v=1766377245","width":2000},{"alt":null,"id":26547206357091,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adfce75b6ea32b5d9a6ede602fdd807c6bf7d777.webp?v=1766377246"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adfce75b6ea32b5d9a6ede602fdd807c6bf7d777.webp?v=1766377246","width":2000},{"alt":null,"id":26547206520931,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acf4d74fbe45b7830533eb6ef221ddd8b4a8fe8e.webp?v=1766377246"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acf4d74fbe45b7830533eb6ef221ddd8b4a8fe8e.webp?v=1766377246","width":2000},{"alt":null,"id":26547206750307,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/825ddd5e882b57b4dcb282958e586b13d4e1daaf.webp?v=1766377247"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/825ddd5e882b57b4dcb282958e586b13d4e1daaf.webp?v=1766377247","width":2000},{"alt":null,"id":26547206881379,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed46b1326765ffcbad02b02b70d59e648e4b67ff.webp?v=1766377247"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed46b1326765ffcbad02b02b70d59e648e4b67ff.webp?v=1766377247","width":2000},{"alt":null,"id":26547207143523,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b0628f75bceb2185d2c7a0db49666b83f57f7e1.webp?v=1766377248"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3b0628f75bceb2185d2c7a0db49666b83f57f7e1.webp?v=1766377248","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43903469650019,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01263C1-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":34986132308067,"product_id":7942092095587,"position":3,"created_at":"2025-12-22T12:20:40+08:00","updated_at":"2025-12-22T12:20:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bb89256a12516b8b679a6a47731d148402bfd24.webp?v=1766377242","variant_ids":[43903469650019]},"available":true,"name":"iPhone 14 Pro Max Mod NX Nyangsongi 擁抱 - Lavender","public_title":"Lavender","options":["Lavender"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01263C1-NYA14","featured_media":{"alt":null,"id":26547205374051,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bb89256a12516b8b679a6a47731d148402bfd24.webp?v=1766377242"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903469813859,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"NPB01263J5-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":34986133389411,"product_id":7942092095587,"position":9,"created_at":"2025-12-22T12:20:44+08:00","updated_at":"2025-12-22T12:20:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adfce75b6ea32b5d9a6ede602fdd807c6bf7d777.webp?v=1766377246","variant_ids":[43903469813859]},"available":true,"name":"iPhone 14 Pro Max Mod NX Nyangsongi 擁抱 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01263J5-NYA14","featured_media":{"alt":null,"id":26547206357091,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adfce75b6ea32b5d9a6ede602fdd807c6bf7d777.webp?v=1766377246"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903470010467,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NPB0126324-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":34986132144227,"product_id":7942092095587,"position":2,"created_at":"2025-12-22T12:20:40+08:00","updated_at":"2025-12-22T12:20:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cafedd63b32330ea5a12aa4026f8fb80aacb4619.webp?v=1766377242","variant_ids":[43903470010467]},"available":true,"name":"iPhone 14 Pro Max Mod NX Nyangsongi 擁抱 - Black","public_title":"Black","options":["Black"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126324-NYA14","featured_media":{"alt":null,"id":26547205210211,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cafedd63b32330ea5a12aa4026f8fb80aacb4619.webp?v=1766377242"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903470764131,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"NPB0126369-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":34986133553251,"product_id":7942092095587,"position":10,"created_at":"2025-12-22T12:20:44+08:00","updated_at":"2025-12-22T12:20:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acf4d74fbe45b7830533eb6ef221ddd8b4a8fe8e.webp?v=1766377246","variant_ids":[43903470764131]},"available":true,"name":"iPhone 14 Pro Max Mod NX Nyangsongi 擁抱 - Graphite","public_title":"Graphite","options":["Graphite"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126369-NYA14","featured_media":{"alt":null,"id":26547206520931,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/acf4d74fbe45b7830533eb6ef221ddd8b4a8fe8e.webp?v=1766377246"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43903471517795,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NPB0126304-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":34986132602979,"product_id":7942092095587,"position":5,"created_at":"2025-12-22T12:20:41+08:00","updated_at":"2025-12-22T12:20:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b26df5714257ea2b6fd474b642d7a4a5af0bc952.webp?v=1766377243","variant_ids":[43903471517795]},"available":true,"name":"iPhone 14 Pro Max Mod NX Nyangsongi 擁抱 - White","public_title":"White","options":["White"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0126304-NYA14","featured_media":{"alt":null,"id":26547205668963,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b26df5714257ea2b6fd474b642d7a4a5af0bc952.webp?v=1766377243"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43903469650019,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"NPB01263C1-NYA14","requires_shipping":true,"taxable":true,"featured_image":{"id":34986132308067,"product_id":7942092095587,"position":3,"created_at":"2025-12-22T12:20:40+08:00","updated_at":"2025-12-22T12:20:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bb89256a12516b8b679a6a47731d148402bfd24.webp?v=1766377242","variant_ids":[43903469650019]},"available":true,"name":"iPhone 14 Pro Max Mod NX Nyangsongi 擁抱 - Lavender","public_title":"Lavender","options":["Lavender"],"price":90000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01263C1-NYA14","featured_media":{"alt":null,"id":26547205374051,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3bb89256a12516b8b679a6a47731d148402bfd24.webp?v=1766377242"}},"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: "停產" }