$product = {"id":8085435252835,"title":"iPhone 17 Pro Max SolidX 吉伊卡哇Chiikawa 栗子饅頭與他的小物","handle":"iphone-17-pro-max-solidx-chi06","description":null,"published_at":"2026-07-27T10:45:45+08:00","created_at":"2026-07-27T09:46:58+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-chiikawa","device-iPhone 17 Pro Max","merge","reseller-chiikawa"],"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":44405380776035,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-CHI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36399950921827,"product_id":8085435252835,"position":6,"created_at":"2026-07-27T09:47:49+08:00","updated_at":"2026-07-27T09:47:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67040c4ebae27c91ba35f1cf60b014350bbbb4cf.webp?v=1785116871","variant_ids":[44405380776035]},"available":true,"name":"iPhone 17 Pro Max SolidX 吉伊卡哇Chiikawa 栗子饅頭與他的小物 - 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-CHI06","featured_media":{"alt":null,"id":27903569690723,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67040c4ebae27c91ba35f1cf60b014350bbbb4cf.webp?v=1785116871"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405385822307,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-CHI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36399949021283,"product_id":8085435252835,"position":2,"created_at":"2026-07-27T09:47:46+08:00","updated_at":"2026-07-27T09:47:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbaa64c44c70cb0d8a8a294181c9eff2c94c1183.webp?v=1785116868","variant_ids":[44405385822307]},"available":true,"name":"iPhone 17 Pro Max SolidX 吉伊卡哇Chiikawa 栗子饅頭與他的小物 - 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-CHI06","featured_media":{"alt":null,"id":27903567790179,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbaa64c44c70cb0d8a8a294181c9eff2c94c1183.webp?v=1785116868"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405386281059,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-CHI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36399953870947,"product_id":8085435252835,"position":12,"created_at":"2026-07-27T09:47:54+08:00","updated_at":"2026-07-27T09:47:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a2dd2747d5d98cdde0d815502af834111505773.webp?v=1785116876","variant_ids":[44405386281059]},"available":true,"name":"iPhone 17 Pro Max SolidX 吉伊卡哇Chiikawa 栗子饅頭與他的小物 - 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-CHI06","featured_media":{"alt":null,"id":27903572639843,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a2dd2747d5d98cdde0d815502af834111505773.webp?v=1785116876"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405387133027,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-CHI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36399950463075,"product_id":8085435252835,"position":5,"created_at":"2026-07-27T09:47:48+08:00","updated_at":"2026-07-27T09:47:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c3075331254b0e238bc9d8f8b82ba0cb5140f2a.webp?v=1785116870","variant_ids":[44405387133027]},"available":true,"name":"iPhone 17 Pro Max SolidX 吉伊卡哇Chiikawa 栗子饅頭與他的小物 - 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-CHI06","featured_media":{"alt":null,"id":27903569231971,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c3075331254b0e238bc9d8f8b82ba0cb5140f2a.webp?v=1785116870"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405388542051,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-CHI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36399948496995,"product_id":8085435252835,"position":1,"created_at":"2026-07-27T09:47:46+08:00","updated_at":"2026-07-27T09:47:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16f879f0191221a3feac3eb77c4781116f1c9ef7.webp?v=1785116868","variant_ids":[44405388542051]},"available":true,"name":"iPhone 17 Pro Max SolidX 吉伊卡哇Chiikawa 栗子饅頭與他的小物 - 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-CHI06","featured_media":{"alt":null,"id":27903567298659,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16f879f0191221a3feac3eb77c4781116f1c9ef7.webp?v=1785116868"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405389197411,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-CHI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36399949873251,"product_id":8085435252835,"position":4,"created_at":"2026-07-27T09:47:48+08:00","updated_at":"2026-07-27T09:47:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bee2e6547ab687eadd749f98a864687739cbe6e4.webp?v=1785116870","variant_ids":[44405389197411]},"available":true,"name":"iPhone 17 Pro Max SolidX 吉伊卡哇Chiikawa 栗子饅頭與他的小物 - 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-CHI06","featured_media":{"alt":null,"id":27903568642147,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bee2e6547ab687eadd749f98a864687739cbe6e4.webp?v=1785116870"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405389590627,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-CHI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36399954296931,"product_id":8085435252835,"position":13,"created_at":"2026-07-27T09:47:55+08:00","updated_at":"2026-07-27T09:47:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11e5966ed4e51cfe2cf284827ad27144178c2136.webp?v=1785116877","variant_ids":[44405389590627]},"available":true,"name":"iPhone 17 Pro Max SolidX 吉伊卡哇Chiikawa 栗子饅頭與他的小物 - 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-CHI06","featured_media":{"alt":null,"id":27903573033059,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11e5966ed4e51cfe2cf284827ad27144178c2136.webp?v=1785116877"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405390147683,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-CHI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36399953084515,"product_id":8085435252835,"position":10,"created_at":"2026-07-27T09:47:53+08:00","updated_at":"2026-07-27T09:47:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c626b42bff9712ecae6da65ab67adb3e6cf74d20.webp?v=1785116875","variant_ids":[44405390147683]},"available":true,"name":"iPhone 17 Pro Max SolidX 吉伊卡哇Chiikawa 栗子饅頭與他的小物 - 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-CHI06","featured_media":{"alt":null,"id":27903571820643,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c626b42bff9712ecae6da65ab67adb3e6cf74d20.webp?v=1785116875"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405390606435,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-CHI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36399951413347,"product_id":8085435252835,"position":7,"created_at":"2026-07-27T09:47:49+08:00","updated_at":"2026-07-27T09:47:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1ceb984bd9a91abf23487e08961a2912e2043f3.webp?v=1785116871","variant_ids":[44405390606435]},"available":true,"name":"iPhone 17 Pro Max SolidX 吉伊卡哇Chiikawa 栗子饅頭與他的小物 - 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-CHI06","featured_media":{"alt":null,"id":27903570149475,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1ceb984bd9a91abf23487e08961a2912e2043f3.webp?v=1785116871"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405391032419,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-CHI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36399951904867,"product_id":8085435252835,"position":8,"created_at":"2026-07-27T09:47:50+08:00","updated_at":"2026-07-27T09:47:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a4473650edff869ebec3f2fe4b42e2239f256f4.webp?v=1785116872","variant_ids":[44405391032419]},"available":true,"name":"iPhone 17 Pro Max SolidX 吉伊卡哇Chiikawa 栗子饅頭與他的小物 - 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-CHI06","featured_media":{"alt":null,"id":27903570640995,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a4473650edff869ebec3f2fe4b42e2239f256f4.webp?v=1785116872"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405391589475,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-CHI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36399949512803,"product_id":8085435252835,"position":3,"created_at":"2026-07-27T09:47:47+08:00","updated_at":"2026-07-27T09:47:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7e3152092b831fda2e5bed866760ce00987d14b.webp?v=1785116869","variant_ids":[44405391589475]},"available":true,"name":"iPhone 17 Pro Max SolidX 吉伊卡哇Chiikawa 栗子饅頭與他的小物 - 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-CHI06","featured_media":{"alt":null,"id":27903568281699,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7e3152092b831fda2e5bed866760ce00987d14b.webp?v=1785116869"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405392048227,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-CHI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36399952429155,"product_id":8085435252835,"position":9,"created_at":"2026-07-27T09:47:52+08:00","updated_at":"2026-07-27T09:47:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dce9608d3bda490b8c9402682c33d418dc4a4fca.webp?v=1785116874","variant_ids":[44405392048227]},"available":true,"name":"iPhone 17 Pro Max SolidX 吉伊卡哇Chiikawa 栗子饅頭與他的小物 - 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-CHI06","featured_media":{"alt":null,"id":27903571230819,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dce9608d3bda490b8c9402682c33d418dc4a4fca.webp?v=1785116874"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405392441443,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-CHI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36399953444963,"product_id":8085435252835,"position":11,"created_at":"2026-07-27T09:47:54+08:00","updated_at":"2026-07-27T09:47:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f89f8e20d961ec8d2b51ab2e0c4874ad6dd19c5.webp?v=1785116876","variant_ids":[44405392441443]},"available":true,"name":"iPhone 17 Pro Max SolidX 吉伊卡哇Chiikawa 栗子饅頭與他的小物 - 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-CHI06","featured_media":{"alt":null,"id":27903572246627,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f89f8e20d961ec8d2b51ab2e0c4874ad6dd19c5.webp?v=1785116876"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16f879f0191221a3feac3eb77c4781116f1c9ef7.webp?v=1785116868","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbaa64c44c70cb0d8a8a294181c9eff2c94c1183.webp?v=1785116868","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7e3152092b831fda2e5bed866760ce00987d14b.webp?v=1785116869","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bee2e6547ab687eadd749f98a864687739cbe6e4.webp?v=1785116870","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c3075331254b0e238bc9d8f8b82ba0cb5140f2a.webp?v=1785116870","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67040c4ebae27c91ba35f1cf60b014350bbbb4cf.webp?v=1785116871","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1ceb984bd9a91abf23487e08961a2912e2043f3.webp?v=1785116871","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a4473650edff869ebec3f2fe4b42e2239f256f4.webp?v=1785116872","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dce9608d3bda490b8c9402682c33d418dc4a4fca.webp?v=1785116874","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c626b42bff9712ecae6da65ab67adb3e6cf74d20.webp?v=1785116875","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f89f8e20d961ec8d2b51ab2e0c4874ad6dd19c5.webp?v=1785116876","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a2dd2747d5d98cdde0d815502af834111505773.webp?v=1785116876","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11e5966ed4e51cfe2cf284827ad27144178c2136.webp?v=1785116877"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16f879f0191221a3feac3eb77c4781116f1c9ef7.webp?v=1785116868","options":["color"],"media":[{"alt":null,"id":27903567298659,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16f879f0191221a3feac3eb77c4781116f1c9ef7.webp?v=1785116868"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16f879f0191221a3feac3eb77c4781116f1c9ef7.webp?v=1785116868","width":2000},{"alt":null,"id":27903567790179,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbaa64c44c70cb0d8a8a294181c9eff2c94c1183.webp?v=1785116868"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbaa64c44c70cb0d8a8a294181c9eff2c94c1183.webp?v=1785116868","width":2000},{"alt":null,"id":27903568281699,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7e3152092b831fda2e5bed866760ce00987d14b.webp?v=1785116869"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7e3152092b831fda2e5bed866760ce00987d14b.webp?v=1785116869","width":2000},{"alt":null,"id":27903568642147,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bee2e6547ab687eadd749f98a864687739cbe6e4.webp?v=1785116870"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bee2e6547ab687eadd749f98a864687739cbe6e4.webp?v=1785116870","width":2000},{"alt":null,"id":27903569231971,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c3075331254b0e238bc9d8f8b82ba0cb5140f2a.webp?v=1785116870"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c3075331254b0e238bc9d8f8b82ba0cb5140f2a.webp?v=1785116870","width":2000},{"alt":null,"id":27903569690723,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67040c4ebae27c91ba35f1cf60b014350bbbb4cf.webp?v=1785116871"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67040c4ebae27c91ba35f1cf60b014350bbbb4cf.webp?v=1785116871","width":2000},{"alt":null,"id":27903570149475,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1ceb984bd9a91abf23487e08961a2912e2043f3.webp?v=1785116871"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1ceb984bd9a91abf23487e08961a2912e2043f3.webp?v=1785116871","width":2000},{"alt":null,"id":27903570640995,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a4473650edff869ebec3f2fe4b42e2239f256f4.webp?v=1785116872"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a4473650edff869ebec3f2fe4b42e2239f256f4.webp?v=1785116872","width":2000},{"alt":null,"id":27903571230819,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dce9608d3bda490b8c9402682c33d418dc4a4fca.webp?v=1785116874"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dce9608d3bda490b8c9402682c33d418dc4a4fca.webp?v=1785116874","width":2000},{"alt":null,"id":27903571820643,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c626b42bff9712ecae6da65ab67adb3e6cf74d20.webp?v=1785116875"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c626b42bff9712ecae6da65ab67adb3e6cf74d20.webp?v=1785116875","width":2000},{"alt":null,"id":27903572246627,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f89f8e20d961ec8d2b51ab2e0c4874ad6dd19c5.webp?v=1785116876"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f89f8e20d961ec8d2b51ab2e0c4874ad6dd19c5.webp?v=1785116876","width":2000},{"alt":null,"id":27903572639843,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a2dd2747d5d98cdde0d815502af834111505773.webp?v=1785116876"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a2dd2747d5d98cdde0d815502af834111505773.webp?v=1785116876","width":2000},{"alt":null,"id":27903573033059,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11e5966ed4e51cfe2cf284827ad27144178c2136.webp?v=1785116877"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11e5966ed4e51cfe2cf284827ad27144178c2136.webp?v=1785116877","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44405380776035,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-CHI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36399950921827,"product_id":8085435252835,"position":6,"created_at":"2026-07-27T09:47:49+08:00","updated_at":"2026-07-27T09:47:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67040c4ebae27c91ba35f1cf60b014350bbbb4cf.webp?v=1785116871","variant_ids":[44405380776035]},"available":true,"name":"iPhone 17 Pro Max SolidX 吉伊卡哇Chiikawa 栗子饅頭與他的小物 - 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-CHI06","featured_media":{"alt":null,"id":27903569690723,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67040c4ebae27c91ba35f1cf60b014350bbbb4cf.webp?v=1785116871"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405385822307,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-CHI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36399949021283,"product_id":8085435252835,"position":2,"created_at":"2026-07-27T09:47:46+08:00","updated_at":"2026-07-27T09:47:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbaa64c44c70cb0d8a8a294181c9eff2c94c1183.webp?v=1785116868","variant_ids":[44405385822307]},"available":true,"name":"iPhone 17 Pro Max SolidX 吉伊卡哇Chiikawa 栗子饅頭與他的小物 - 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-CHI06","featured_media":{"alt":null,"id":27903567790179,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dbaa64c44c70cb0d8a8a294181c9eff2c94c1183.webp?v=1785116868"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405386281059,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-CHI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36399953870947,"product_id":8085435252835,"position":12,"created_at":"2026-07-27T09:47:54+08:00","updated_at":"2026-07-27T09:47:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a2dd2747d5d98cdde0d815502af834111505773.webp?v=1785116876","variant_ids":[44405386281059]},"available":true,"name":"iPhone 17 Pro Max SolidX 吉伊卡哇Chiikawa 栗子饅頭與他的小物 - 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-CHI06","featured_media":{"alt":null,"id":27903572639843,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1a2dd2747d5d98cdde0d815502af834111505773.webp?v=1785116876"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405387133027,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-CHI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36399950463075,"product_id":8085435252835,"position":5,"created_at":"2026-07-27T09:47:48+08:00","updated_at":"2026-07-27T09:47:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c3075331254b0e238bc9d8f8b82ba0cb5140f2a.webp?v=1785116870","variant_ids":[44405387133027]},"available":true,"name":"iPhone 17 Pro Max SolidX 吉伊卡哇Chiikawa 栗子饅頭與他的小物 - 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-CHI06","featured_media":{"alt":null,"id":27903569231971,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c3075331254b0e238bc9d8f8b82ba0cb5140f2a.webp?v=1785116870"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405388542051,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-CHI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36399948496995,"product_id":8085435252835,"position":1,"created_at":"2026-07-27T09:47:46+08:00","updated_at":"2026-07-27T09:47:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16f879f0191221a3feac3eb77c4781116f1c9ef7.webp?v=1785116868","variant_ids":[44405388542051]},"available":true,"name":"iPhone 17 Pro Max SolidX 吉伊卡哇Chiikawa 栗子饅頭與他的小物 - 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-CHI06","featured_media":{"alt":null,"id":27903567298659,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16f879f0191221a3feac3eb77c4781116f1c9ef7.webp?v=1785116868"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405389197411,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-CHI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36399949873251,"product_id":8085435252835,"position":4,"created_at":"2026-07-27T09:47:48+08:00","updated_at":"2026-07-27T09:47:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bee2e6547ab687eadd749f98a864687739cbe6e4.webp?v=1785116870","variant_ids":[44405389197411]},"available":true,"name":"iPhone 17 Pro Max SolidX 吉伊卡哇Chiikawa 栗子饅頭與他的小物 - 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-CHI06","featured_media":{"alt":null,"id":27903568642147,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bee2e6547ab687eadd749f98a864687739cbe6e4.webp?v=1785116870"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405389590627,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-CHI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36399954296931,"product_id":8085435252835,"position":13,"created_at":"2026-07-27T09:47:55+08:00","updated_at":"2026-07-27T09:47:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11e5966ed4e51cfe2cf284827ad27144178c2136.webp?v=1785116877","variant_ids":[44405389590627]},"available":true,"name":"iPhone 17 Pro Max SolidX 吉伊卡哇Chiikawa 栗子饅頭與他的小物 - 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-CHI06","featured_media":{"alt":null,"id":27903573033059,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11e5966ed4e51cfe2cf284827ad27144178c2136.webp?v=1785116877"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405390147683,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-CHI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36399953084515,"product_id":8085435252835,"position":10,"created_at":"2026-07-27T09:47:53+08:00","updated_at":"2026-07-27T09:47:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c626b42bff9712ecae6da65ab67adb3e6cf74d20.webp?v=1785116875","variant_ids":[44405390147683]},"available":true,"name":"iPhone 17 Pro Max SolidX 吉伊卡哇Chiikawa 栗子饅頭與他的小物 - 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-CHI06","featured_media":{"alt":null,"id":27903571820643,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c626b42bff9712ecae6da65ab67adb3e6cf74d20.webp?v=1785116875"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405390606435,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-CHI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36399951413347,"product_id":8085435252835,"position":7,"created_at":"2026-07-27T09:47:49+08:00","updated_at":"2026-07-27T09:47:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1ceb984bd9a91abf23487e08961a2912e2043f3.webp?v=1785116871","variant_ids":[44405390606435]},"available":true,"name":"iPhone 17 Pro Max SolidX 吉伊卡哇Chiikawa 栗子饅頭與他的小物 - 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-CHI06","featured_media":{"alt":null,"id":27903570149475,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1ceb984bd9a91abf23487e08961a2912e2043f3.webp?v=1785116871"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405391032419,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-CHI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36399951904867,"product_id":8085435252835,"position":8,"created_at":"2026-07-27T09:47:50+08:00","updated_at":"2026-07-27T09:47:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a4473650edff869ebec3f2fe4b42e2239f256f4.webp?v=1785116872","variant_ids":[44405391032419]},"available":true,"name":"iPhone 17 Pro Max SolidX 吉伊卡哇Chiikawa 栗子饅頭與他的小物 - 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-CHI06","featured_media":{"alt":null,"id":27903570640995,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a4473650edff869ebec3f2fe4b42e2239f256f4.webp?v=1785116872"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405391589475,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-CHI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36399949512803,"product_id":8085435252835,"position":3,"created_at":"2026-07-27T09:47:47+08:00","updated_at":"2026-07-27T09:47:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7e3152092b831fda2e5bed866760ce00987d14b.webp?v=1785116869","variant_ids":[44405391589475]},"available":true,"name":"iPhone 17 Pro Max SolidX 吉伊卡哇Chiikawa 栗子饅頭與他的小物 - 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-CHI06","featured_media":{"alt":null,"id":27903568281699,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7e3152092b831fda2e5bed866760ce00987d14b.webp?v=1785116869"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405392048227,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-CHI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36399952429155,"product_id":8085435252835,"position":9,"created_at":"2026-07-27T09:47:52+08:00","updated_at":"2026-07-27T09:47:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dce9608d3bda490b8c9402682c33d418dc4a4fca.webp?v=1785116874","variant_ids":[44405392048227]},"available":true,"name":"iPhone 17 Pro Max SolidX 吉伊卡哇Chiikawa 栗子饅頭與他的小物 - 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-CHI06","featured_media":{"alt":null,"id":27903571230819,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dce9608d3bda490b8c9402682c33d418dc4a4fca.webp?v=1785116874"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405392441443,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-CHI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36399953444963,"product_id":8085435252835,"position":11,"created_at":"2026-07-27T09:47:54+08:00","updated_at":"2026-07-27T09:47:56+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f89f8e20d961ec8d2b51ab2e0c4874ad6dd19c5.webp?v=1785116876","variant_ids":[44405392441443]},"available":true,"name":"iPhone 17 Pro Max SolidX 吉伊卡哇Chiikawa 栗子饅頭與他的小物 - 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-CHI06","featured_media":{"alt":null,"id":27903572246627,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0f89f8e20d961ec8d2b51ab2e0c4874ad6dd19c5.webp?v=1785116876"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44405380776035,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-CHI06","requires_shipping":true,"taxable":true,"featured_image":{"id":36399950921827,"product_id":8085435252835,"position":6,"created_at":"2026-07-27T09:47:49+08:00","updated_at":"2026-07-27T09:47:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67040c4ebae27c91ba35f1cf60b014350bbbb4cf.webp?v=1785116871","variant_ids":[44405380776035]},"available":true,"name":"iPhone 17 Pro Max SolidX 吉伊卡哇Chiikawa 栗子饅頭與他的小物 - 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-CHI06","featured_media":{"alt":null,"id":27903569690723,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/67040c4ebae27c91ba35f1cf60b014350bbbb4cf.webp?v=1785116871"}},"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: "停產"
}