$product = {"id":7868407054435,"title":"iPhone 17 Pro Max SolidX 布丁狗與大耳狗 食物系列-甜點世界","handle":"iphone-17-pro-max-solidx-px02","description":null,"published_at":"2025-09-10T01:27:23+08:00","created_at":"2025-08-26T16:41:48+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-pompompurin-cinnamoroll","device-iPhone 17 Pro Max","merge","reseller-pompompurin-cinnamoroll"],"price":125000,"price_min":125000,"price_max":125000,"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":43634884083811,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-PX02","requires_shipping":true,"taxable":true,"featured_image":{"id":36060468379747,"product_id":7868407054435,"position":11,"created_at":"2026-06-23T15:52:14+08:00","updated_at":"2026-06-23T15:52:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e64dbbfb5d6987a2f17c7219f0a2a43a5d515000.webp?v=1782201136","variant_ids":[43634884083811]},"available":true,"name":"iPhone 17 Pro Max SolidX 布丁狗與大耳狗 食物系列-甜點世界 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135352-PX02","featured_media":{"alt":null,"id":27573314617443,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e64dbbfb5d6987a2f17c7219f0a2a43a5d515000.webp?v=1782201136"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634885754979,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-PX02","requires_shipping":true,"taxable":true,"featured_image":{"id":36060465954915,"product_id":7868407054435,"position":9,"created_at":"2026-06-23T15:52:12+08:00","updated_at":"2026-06-23T15:52:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64d597104561a96f7dcb56523113eed50669724f.webp?v=1782201134","variant_ids":[43634885754979]},"available":true,"name":"iPhone 17 Pro Max SolidX 布丁狗與大耳狗 食物系列-甜點世界 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013534H-PX02","featured_media":{"alt":null,"id":27573312192611,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64d597104561a96f7dcb56523113eed50669724f.webp?v=1782201134"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634885787747,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-PX02","requires_shipping":true,"taxable":true,"featured_image":{"id":36060459860067,"product_id":7868407054435,"position":5,"created_at":"2026-06-23T15:52:09+08:00","updated_at":"2026-06-23T15:52:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a407835a93ecf78a78a67277984029ca60e2b7ca.webp?v=1782201131","variant_ids":[43634885787747]},"available":true,"name":"iPhone 17 Pro Max SolidX 布丁狗與大耳狗 食物系列-甜點世界 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013530B-PX02","featured_media":{"alt":null,"id":27573306064995,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a407835a93ecf78a78a67277984029ca60e2b7ca.webp?v=1782201131"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634885820515,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-PX02","requires_shipping":true,"taxable":true,"featured_image":{"id":36060458418275,"product_id":7868407054435,"position":4,"created_at":"2026-06-23T15:52:07+08:00","updated_at":"2026-06-23T15:52:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5854628fab8144d65a696a14dc53e24704d722df.webp?v=1782201129","variant_ids":[43634885820515]},"available":true,"name":"iPhone 17 Pro Max SolidX 布丁狗與大耳狗 食物系列-甜點世界 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013534I-PX02","featured_media":{"alt":null,"id":27573304688739,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5854628fab8144d65a696a14dc53e24704d722df.webp?v=1782201129"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634885853283,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-PX02","requires_shipping":true,"taxable":true,"featured_image":{"id":36060462186595,"product_id":7868407054435,"position":6,"created_at":"2026-06-23T15:52:10+08:00","updated_at":"2026-06-23T15:52:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ddf76626f088949384b5805c6aae24dd809a1db.webp?v=1782201132","variant_ids":[43634885853283]},"available":true,"name":"iPhone 17 Pro Max SolidX 布丁狗與大耳狗 食物系列-甜點世界 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135353-PX02","featured_media":{"alt":null,"id":27573308391523,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ddf76626f088949384b5805c6aae24dd809a1db.webp?v=1782201132"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634885886051,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-PX02","requires_shipping":true,"taxable":true,"featured_image":{"id":36060469428323,"product_id":7868407054435,"position":12,"created_at":"2026-06-23T15:52:15+08:00","updated_at":"2026-06-23T15:52:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/365611ca3ffec1680851938b7e19161edf5aae17.webp?v=1782201137","variant_ids":[43634885886051]},"available":true,"name":"iPhone 17 Pro Max SolidX 布丁狗與大耳狗 食物系列-甜點世界 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01353O8-PX02","featured_media":{"alt":null,"id":27573315895395,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/365611ca3ffec1680851938b7e19161edf5aae17.webp?v=1782201137"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43799248896099,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-PX02","requires_shipping":true,"taxable":true,"featured_image":{"id":36060467429475,"product_id":7868407054435,"position":10,"created_at":"2026-06-23T15:52:13+08:00","updated_at":"2026-06-23T15:52:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba03ef5dff7d8e35e2bafd2b2974d996c9d2ceb5.webp?v=1782201135","variant_ids":[43799248896099]},"available":true,"name":"iPhone 17 Pro Max SolidX 布丁狗與大耳狗 食物系列-甜點世界 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013530F-PX02","featured_media":{"alt":null,"id":27573313470563,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba03ef5dff7d8e35e2bafd2b2974d996c9d2ceb5.webp?v=1782201135"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43799248928867,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-PX02","requires_shipping":true,"taxable":true,"featured_image":{"id":36060456484963,"product_id":7868407054435,"position":2,"created_at":"2026-06-23T15:52:06+08:00","updated_at":"2026-06-23T15:52:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f94f71ebfe6e0b1950cc7578afca4f545a1f942.webp?v=1782201127","variant_ids":[43799248928867]},"available":true,"name":"iPhone 17 Pro Max SolidX 布丁狗與大耳狗 食物系列-甜點世界 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013533O-PX02","featured_media":{"alt":null,"id":27573302755427,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f94f71ebfe6e0b1950cc7578afca4f545a1f942.webp?v=1782201127"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199835467875,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-PX02","requires_shipping":true,"taxable":true,"featured_image":{"id":36060472082531,"product_id":7868407054435,"position":14,"created_at":"2026-06-23T15:52:17+08:00","updated_at":"2026-06-23T15:52:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38c5fa1985a8306ab33e7fee848985849a67506e.webp?v=1782201139","variant_ids":[44199835467875]},"available":true,"name":"iPhone 17 Pro Max SolidX 布丁狗與大耳狗 食物系列-甜點世界 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013536A-PX02","featured_media":{"alt":null,"id":27573318320227,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38c5fa1985a8306ab33e7fee848985849a67506e.webp?v=1782201139"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199835861091,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-PX02","requires_shipping":true,"taxable":true,"featured_image":{"id":36060464775267,"product_id":7868407054435,"position":8,"created_at":"2026-06-23T15:52:12+08:00","updated_at":"2026-06-23T15:52:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3311a00f9a725da6de0a579d722fabc90a000954.webp?v=1782201134","variant_ids":[44199835861091]},"available":true,"name":"iPhone 17 Pro Max SolidX 布丁狗與大耳狗 食物系列-甜點世界 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535X-PX02","featured_media":{"alt":null,"id":27573311012963,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3311a00f9a725da6de0a579d722fabc90a000954.webp?v=1782201134"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199836254307,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-PX02","requires_shipping":true,"taxable":true,"featured_image":{"id":36060463693923,"product_id":7868407054435,"position":7,"created_at":"2026-06-23T15:52:11+08:00","updated_at":"2026-06-23T15:52:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35e7bf0e2315dcaccca671bbfa7339a40cfb2327.webp?v=1782201133","variant_ids":[44199836254307]},"available":true,"name":"iPhone 17 Pro Max SolidX 布丁狗與大耳狗 食物系列-甜點世界 - Field Green","public_title":"Field Green","options":["Field Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535Y-PX02","featured_media":{"alt":null,"id":27573309931619,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35e7bf0e2315dcaccca671bbfa7339a40cfb2327.webp?v=1782201133"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199837007971,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-PX02","requires_shipping":true,"taxable":true,"featured_image":{"id":36060457271395,"product_id":7868407054435,"position":3,"created_at":"2026-06-23T15:52:06+08:00","updated_at":"2026-06-23T15:52:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98f3200579ae4bb09ef2689dcc55f40506601680.webp?v=1782201128","variant_ids":[44199837007971]},"available":true,"name":"iPhone 17 Pro Max SolidX 布丁狗與大耳狗 食物系列-甜點世界 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535Z-PX02","featured_media":{"alt":null,"id":27573303509091,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98f3200579ae4bb09ef2689dcc55f40506601680.webp?v=1782201128"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44264005566563,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-PX02","requires_shipping":true,"taxable":true,"featured_image":{"id":36060470902883,"product_id":7868407054435,"position":13,"created_at":"2026-06-23T15:52:16+08:00","updated_at":"2026-06-23T15:52:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db468bb5e79946a2851cda6d0b676d84cd91bccf.webp?v=1782201138","variant_ids":[44264005566563]},"available":true,"name":"iPhone 17 Pro Max SolidX 布丁狗與大耳狗 食物系列-甜點世界 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535H-PX02","featured_media":{"alt":null,"id":27573317206115,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db468bb5e79946a2851cda6d0b676d84cd91bccf.webp?v=1782201138"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-PX02.png?v=1756197710","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f94f71ebfe6e0b1950cc7578afca4f545a1f942.webp?v=1782201127","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98f3200579ae4bb09ef2689dcc55f40506601680.webp?v=1782201128","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5854628fab8144d65a696a14dc53e24704d722df.webp?v=1782201129","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a407835a93ecf78a78a67277984029ca60e2b7ca.webp?v=1782201131","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ddf76626f088949384b5805c6aae24dd809a1db.webp?v=1782201132","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35e7bf0e2315dcaccca671bbfa7339a40cfb2327.webp?v=1782201133","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3311a00f9a725da6de0a579d722fabc90a000954.webp?v=1782201134","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64d597104561a96f7dcb56523113eed50669724f.webp?v=1782201134","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba03ef5dff7d8e35e2bafd2b2974d996c9d2ceb5.webp?v=1782201135","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e64dbbfb5d6987a2f17c7219f0a2a43a5d515000.webp?v=1782201136","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/365611ca3ffec1680851938b7e19161edf5aae17.webp?v=1782201137","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db468bb5e79946a2851cda6d0b676d84cd91bccf.webp?v=1782201138","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38c5fa1985a8306ab33e7fee848985849a67506e.webp?v=1782201139"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-PX02.png?v=1756197710","options":["color"],"media":[{"alt":null,"id":25961245343843,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-PX02.png?v=1756197710"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-353-PX02.png?v=1756197710","width":2000},{"alt":null,"id":27573302755427,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f94f71ebfe6e0b1950cc7578afca4f545a1f942.webp?v=1782201127"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f94f71ebfe6e0b1950cc7578afca4f545a1f942.webp?v=1782201127","width":2000},{"alt":null,"id":27573303509091,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98f3200579ae4bb09ef2689dcc55f40506601680.webp?v=1782201128"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98f3200579ae4bb09ef2689dcc55f40506601680.webp?v=1782201128","width":2000},{"alt":null,"id":27573304688739,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5854628fab8144d65a696a14dc53e24704d722df.webp?v=1782201129"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5854628fab8144d65a696a14dc53e24704d722df.webp?v=1782201129","width":2000},{"alt":null,"id":27573306064995,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a407835a93ecf78a78a67277984029ca60e2b7ca.webp?v=1782201131"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a407835a93ecf78a78a67277984029ca60e2b7ca.webp?v=1782201131","width":2000},{"alt":null,"id":27573308391523,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ddf76626f088949384b5805c6aae24dd809a1db.webp?v=1782201132"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ddf76626f088949384b5805c6aae24dd809a1db.webp?v=1782201132","width":2000},{"alt":null,"id":27573309931619,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35e7bf0e2315dcaccca671bbfa7339a40cfb2327.webp?v=1782201133"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35e7bf0e2315dcaccca671bbfa7339a40cfb2327.webp?v=1782201133","width":2000},{"alt":null,"id":27573311012963,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3311a00f9a725da6de0a579d722fabc90a000954.webp?v=1782201134"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3311a00f9a725da6de0a579d722fabc90a000954.webp?v=1782201134","width":2000},{"alt":null,"id":27573312192611,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64d597104561a96f7dcb56523113eed50669724f.webp?v=1782201134"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64d597104561a96f7dcb56523113eed50669724f.webp?v=1782201134","width":2000},{"alt":null,"id":27573313470563,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba03ef5dff7d8e35e2bafd2b2974d996c9d2ceb5.webp?v=1782201135"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba03ef5dff7d8e35e2bafd2b2974d996c9d2ceb5.webp?v=1782201135","width":2000},{"alt":null,"id":27573314617443,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e64dbbfb5d6987a2f17c7219f0a2a43a5d515000.webp?v=1782201136"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e64dbbfb5d6987a2f17c7219f0a2a43a5d515000.webp?v=1782201136","width":2000},{"alt":null,"id":27573315895395,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/365611ca3ffec1680851938b7e19161edf5aae17.webp?v=1782201137"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/365611ca3ffec1680851938b7e19161edf5aae17.webp?v=1782201137","width":2000},{"alt":null,"id":27573317206115,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db468bb5e79946a2851cda6d0b676d84cd91bccf.webp?v=1782201138"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db468bb5e79946a2851cda6d0b676d84cd91bccf.webp?v=1782201138","width":2000},{"alt":null,"id":27573318320227,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38c5fa1985a8306ab33e7fee848985849a67506e.webp?v=1782201139"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38c5fa1985a8306ab33e7fee848985849a67506e.webp?v=1782201139","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43634884083811,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-PX02","requires_shipping":true,"taxable":true,"featured_image":{"id":36060468379747,"product_id":7868407054435,"position":11,"created_at":"2026-06-23T15:52:14+08:00","updated_at":"2026-06-23T15:52:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e64dbbfb5d6987a2f17c7219f0a2a43a5d515000.webp?v=1782201136","variant_ids":[43634884083811]},"available":true,"name":"iPhone 17 Pro Max SolidX 布丁狗與大耳狗 食物系列-甜點世界 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135352-PX02","featured_media":{"alt":null,"id":27573314617443,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e64dbbfb5d6987a2f17c7219f0a2a43a5d515000.webp?v=1782201136"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634885754979,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-PX02","requires_shipping":true,"taxable":true,"featured_image":{"id":36060465954915,"product_id":7868407054435,"position":9,"created_at":"2026-06-23T15:52:12+08:00","updated_at":"2026-06-23T15:52:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64d597104561a96f7dcb56523113eed50669724f.webp?v=1782201134","variant_ids":[43634885754979]},"available":true,"name":"iPhone 17 Pro Max SolidX 布丁狗與大耳狗 食物系列-甜點世界 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013534H-PX02","featured_media":{"alt":null,"id":27573312192611,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/64d597104561a96f7dcb56523113eed50669724f.webp?v=1782201134"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634885787747,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-PX02","requires_shipping":true,"taxable":true,"featured_image":{"id":36060459860067,"product_id":7868407054435,"position":5,"created_at":"2026-06-23T15:52:09+08:00","updated_at":"2026-06-23T15:52:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a407835a93ecf78a78a67277984029ca60e2b7ca.webp?v=1782201131","variant_ids":[43634885787747]},"available":true,"name":"iPhone 17 Pro Max SolidX 布丁狗與大耳狗 食物系列-甜點世界 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013530B-PX02","featured_media":{"alt":null,"id":27573306064995,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a407835a93ecf78a78a67277984029ca60e2b7ca.webp?v=1782201131"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634885820515,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-PX02","requires_shipping":true,"taxable":true,"featured_image":{"id":36060458418275,"product_id":7868407054435,"position":4,"created_at":"2026-06-23T15:52:07+08:00","updated_at":"2026-06-23T15:52:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5854628fab8144d65a696a14dc53e24704d722df.webp?v=1782201129","variant_ids":[43634885820515]},"available":true,"name":"iPhone 17 Pro Max SolidX 布丁狗與大耳狗 食物系列-甜點世界 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013534I-PX02","featured_media":{"alt":null,"id":27573304688739,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5854628fab8144d65a696a14dc53e24704d722df.webp?v=1782201129"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634885853283,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-PX02","requires_shipping":true,"taxable":true,"featured_image":{"id":36060462186595,"product_id":7868407054435,"position":6,"created_at":"2026-06-23T15:52:10+08:00","updated_at":"2026-06-23T15:52:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ddf76626f088949384b5805c6aae24dd809a1db.webp?v=1782201132","variant_ids":[43634885853283]},"available":true,"name":"iPhone 17 Pro Max SolidX 布丁狗與大耳狗 食物系列-甜點世界 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135353-PX02","featured_media":{"alt":null,"id":27573308391523,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ddf76626f088949384b5805c6aae24dd809a1db.webp?v=1782201132"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43634885886051,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-PX02","requires_shipping":true,"taxable":true,"featured_image":{"id":36060469428323,"product_id":7868407054435,"position":12,"created_at":"2026-06-23T15:52:15+08:00","updated_at":"2026-06-23T15:52:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/365611ca3ffec1680851938b7e19161edf5aae17.webp?v=1782201137","variant_ids":[43634885886051]},"available":true,"name":"iPhone 17 Pro Max SolidX 布丁狗與大耳狗 食物系列-甜點世界 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01353O8-PX02","featured_media":{"alt":null,"id":27573315895395,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/365611ca3ffec1680851938b7e19161edf5aae17.webp?v=1782201137"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43799248896099,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-PX02","requires_shipping":true,"taxable":true,"featured_image":{"id":36060467429475,"product_id":7868407054435,"position":10,"created_at":"2026-06-23T15:52:13+08:00","updated_at":"2026-06-23T15:52:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba03ef5dff7d8e35e2bafd2b2974d996c9d2ceb5.webp?v=1782201135","variant_ids":[43799248896099]},"available":true,"name":"iPhone 17 Pro Max SolidX 布丁狗與大耳狗 食物系列-甜點世界 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013530F-PX02","featured_media":{"alt":null,"id":27573313470563,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba03ef5dff7d8e35e2bafd2b2974d996c9d2ceb5.webp?v=1782201135"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43799248928867,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-PX02","requires_shipping":true,"taxable":true,"featured_image":{"id":36060456484963,"product_id":7868407054435,"position":2,"created_at":"2026-06-23T15:52:06+08:00","updated_at":"2026-06-23T15:52:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f94f71ebfe6e0b1950cc7578afca4f545a1f942.webp?v=1782201127","variant_ids":[43799248928867]},"available":true,"name":"iPhone 17 Pro Max SolidX 布丁狗與大耳狗 食物系列-甜點世界 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013533O-PX02","featured_media":{"alt":null,"id":27573302755427,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f94f71ebfe6e0b1950cc7578afca4f545a1f942.webp?v=1782201127"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199835467875,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-PX02","requires_shipping":true,"taxable":true,"featured_image":{"id":36060472082531,"product_id":7868407054435,"position":14,"created_at":"2026-06-23T15:52:17+08:00","updated_at":"2026-06-23T15:52:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38c5fa1985a8306ab33e7fee848985849a67506e.webp?v=1782201139","variant_ids":[44199835467875]},"available":true,"name":"iPhone 17 Pro Max SolidX 布丁狗與大耳狗 食物系列-甜點世界 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013536A-PX02","featured_media":{"alt":null,"id":27573318320227,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38c5fa1985a8306ab33e7fee848985849a67506e.webp?v=1782201139"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199835861091,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-PX02","requires_shipping":true,"taxable":true,"featured_image":{"id":36060464775267,"product_id":7868407054435,"position":8,"created_at":"2026-06-23T15:52:12+08:00","updated_at":"2026-06-23T15:52:14+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3311a00f9a725da6de0a579d722fabc90a000954.webp?v=1782201134","variant_ids":[44199835861091]},"available":true,"name":"iPhone 17 Pro Max SolidX 布丁狗與大耳狗 食物系列-甜點世界 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535X-PX02","featured_media":{"alt":null,"id":27573311012963,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3311a00f9a725da6de0a579d722fabc90a000954.webp?v=1782201134"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199836254307,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-PX02","requires_shipping":true,"taxable":true,"featured_image":{"id":36060463693923,"product_id":7868407054435,"position":7,"created_at":"2026-06-23T15:52:11+08:00","updated_at":"2026-06-23T15:52:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35e7bf0e2315dcaccca671bbfa7339a40cfb2327.webp?v=1782201133","variant_ids":[44199836254307]},"available":true,"name":"iPhone 17 Pro Max SolidX 布丁狗與大耳狗 食物系列-甜點世界 - Field Green","public_title":"Field Green","options":["Field Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535Y-PX02","featured_media":{"alt":null,"id":27573309931619,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/35e7bf0e2315dcaccca671bbfa7339a40cfb2327.webp?v=1782201133"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44199837007971,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-PX02","requires_shipping":true,"taxable":true,"featured_image":{"id":36060457271395,"product_id":7868407054435,"position":3,"created_at":"2026-06-23T15:52:06+08:00","updated_at":"2026-06-23T15:52:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98f3200579ae4bb09ef2689dcc55f40506601680.webp?v=1782201128","variant_ids":[44199837007971]},"available":true,"name":"iPhone 17 Pro Max SolidX 布丁狗與大耳狗 食物系列-甜點世界 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535Z-PX02","featured_media":{"alt":null,"id":27573303509091,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/98f3200579ae4bb09ef2689dcc55f40506601680.webp?v=1782201128"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44264005566563,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-PX02","requires_shipping":true,"taxable":true,"featured_image":{"id":36060470902883,"product_id":7868407054435,"position":13,"created_at":"2026-06-23T15:52:16+08:00","updated_at":"2026-06-23T15:52:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db468bb5e79946a2851cda6d0b676d84cd91bccf.webp?v=1782201138","variant_ids":[44264005566563]},"available":true,"name":"iPhone 17 Pro Max SolidX 布丁狗與大耳狗 食物系列-甜點世界 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST013535H-PX02","featured_media":{"alt":null,"id":27573317206115,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db468bb5e79946a2851cda6d0b676d84cd91bccf.webp?v=1782201138"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43634884083811,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-PX02","requires_shipping":true,"taxable":true,"featured_image":{"id":36060468379747,"product_id":7868407054435,"position":11,"created_at":"2026-06-23T15:52:14+08:00","updated_at":"2026-06-23T15:52:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e64dbbfb5d6987a2f17c7219f0a2a43a5d515000.webp?v=1782201136","variant_ids":[43634884083811]},"available":true,"name":"iPhone 17 Pro Max SolidX 布丁狗與大耳狗 食物系列-甜點世界 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0135352-PX02","featured_media":{"alt":null,"id":27573314617443,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e64dbbfb5d6987a2f17c7219f0a2a43a5d515000.webp?v=1782201136"}},"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: "停產" }