$product = {"id":8085435187299,"title":"iPhone 17 Pro Max SolidX 吉伊卡哇Chiikawa 小桃鼠與他的小物","handle":"iphone-17-pro-max-solidx-chi04","description":null,"published_at":"2026-07-27T10:45:46+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":44405380710499,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-CHI04","requires_shipping":true,"taxable":true,"featured_image":{"id":36399953346659,"product_id":8085435187299,"position":11,"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\/a8b22523c1e254dd7b30599ef3264eaf65543483.webp?v=1785116875","variant_ids":[44405380710499]},"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-CHI04","featured_media":{"alt":null,"id":27903572115555,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b22523c1e254dd7b30599ef3264eaf65543483.webp?v=1785116875"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405385527395,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-CHI04","requires_shipping":true,"taxable":true,"featured_image":{"id":36399953772643,"product_id":8085435187299,"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\/dcc2dee6bc80563392fc12647b73843f9f425680.webp?v=1785116876","variant_ids":[44405385527395]},"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-CHI04","featured_media":{"alt":null,"id":27903572541539,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcc2dee6bc80563392fc12647b73843f9f425680.webp?v=1785116876"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405385986147,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-CHI04","requires_shipping":true,"taxable":true,"featured_image":{"id":36399954198627,"product_id":8085435187299,"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\/9f73de232cd05e438c1a13f259bc5c10a551ec0c.webp?v=1785116877","variant_ids":[44405385986147]},"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-CHI04","featured_media":{"alt":null,"id":27903572967523,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f73de232cd05e438c1a13f259bc5c10a551ec0c.webp?v=1785116877"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405386346595,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-CHI04","requires_shipping":true,"taxable":true,"featured_image":{"id":36399948529763,"product_id":8085435187299,"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\/11770e2e8f279834928a89fd2e3234be916e7383.webp?v=1785116868","variant_ids":[44405386346595]},"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-CHI04","featured_media":{"alt":null,"id":27903567265891,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11770e2e8f279834928a89fd2e3234be916e7383.webp?v=1785116868"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405387198563,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-CHI04","requires_shipping":true,"taxable":true,"featured_image":{"id":36399952003171,"product_id":8085435187299,"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\/d482cf119cd114621a43d7f0fc8ef0401f15421a.webp?v=1785116872","variant_ids":[44405387198563]},"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-CHI04","featured_media":{"alt":null,"id":27903570804835,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d482cf119cd114621a43d7f0fc8ef0401f15421a.webp?v=1785116872"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405388935267,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-CHI04","requires_shipping":true,"taxable":true,"featured_image":{"id":36399949054051,"product_id":8085435187299,"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\/6ff7c1ac2f0bb9626954f30d09f26e0834d91f17.webp?v=1785116868","variant_ids":[44405388935267]},"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-CHI04","featured_media":{"alt":null,"id":27903567822947,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ff7c1ac2f0bb9626954f30d09f26e0834d91f17.webp?v=1785116868"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405389328483,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-CHI04","requires_shipping":true,"taxable":true,"featured_image":{"id":36399950397539,"product_id":8085435187299,"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\/87267129055a0b8d5b5578a096bd7fef900e1e9f.webp?v=1785116870","variant_ids":[44405389328483]},"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-CHI04","featured_media":{"alt":null,"id":27903569133667,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87267129055a0b8d5b5578a096bd7fef900e1e9f.webp?v=1785116870"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405389820003,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-CHI04","requires_shipping":true,"taxable":true,"featured_image":{"id":36399949971555,"product_id":8085435187299,"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\/def293efe8f84902255a8e26957d097d43f9f109.webp?v=1785116870","variant_ids":[44405389820003]},"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-CHI04","featured_media":{"alt":null,"id":27903568707683,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/def293efe8f84902255a8e26957d097d43f9f109.webp?v=1785116870"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405390344291,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-CHI04","requires_shipping":true,"taxable":true,"featured_image":{"id":36399952363619,"product_id":8085435187299,"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\/3e5bd6643b2090c74b155ac4cd57b41130260706.webp?v=1785116874","variant_ids":[44405390344291]},"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-CHI04","featured_media":{"alt":null,"id":27903571165283,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e5bd6643b2090c74b155ac4cd57b41130260706.webp?v=1785116874"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405390868579,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-CHI04","requires_shipping":true,"taxable":true,"featured_image":{"id":36399950790755,"product_id":8085435187299,"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\/38876923ea6354197b963074b76b2d400bff5608.webp?v=1785116871","variant_ids":[44405390868579]},"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-CHI04","featured_media":{"alt":null,"id":27903569526883,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38876923ea6354197b963074b76b2d400bff5608.webp?v=1785116871"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405391523939,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-CHI04","requires_shipping":true,"taxable":true,"featured_image":{"id":36399949447267,"product_id":8085435187299,"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\/d0144222025b59fe458a0c4107bce048e1d95d16.webp?v=1785116869","variant_ids":[44405391523939]},"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-CHI04","featured_media":{"alt":null,"id":27903568216163,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0144222025b59fe458a0c4107bce048e1d95d16.webp?v=1785116869"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405392015459,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-CHI04","requires_shipping":true,"taxable":true,"featured_image":{"id":36399952756835,"product_id":8085435187299,"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\/83967b3ca507e1a977c8d49cd78c22d41714a211.webp?v=1785116875","variant_ids":[44405392015459]},"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-CHI04","featured_media":{"alt":null,"id":27903571525731,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83967b3ca507e1a977c8d49cd78c22d41714a211.webp?v=1785116875"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405392375907,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-CHI04","requires_shipping":true,"taxable":true,"featured_image":{"id":36399951315043,"product_id":8085435187299,"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\/22fe2f870db5d745743950c9e695a047425dafed.webp?v=1785116871","variant_ids":[44405392375907]},"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-CHI04","featured_media":{"alt":null,"id":27903570083939,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22fe2f870db5d745743950c9e695a047425dafed.webp?v=1785116871"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11770e2e8f279834928a89fd2e3234be916e7383.webp?v=1785116868","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ff7c1ac2f0bb9626954f30d09f26e0834d91f17.webp?v=1785116868","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0144222025b59fe458a0c4107bce048e1d95d16.webp?v=1785116869","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/def293efe8f84902255a8e26957d097d43f9f109.webp?v=1785116870","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87267129055a0b8d5b5578a096bd7fef900e1e9f.webp?v=1785116870","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38876923ea6354197b963074b76b2d400bff5608.webp?v=1785116871","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22fe2f870db5d745743950c9e695a047425dafed.webp?v=1785116871","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d482cf119cd114621a43d7f0fc8ef0401f15421a.webp?v=1785116872","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e5bd6643b2090c74b155ac4cd57b41130260706.webp?v=1785116874","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83967b3ca507e1a977c8d49cd78c22d41714a211.webp?v=1785116875","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b22523c1e254dd7b30599ef3264eaf65543483.webp?v=1785116875","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcc2dee6bc80563392fc12647b73843f9f425680.webp?v=1785116876","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f73de232cd05e438c1a13f259bc5c10a551ec0c.webp?v=1785116877"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11770e2e8f279834928a89fd2e3234be916e7383.webp?v=1785116868","options":["color"],"media":[{"alt":null,"id":27903567265891,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11770e2e8f279834928a89fd2e3234be916e7383.webp?v=1785116868"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11770e2e8f279834928a89fd2e3234be916e7383.webp?v=1785116868","width":2000},{"alt":null,"id":27903567822947,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ff7c1ac2f0bb9626954f30d09f26e0834d91f17.webp?v=1785116868"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ff7c1ac2f0bb9626954f30d09f26e0834d91f17.webp?v=1785116868","width":2000},{"alt":null,"id":27903568216163,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0144222025b59fe458a0c4107bce048e1d95d16.webp?v=1785116869"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0144222025b59fe458a0c4107bce048e1d95d16.webp?v=1785116869","width":2000},{"alt":null,"id":27903568707683,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/def293efe8f84902255a8e26957d097d43f9f109.webp?v=1785116870"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/def293efe8f84902255a8e26957d097d43f9f109.webp?v=1785116870","width":2000},{"alt":null,"id":27903569133667,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87267129055a0b8d5b5578a096bd7fef900e1e9f.webp?v=1785116870"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87267129055a0b8d5b5578a096bd7fef900e1e9f.webp?v=1785116870","width":2000},{"alt":null,"id":27903569526883,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38876923ea6354197b963074b76b2d400bff5608.webp?v=1785116871"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38876923ea6354197b963074b76b2d400bff5608.webp?v=1785116871","width":2000},{"alt":null,"id":27903570083939,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22fe2f870db5d745743950c9e695a047425dafed.webp?v=1785116871"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22fe2f870db5d745743950c9e695a047425dafed.webp?v=1785116871","width":2000},{"alt":null,"id":27903570804835,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d482cf119cd114621a43d7f0fc8ef0401f15421a.webp?v=1785116872"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d482cf119cd114621a43d7f0fc8ef0401f15421a.webp?v=1785116872","width":2000},{"alt":null,"id":27903571165283,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e5bd6643b2090c74b155ac4cd57b41130260706.webp?v=1785116874"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e5bd6643b2090c74b155ac4cd57b41130260706.webp?v=1785116874","width":2000},{"alt":null,"id":27903571525731,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83967b3ca507e1a977c8d49cd78c22d41714a211.webp?v=1785116875"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83967b3ca507e1a977c8d49cd78c22d41714a211.webp?v=1785116875","width":2000},{"alt":null,"id":27903572115555,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b22523c1e254dd7b30599ef3264eaf65543483.webp?v=1785116875"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b22523c1e254dd7b30599ef3264eaf65543483.webp?v=1785116875","width":2000},{"alt":null,"id":27903572541539,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcc2dee6bc80563392fc12647b73843f9f425680.webp?v=1785116876"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcc2dee6bc80563392fc12647b73843f9f425680.webp?v=1785116876","width":2000},{"alt":null,"id":27903572967523,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f73de232cd05e438c1a13f259bc5c10a551ec0c.webp?v=1785116877"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f73de232cd05e438c1a13f259bc5c10a551ec0c.webp?v=1785116877","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44405380710499,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-CHI04","requires_shipping":true,"taxable":true,"featured_image":{"id":36399953346659,"product_id":8085435187299,"position":11,"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\/a8b22523c1e254dd7b30599ef3264eaf65543483.webp?v=1785116875","variant_ids":[44405380710499]},"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-CHI04","featured_media":{"alt":null,"id":27903572115555,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b22523c1e254dd7b30599ef3264eaf65543483.webp?v=1785116875"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405385527395,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"NST013535Z-CHI04","requires_shipping":true,"taxable":true,"featured_image":{"id":36399953772643,"product_id":8085435187299,"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\/dcc2dee6bc80563392fc12647b73843f9f425680.webp?v=1785116876","variant_ids":[44405385527395]},"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-CHI04","featured_media":{"alt":null,"id":27903572541539,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dcc2dee6bc80563392fc12647b73843f9f425680.webp?v=1785116876"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405385986147,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"NST013535Y-CHI04","requires_shipping":true,"taxable":true,"featured_image":{"id":36399954198627,"product_id":8085435187299,"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\/9f73de232cd05e438c1a13f259bc5c10a551ec0c.webp?v=1785116877","variant_ids":[44405385986147]},"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-CHI04","featured_media":{"alt":null,"id":27903572967523,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f73de232cd05e438c1a13f259bc5c10a551ec0c.webp?v=1785116877"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405386346595,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"NST013535X-CHI04","requires_shipping":true,"taxable":true,"featured_image":{"id":36399948529763,"product_id":8085435187299,"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\/11770e2e8f279834928a89fd2e3234be916e7383.webp?v=1785116868","variant_ids":[44405386346595]},"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-CHI04","featured_media":{"alt":null,"id":27903567265891,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11770e2e8f279834928a89fd2e3234be916e7383.webp?v=1785116868"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405387198563,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"NST013535H-CHI04","requires_shipping":true,"taxable":true,"featured_image":{"id":36399952003171,"product_id":8085435187299,"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\/d482cf119cd114621a43d7f0fc8ef0401f15421a.webp?v=1785116872","variant_ids":[44405387198563]},"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-CHI04","featured_media":{"alt":null,"id":27903570804835,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d482cf119cd114621a43d7f0fc8ef0401f15421a.webp?v=1785116872"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405388935267,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST013534I-CHI04","requires_shipping":true,"taxable":true,"featured_image":{"id":36399949054051,"product_id":8085435187299,"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\/6ff7c1ac2f0bb9626954f30d09f26e0834d91f17.webp?v=1785116868","variant_ids":[44405388935267]},"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-CHI04","featured_media":{"alt":null,"id":27903567822947,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6ff7c1ac2f0bb9626954f30d09f26e0834d91f17.webp?v=1785116868"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405389328483,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"NST013534H-CHI04","requires_shipping":true,"taxable":true,"featured_image":{"id":36399950397539,"product_id":8085435187299,"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\/87267129055a0b8d5b5578a096bd7fef900e1e9f.webp?v=1785116870","variant_ids":[44405389328483]},"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-CHI04","featured_media":{"alt":null,"id":27903569133667,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87267129055a0b8d5b5578a096bd7fef900e1e9f.webp?v=1785116870"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405389820003,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"NST013533O-CHI04","requires_shipping":true,"taxable":true,"featured_image":{"id":36399949971555,"product_id":8085435187299,"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\/def293efe8f84902255a8e26957d097d43f9f109.webp?v=1785116870","variant_ids":[44405389820003]},"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-CHI04","featured_media":{"alt":null,"id":27903568707683,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/def293efe8f84902255a8e26957d097d43f9f109.webp?v=1785116870"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405390344291,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"NST013530F-CHI04","requires_shipping":true,"taxable":true,"featured_image":{"id":36399952363619,"product_id":8085435187299,"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\/3e5bd6643b2090c74b155ac4cd57b41130260706.webp?v=1785116874","variant_ids":[44405390344291]},"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-CHI04","featured_media":{"alt":null,"id":27903571165283,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e5bd6643b2090c74b155ac4cd57b41130260706.webp?v=1785116874"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405390868579,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST013530B-CHI04","requires_shipping":true,"taxable":true,"featured_image":{"id":36399950790755,"product_id":8085435187299,"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\/38876923ea6354197b963074b76b2d400bff5608.webp?v=1785116871","variant_ids":[44405390868579]},"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-CHI04","featured_media":{"alt":null,"id":27903569526883,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38876923ea6354197b963074b76b2d400bff5608.webp?v=1785116871"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405391523939,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0135352-CHI04","requires_shipping":true,"taxable":true,"featured_image":{"id":36399949447267,"product_id":8085435187299,"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\/d0144222025b59fe458a0c4107bce048e1d95d16.webp?v=1785116869","variant_ids":[44405391523939]},"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-CHI04","featured_media":{"alt":null,"id":27903568216163,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d0144222025b59fe458a0c4107bce048e1d95d16.webp?v=1785116869"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405392015459,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01353O8-CHI04","requires_shipping":true,"taxable":true,"featured_image":{"id":36399952756835,"product_id":8085435187299,"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\/83967b3ca507e1a977c8d49cd78c22d41714a211.webp?v=1785116875","variant_ids":[44405392015459]},"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-CHI04","featured_media":{"alt":null,"id":27903571525731,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/83967b3ca507e1a977c8d49cd78c22d41714a211.webp?v=1785116875"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44405392375907,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0135353-CHI04","requires_shipping":true,"taxable":true,"featured_image":{"id":36399951315043,"product_id":8085435187299,"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\/22fe2f870db5d745743950c9e695a047425dafed.webp?v=1785116871","variant_ids":[44405392375907]},"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-CHI04","featured_media":{"alt":null,"id":27903570083939,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22fe2f870db5d745743950c9e695a047425dafed.webp?v=1785116871"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44405380710499,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"NST013536A-CHI04","requires_shipping":true,"taxable":true,"featured_image":{"id":36399953346659,"product_id":8085435187299,"position":11,"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\/a8b22523c1e254dd7b30599ef3264eaf65543483.webp?v=1785116875","variant_ids":[44405380710499]},"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-CHI04","featured_media":{"alt":null,"id":27903572115555,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b22523c1e254dd7b30599ef3264eaf65543483.webp?v=1785116875"}},"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: "停產"
}