$product = {"id":8085435121763,"title":"iPhone 17 Pro Max SolidX 吉伊卡哇Chiikawa 小八貓與他的小物","handle":"iphone-17-pro-max-solidx-chi02","description":null,"published_at":"2026-07-27T10:45:47+08:00","created_at":"2026-07-27T09:46:57+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":44405380644963,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-CHI02","requires_shipping":true,"taxable":true,"featured_image":{"id":36399948890211,"product_id":8085435121763,"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\/16790c7bec3ee9a1789110dec0e062b09443edc1.webp?v=1785116868","variant_ids":[44405380644963]},"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-CHI02","featured_media":{"alt":null,"id":27903567659107,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16790c7bec3ee9a1789110dec0e062b09443edc1.webp?v=1785116868"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405385789539,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-CHI02","requires_shipping":true,"taxable":true,"featured_image":{"id":36399954460771,"product_id":8085435121763,"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\/25ac21bf7c38aaf4f8f60f02496997432994e378.webp?v=1785116877","variant_ids":[44405385789539]},"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-CHI02","featured_media":{"alt":null,"id":27903573229667,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25ac21bf7c38aaf4f8f60f02496997432994e378.webp?v=1785116877"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405386313827,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-CHI02","requires_shipping":true,"taxable":true,"featured_image":{"id":36399949381731,"product_id":8085435121763,"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\/de9a5763ff27a6e38cf8c5d8b8faffd021b18277.webp?v=1785116869","variant_ids":[44405386313827]},"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-CHI02","featured_media":{"alt":null,"id":27903568117859,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de9a5763ff27a6e38cf8c5d8b8faffd021b18277.webp?v=1785116869"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405387231331,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-CHI02","requires_shipping":true,"taxable":true,"featured_image":{"id":36399952527459,"product_id":8085435121763,"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\/e0be0c748bd997c905f6bdd4a4f92e08011d888f.webp?v=1785116874","variant_ids":[44405387231331]},"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-CHI02","featured_media":{"alt":null,"id":27903571263587,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0be0c748bd997c905f6bdd4a4f92e08011d888f.webp?v=1785116874"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405388574819,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-CHI02","requires_shipping":true,"taxable":true,"featured_image":{"id":36399951380579,"product_id":8085435121763,"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\/557024dba273d1e2562d70b3325594b08b725336.webp?v=1785116871","variant_ids":[44405388574819]},"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-CHI02","featured_media":{"alt":null,"id":27903570116707,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/557024dba273d1e2562d70b3325594b08b725336.webp?v=1785116871"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405389262947,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-CHI02","requires_shipping":true,"taxable":true,"featured_image":{"id":36399951937635,"product_id":8085435121763,"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\/789676b6f8cf61d3b63a2a61b7b22a320999ac75.webp?v=1785116872","variant_ids":[44405389262947]},"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-CHI02","featured_media":{"alt":null,"id":27903570673763,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/789676b6f8cf61d3b63a2a61b7b22a320999ac75.webp?v=1785116872"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405389885539,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-CHI02","requires_shipping":true,"taxable":true,"featured_image":{"id":36399948333155,"product_id":8085435121763,"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\/ecb55bd4dc8a055776ab1b2ffd4680c1fd11bffb.webp?v=1785116868","variant_ids":[44405389885539]},"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-CHI02","featured_media":{"alt":null,"id":27903567102051,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecb55bd4dc8a055776ab1b2ffd4680c1fd11bffb.webp?v=1785116868"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405390377059,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-CHI02","requires_shipping":true,"taxable":true,"featured_image":{"id":36399952887907,"product_id":8085435121763,"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\/198f94de3ccee8796abd97d804841f90c79e5639.webp?v=1785116875","variant_ids":[44405390377059]},"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-CHI02","featured_media":{"alt":null,"id":27903571656803,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/198f94de3ccee8796abd97d804841f90c79e5639.webp?v=1785116875"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405390803043,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-CHI02","requires_shipping":true,"taxable":true,"featured_image":{"id":36399949807715,"product_id":8085435121763,"position":4,"created_at":"2026-07-27T09:47:48+08:00","updated_at":"2026-07-27T09:47:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d304268b212b7027974eef526e53166b7db50a06.webp?v=1785116869","variant_ids":[44405390803043]},"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-CHI02","featured_media":{"alt":null,"id":27903568576611,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d304268b212b7027974eef526e53166b7db50a06.webp?v=1785116869"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405391327331,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-CHI02","requires_shipping":true,"taxable":true,"featured_image":{"id":36399953543267,"product_id":8085435121763,"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\/dc375d59a41e7d0ebc2c3ce58ae4f3d0418fb006.webp?v=1785116876","variant_ids":[44405391327331]},"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-CHI02","featured_media":{"alt":null,"id":27903572312163,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc375d59a41e7d0ebc2c3ce58ae4f3d0418fb006.webp?v=1785116876"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405391786083,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-CHI02","requires_shipping":true,"taxable":true,"featured_image":{"id":36399950692451,"product_id":8085435121763,"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\/f88db5f0e7655bfc17a1b3756153e54e60c599cd.webp?v=1785116871","variant_ids":[44405391786083]},"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-CHI02","featured_media":{"alt":null,"id":27903569559651,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f88db5f0e7655bfc17a1b3756153e54e60c599cd.webp?v=1785116871"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405392310371,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-CHI02","requires_shipping":true,"taxable":true,"featured_image":{"id":36399950299235,"product_id":8085435121763,"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\/bf661c8b57a62cef617800a93276bee6f69a535e.webp?v=1785116870","variant_ids":[44405392310371]},"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-CHI02","featured_media":{"alt":null,"id":27903569068131,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf661c8b57a62cef617800a93276bee6f69a535e.webp?v=1785116870"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405392769123,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-CHI02","requires_shipping":true,"taxable":true,"featured_image":{"id":36399954100323,"product_id":8085435121763,"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\/7ddcc04b85c896474ae969e520407b404b9d616c.webp?v=1785116876","variant_ids":[44405392769123]},"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-CHI02","featured_media":{"alt":null,"id":27903572869219,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ddcc04b85c896474ae969e520407b404b9d616c.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\/ecb55bd4dc8a055776ab1b2ffd4680c1fd11bffb.webp?v=1785116868","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16790c7bec3ee9a1789110dec0e062b09443edc1.webp?v=1785116868","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de9a5763ff27a6e38cf8c5d8b8faffd021b18277.webp?v=1785116869","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d304268b212b7027974eef526e53166b7db50a06.webp?v=1785116869","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf661c8b57a62cef617800a93276bee6f69a535e.webp?v=1785116870","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f88db5f0e7655bfc17a1b3756153e54e60c599cd.webp?v=1785116871","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/557024dba273d1e2562d70b3325594b08b725336.webp?v=1785116871","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/789676b6f8cf61d3b63a2a61b7b22a320999ac75.webp?v=1785116872","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0be0c748bd997c905f6bdd4a4f92e08011d888f.webp?v=1785116874","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/198f94de3ccee8796abd97d804841f90c79e5639.webp?v=1785116875","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc375d59a41e7d0ebc2c3ce58ae4f3d0418fb006.webp?v=1785116876","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ddcc04b85c896474ae969e520407b404b9d616c.webp?v=1785116876","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25ac21bf7c38aaf4f8f60f02496997432994e378.webp?v=1785116877"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecb55bd4dc8a055776ab1b2ffd4680c1fd11bffb.webp?v=1785116868","options":["color"],"media":[{"alt":null,"id":27903567102051,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecb55bd4dc8a055776ab1b2ffd4680c1fd11bffb.webp?v=1785116868"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecb55bd4dc8a055776ab1b2ffd4680c1fd11bffb.webp?v=1785116868","width":2000},{"alt":null,"id":27903567659107,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16790c7bec3ee9a1789110dec0e062b09443edc1.webp?v=1785116868"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16790c7bec3ee9a1789110dec0e062b09443edc1.webp?v=1785116868","width":2000},{"alt":null,"id":27903568117859,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de9a5763ff27a6e38cf8c5d8b8faffd021b18277.webp?v=1785116869"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de9a5763ff27a6e38cf8c5d8b8faffd021b18277.webp?v=1785116869","width":2000},{"alt":null,"id":27903568576611,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d304268b212b7027974eef526e53166b7db50a06.webp?v=1785116869"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d304268b212b7027974eef526e53166b7db50a06.webp?v=1785116869","width":2000},{"alt":null,"id":27903569068131,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf661c8b57a62cef617800a93276bee6f69a535e.webp?v=1785116870"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf661c8b57a62cef617800a93276bee6f69a535e.webp?v=1785116870","width":2000},{"alt":null,"id":27903569559651,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f88db5f0e7655bfc17a1b3756153e54e60c599cd.webp?v=1785116871"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f88db5f0e7655bfc17a1b3756153e54e60c599cd.webp?v=1785116871","width":2000},{"alt":null,"id":27903570116707,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/557024dba273d1e2562d70b3325594b08b725336.webp?v=1785116871"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/557024dba273d1e2562d70b3325594b08b725336.webp?v=1785116871","width":2000},{"alt":null,"id":27903570673763,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/789676b6f8cf61d3b63a2a61b7b22a320999ac75.webp?v=1785116872"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/789676b6f8cf61d3b63a2a61b7b22a320999ac75.webp?v=1785116872","width":2000},{"alt":null,"id":27903571263587,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0be0c748bd997c905f6bdd4a4f92e08011d888f.webp?v=1785116874"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0be0c748bd997c905f6bdd4a4f92e08011d888f.webp?v=1785116874","width":2000},{"alt":null,"id":27903571656803,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/198f94de3ccee8796abd97d804841f90c79e5639.webp?v=1785116875"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/198f94de3ccee8796abd97d804841f90c79e5639.webp?v=1785116875","width":2000},{"alt":null,"id":27903572312163,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc375d59a41e7d0ebc2c3ce58ae4f3d0418fb006.webp?v=1785116876"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc375d59a41e7d0ebc2c3ce58ae4f3d0418fb006.webp?v=1785116876","width":2000},{"alt":null,"id":27903572869219,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ddcc04b85c896474ae969e520407b404b9d616c.webp?v=1785116876"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ddcc04b85c896474ae969e520407b404b9d616c.webp?v=1785116876","width":2000},{"alt":null,"id":27903573229667,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25ac21bf7c38aaf4f8f60f02496997432994e378.webp?v=1785116877"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25ac21bf7c38aaf4f8f60f02496997432994e378.webp?v=1785116877","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44405380644963,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-CHI02","requires_shipping":true,"taxable":true,"featured_image":{"id":36399948890211,"product_id":8085435121763,"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\/16790c7bec3ee9a1789110dec0e062b09443edc1.webp?v=1785116868","variant_ids":[44405380644963]},"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-CHI02","featured_media":{"alt":null,"id":27903567659107,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16790c7bec3ee9a1789110dec0e062b09443edc1.webp?v=1785116868"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405385789539,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-CHI02","requires_shipping":true,"taxable":true,"featured_image":{"id":36399954460771,"product_id":8085435121763,"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\/25ac21bf7c38aaf4f8f60f02496997432994e378.webp?v=1785116877","variant_ids":[44405385789539]},"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-CHI02","featured_media":{"alt":null,"id":27903573229667,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25ac21bf7c38aaf4f8f60f02496997432994e378.webp?v=1785116877"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405386313827,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-CHI02","requires_shipping":true,"taxable":true,"featured_image":{"id":36399949381731,"product_id":8085435121763,"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\/de9a5763ff27a6e38cf8c5d8b8faffd021b18277.webp?v=1785116869","variant_ids":[44405386313827]},"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-CHI02","featured_media":{"alt":null,"id":27903568117859,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/de9a5763ff27a6e38cf8c5d8b8faffd021b18277.webp?v=1785116869"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405387231331,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-CHI02","requires_shipping":true,"taxable":true,"featured_image":{"id":36399952527459,"product_id":8085435121763,"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\/e0be0c748bd997c905f6bdd4a4f92e08011d888f.webp?v=1785116874","variant_ids":[44405387231331]},"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-CHI02","featured_media":{"alt":null,"id":27903571263587,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e0be0c748bd997c905f6bdd4a4f92e08011d888f.webp?v=1785116874"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405388574819,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-CHI02","requires_shipping":true,"taxable":true,"featured_image":{"id":36399951380579,"product_id":8085435121763,"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\/557024dba273d1e2562d70b3325594b08b725336.webp?v=1785116871","variant_ids":[44405388574819]},"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-CHI02","featured_media":{"alt":null,"id":27903570116707,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/557024dba273d1e2562d70b3325594b08b725336.webp?v=1785116871"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405389262947,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-CHI02","requires_shipping":true,"taxable":true,"featured_image":{"id":36399951937635,"product_id":8085435121763,"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\/789676b6f8cf61d3b63a2a61b7b22a320999ac75.webp?v=1785116872","variant_ids":[44405389262947]},"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-CHI02","featured_media":{"alt":null,"id":27903570673763,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/789676b6f8cf61d3b63a2a61b7b22a320999ac75.webp?v=1785116872"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405389885539,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-CHI02","requires_shipping":true,"taxable":true,"featured_image":{"id":36399948333155,"product_id":8085435121763,"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\/ecb55bd4dc8a055776ab1b2ffd4680c1fd11bffb.webp?v=1785116868","variant_ids":[44405389885539]},"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-CHI02","featured_media":{"alt":null,"id":27903567102051,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecb55bd4dc8a055776ab1b2ffd4680c1fd11bffb.webp?v=1785116868"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405390377059,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-CHI02","requires_shipping":true,"taxable":true,"featured_image":{"id":36399952887907,"product_id":8085435121763,"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\/198f94de3ccee8796abd97d804841f90c79e5639.webp?v=1785116875","variant_ids":[44405390377059]},"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-CHI02","featured_media":{"alt":null,"id":27903571656803,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/198f94de3ccee8796abd97d804841f90c79e5639.webp?v=1785116875"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405390803043,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-CHI02","requires_shipping":true,"taxable":true,"featured_image":{"id":36399949807715,"product_id":8085435121763,"position":4,"created_at":"2026-07-27T09:47:48+08:00","updated_at":"2026-07-27T09:47:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d304268b212b7027974eef526e53166b7db50a06.webp?v=1785116869","variant_ids":[44405390803043]},"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-CHI02","featured_media":{"alt":null,"id":27903568576611,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d304268b212b7027974eef526e53166b7db50a06.webp?v=1785116869"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405391327331,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-CHI02","requires_shipping":true,"taxable":true,"featured_image":{"id":36399953543267,"product_id":8085435121763,"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\/dc375d59a41e7d0ebc2c3ce58ae4f3d0418fb006.webp?v=1785116876","variant_ids":[44405391327331]},"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-CHI02","featured_media":{"alt":null,"id":27903572312163,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc375d59a41e7d0ebc2c3ce58ae4f3d0418fb006.webp?v=1785116876"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405391786083,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-CHI02","requires_shipping":true,"taxable":true,"featured_image":{"id":36399950692451,"product_id":8085435121763,"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\/f88db5f0e7655bfc17a1b3756153e54e60c599cd.webp?v=1785116871","variant_ids":[44405391786083]},"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-CHI02","featured_media":{"alt":null,"id":27903569559651,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f88db5f0e7655bfc17a1b3756153e54e60c599cd.webp?v=1785116871"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405392310371,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-CHI02","requires_shipping":true,"taxable":true,"featured_image":{"id":36399950299235,"product_id":8085435121763,"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\/bf661c8b57a62cef617800a93276bee6f69a535e.webp?v=1785116870","variant_ids":[44405392310371]},"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-CHI02","featured_media":{"alt":null,"id":27903569068131,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bf661c8b57a62cef617800a93276bee6f69a535e.webp?v=1785116870"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405392769123,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-CHI02","requires_shipping":true,"taxable":true,"featured_image":{"id":36399954100323,"product_id":8085435121763,"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\/7ddcc04b85c896474ae969e520407b404b9d616c.webp?v=1785116876","variant_ids":[44405392769123]},"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-CHI02","featured_media":{"alt":null,"id":27903572869219,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ddcc04b85c896474ae969e520407b404b9d616c.webp?v=1785116876"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44405380644963,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-CHI02","requires_shipping":true,"taxable":true,"featured_image":{"id":36399948890211,"product_id":8085435121763,"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\/16790c7bec3ee9a1789110dec0e062b09443edc1.webp?v=1785116868","variant_ids":[44405380644963]},"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-CHI02","featured_media":{"alt":null,"id":27903567659107,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/16790c7bec3ee9a1789110dec0e062b09443edc1.webp?v=1785116868"}},"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: "停產"
}