$product = {"id":7960519966819,"title":"iPhone 14 Pro Max SolidSuit Knock Knock A2Z FLAWLESS","handle":"iphone-14-pro-max-solidsuit-classic-en06","description":null,"published_at":"2026-02-09T11:14:43+08:00","created_at":"2026-02-09T09:38:29+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-knockknockatoz","device-iPhone 14 Pro Max","merge","reseller-knockknockatoz"],"price":83000,"price_min":83000,"price_max":83000,"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":43991495409763,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"SST012630E-EN06","requires_shipping":true,"taxable":true,"featured_image":{"id":36200508424291,"product_id":7960519966819,"position":13,"created_at":"2026-07-07T18:21:24+08:00","updated_at":"2026-07-07T18:21:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc491bfe0869d6482801468b2d730cd2afc92708_b9983a1b-0548-4433-a152-4443ad6690d9.webp?v=1783419686","variant_ids":[43991495409763]},"available":true,"name":"iPhone 14 Pro Max SolidSuit Knock Knock A2Z FLAWLESS - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST012630E-EN06","featured_media":{"alt":null,"id":27705313493091,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc491bfe0869d6482801468b2d730cd2afc92708_b9983a1b-0548-4433-a152-4443ad6690d9.webp?v=1783419686"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43991496261731,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"SST012630D-EN06","requires_shipping":true,"taxable":true,"featured_image":{"id":36200509669475,"product_id":7960519966819,"position":20,"created_at":"2026-07-07T18:21:28+08:00","updated_at":"2026-07-07T18:21:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78a8f2267af13ad0eeb83c08d721a0f88a45d795_49fda1ee-71a6-4a3d-876d-cc69ee2aa2f3.webp?v=1783419690","variant_ids":[43991496261731]},"available":true,"name":"iPhone 14 Pro Max SolidSuit Knock Knock A2Z FLAWLESS - Bordeaux Red","public_title":"Bordeaux Red","options":["Bordeaux Red"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST012630D-EN06","featured_media":{"alt":null,"id":27705314738275,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78a8f2267af13ad0eeb83c08d721a0f88a45d795_49fda1ee-71a6-4a3d-876d-cc69ee2aa2f3.webp?v=1783419690"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43991496917091,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"SST012630C-EN06","requires_shipping":true,"taxable":true,"featured_image":{"id":36200508489827,"product_id":7960519966819,"position":14,"created_at":"2026-07-07T18:21:25+08:00","updated_at":"2026-07-07T18:21:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e52e0b69232db6b8fb4e2df01d69f6f4191f8444_a4075509-eb06-49e4-af72-abac2ea60dca.webp?v=1783419687","variant_ids":[43991496917091]},"available":true,"name":"iPhone 14 Pro Max SolidSuit Knock Knock A2Z FLAWLESS - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST012630C-EN06","featured_media":{"alt":null,"id":27705313558627,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e52e0b69232db6b8fb4e2df01d69f6f4191f8444_a4075509-eb06-49e4-af72-abac2ea60dca.webp?v=1783419687"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43991497506915,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"SST012630B-EN06","requires_shipping":true,"taxable":true,"featured_image":{"id":36200509079651,"product_id":7960519966819,"position":18,"created_at":"2026-07-07T18:21:27+08:00","updated_at":"2026-07-07T18:21:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e75aa6bb901eb3a81ea056b269eba15cdc089627_7631de0d-cad4-4fcb-af76-41a670e63787.webp?v=1783419690","variant_ids":[43991497506915]},"available":true,"name":"iPhone 14 Pro Max SolidSuit Knock Knock A2Z FLAWLESS - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST012630B-EN06","featured_media":{"alt":null,"id":27705314181219,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e75aa6bb901eb3a81ea056b269eba15cdc089627_7631de0d-cad4-4fcb-af76-41a670e63787.webp?v=1783419690"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43991498031203,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"SST01263Z7-EN06","requires_shipping":true,"taxable":true,"featured_image":{"id":36200508325987,"product_id":7960519966819,"position":12,"created_at":"2026-07-07T18:21:24+08:00","updated_at":"2026-07-07T18:21:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa22a64f5480698e3ebbee4ff680022601a6d354_7e05e461-bef3-42f7-b21f-017baf61955c.webp?v=1783419686","variant_ids":[43991498031203]},"available":true,"name":"iPhone 14 Pro Max SolidSuit Knock Knock A2Z FLAWLESS - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01263Z7-EN06","featured_media":{"alt":null,"id":27705313394787,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa22a64f5480698e3ebbee4ff680022601a6d354_7e05e461-bef3-42f7-b21f-017baf61955c.webp?v=1783419686"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43991498752099,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"SST01263O9-EN06","requires_shipping":true,"taxable":true,"featured_image":{"id":36200508588131,"product_id":7960519966819,"position":15,"created_at":"2026-07-07T18:21:25+08:00","updated_at":"2026-07-07T18:21:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ff1dec4c579f52ec99067a03a23c765f1064ac6_f0e577e1-a5ac-4419-b837-6718a6dad62b.webp?v=1783419688","variant_ids":[43991498752099]},"available":true,"name":"iPhone 14 Pro Max SolidSuit Knock Knock A2Z FLAWLESS - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01263O9-EN06","featured_media":{"alt":null,"id":27705313656931,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ff1dec4c579f52ec99067a03a23c765f1064ac6_f0e577e1-a5ac-4419-b837-6718a6dad62b.webp?v=1783419688"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43991499112547,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"SST0126357-EN06","requires_shipping":true,"taxable":true,"featured_image":{"id":35213696499811,"product_id":7960519966819,"position":7,"created_at":"2026-02-09T09:39:07+08:00","updated_at":"2026-02-09T09:39:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ee2b56c3b951c03e0104e477200dc2ddc44f114.webp?v=1770601149","variant_ids":[43991499112547]},"available":true,"name":"iPhone 14 Pro Max SolidSuit Knock Knock A2Z FLAWLESS - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0126357-EN06","featured_media":{"alt":null,"id":26765907886179,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ee2b56c3b951c03e0104e477200dc2ddc44f114.webp?v=1770601149"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43991499833443,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0126352-EN06","requires_shipping":true,"taxable":true,"featured_image":{"id":36200509440099,"product_id":7960519966819,"position":19,"created_at":"2026-07-07T18:21:28+08:00","updated_at":"2026-07-07T18:21:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a996c96a535d856ca27b668f07987528ffd06b3_8cf61947-4dbb-48ad-979b-a2a704596423.webp?v=1783419690","variant_ids":[43991499833443]},"available":true,"name":"iPhone 14 Pro Max SolidSuit Knock Knock A2Z FLAWLESS - Black","public_title":"Black","options":["Black"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0126352-EN06","featured_media":{"alt":null,"id":27705314508899,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a996c96a535d856ca27b668f07987528ffd06b3_8cf61947-4dbb-48ad-979b-a2a704596423.webp?v=1783419690"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43991500488803,"title":"Antique Bronze","option1":"Antique Bronze","option2":null,"option3":null,"sku":"SST01263P0-EN06","requires_shipping":true,"taxable":true,"featured_image":{"id":36200508686435,"product_id":7960519966819,"position":16,"created_at":"2026-07-07T18:21:26+08:00","updated_at":"2026-07-07T18:21:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46b179464a614a0e1bd734ff152d738707917840_2be17b38-d5d1-48b9-ac91-263c2fa9f85f.webp?v=1783419688","variant_ids":[43991500488803]},"available":true,"name":"iPhone 14 Pro Max SolidSuit Knock Knock A2Z FLAWLESS - Antique Bronze","public_title":"Antique Bronze","options":["Antique Bronze"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01263P0-EN06","featured_media":{"alt":null,"id":27705313755235,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46b179464a614a0e1bd734ff152d738707917840_2be17b38-d5d1-48b9-ac91-263c2fa9f85f.webp?v=1783419688"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43991500980323,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"SST01263P1-EN06","requires_shipping":true,"taxable":true,"featured_image":{"id":36200508850275,"product_id":7960519966819,"position":17,"created_at":"2026-07-07T18:21:27+08:00","updated_at":"2026-07-07T18:21:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22a63b0b5757fa3878e9db5642ac0fbe6ab5de2e_68b0e4f1-3d91-430c-b8b6-93046282bbfb.webp?v=1783419689","variant_ids":[43991500980323]},"available":true,"name":"iPhone 14 Pro Max SolidSuit Knock Knock A2Z FLAWLESS - Violet","public_title":"Violet","options":["Violet"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01263P1-EN06","featured_media":{"alt":null,"id":27705313919075,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22a63b0b5757fa3878e9db5642ac0fbe6ab5de2e_68b0e4f1-3d91-430c-b8b6-93046282bbfb.webp?v=1783419689"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78a8f2267af13ad0eeb83c08d721a0f88a45d795.webp?v=1770601146","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e52e0b69232db6b8fb4e2df01d69f6f4191f8444.webp?v=1770601146","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ff1dec4c579f52ec99067a03a23c765f1064ac6.webp?v=1770601147","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a996c96a535d856ca27b668f07987528ffd06b3.webp?v=1770601147","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc491bfe0869d6482801468b2d730cd2afc92708.webp?v=1770601148","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa22a64f5480698e3ebbee4ff680022601a6d354.webp?v=1770601149","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ee2b56c3b951c03e0104e477200dc2ddc44f114.webp?v=1770601149","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46b179464a614a0e1bd734ff152d738707917840.webp?v=1770601152","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b249ac42e5da26c47cbb98e4fa138c6bbb4f178f.webp?v=1770601153","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22a63b0b5757fa3878e9db5642ac0fbe6ab5de2e.webp?v=1770601153","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e75aa6bb901eb3a81ea056b269eba15cdc089627.webp?v=1770601154","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa22a64f5480698e3ebbee4ff680022601a6d354_7e05e461-bef3-42f7-b21f-017baf61955c.webp?v=1783419686","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc491bfe0869d6482801468b2d730cd2afc92708_b9983a1b-0548-4433-a152-4443ad6690d9.webp?v=1783419686","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e52e0b69232db6b8fb4e2df01d69f6f4191f8444_a4075509-eb06-49e4-af72-abac2ea60dca.webp?v=1783419687","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ff1dec4c579f52ec99067a03a23c765f1064ac6_f0e577e1-a5ac-4419-b837-6718a6dad62b.webp?v=1783419688","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46b179464a614a0e1bd734ff152d738707917840_2be17b38-d5d1-48b9-ac91-263c2fa9f85f.webp?v=1783419688","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22a63b0b5757fa3878e9db5642ac0fbe6ab5de2e_68b0e4f1-3d91-430c-b8b6-93046282bbfb.webp?v=1783419689","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e75aa6bb901eb3a81ea056b269eba15cdc089627_7631de0d-cad4-4fcb-af76-41a670e63787.webp?v=1783419690","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a996c96a535d856ca27b668f07987528ffd06b3_8cf61947-4dbb-48ad-979b-a2a704596423.webp?v=1783419690","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78a8f2267af13ad0eeb83c08d721a0f88a45d795_49fda1ee-71a6-4a3d-876d-cc69ee2aa2f3.webp?v=1783419690"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78a8f2267af13ad0eeb83c08d721a0f88a45d795.webp?v=1770601146","options":["color"],"media":[{"alt":null,"id":26765904904291,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78a8f2267af13ad0eeb83c08d721a0f88a45d795.webp?v=1770601146"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78a8f2267af13ad0eeb83c08d721a0f88a45d795.webp?v=1770601146","width":2000},{"alt":null,"id":26765905199203,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e52e0b69232db6b8fb4e2df01d69f6f4191f8444.webp?v=1770601146"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e52e0b69232db6b8fb4e2df01d69f6f4191f8444.webp?v=1770601146","width":2000},{"alt":null,"id":26765905625187,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ff1dec4c579f52ec99067a03a23c765f1064ac6.webp?v=1770601147"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ff1dec4c579f52ec99067a03a23c765f1064ac6.webp?v=1770601147","width":2000},{"alt":null,"id":26765906444387,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a996c96a535d856ca27b668f07987528ffd06b3.webp?v=1770601147"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a996c96a535d856ca27b668f07987528ffd06b3.webp?v=1770601147","width":2000},{"alt":null,"id":26765906935907,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc491bfe0869d6482801468b2d730cd2afc92708.webp?v=1770601148"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc491bfe0869d6482801468b2d730cd2afc92708.webp?v=1770601148","width":2000},{"alt":null,"id":26765907263587,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa22a64f5480698e3ebbee4ff680022601a6d354.webp?v=1770601149"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa22a64f5480698e3ebbee4ff680022601a6d354.webp?v=1770601149","width":2000},{"alt":null,"id":26765907886179,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ee2b56c3b951c03e0104e477200dc2ddc44f114.webp?v=1770601149"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ee2b56c3b951c03e0104e477200dc2ddc44f114.webp?v=1770601149","width":2000},{"alt":null,"id":26765908967523,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46b179464a614a0e1bd734ff152d738707917840.webp?v=1770601152"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46b179464a614a0e1bd734ff152d738707917840.webp?v=1770601152","width":2000},{"alt":null,"id":26765909196899,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b249ac42e5da26c47cbb98e4fa138c6bbb4f178f.webp?v=1770601153"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b249ac42e5da26c47cbb98e4fa138c6bbb4f178f.webp?v=1770601153","width":2000},{"alt":null,"id":26765909786723,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22a63b0b5757fa3878e9db5642ac0fbe6ab5de2e.webp?v=1770601153"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22a63b0b5757fa3878e9db5642ac0fbe6ab5de2e.webp?v=1770601153","width":2000},{"alt":null,"id":26765910507619,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e75aa6bb901eb3a81ea056b269eba15cdc089627.webp?v=1770601154"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e75aa6bb901eb3a81ea056b269eba15cdc089627.webp?v=1770601154","width":2000},{"alt":null,"id":27705313394787,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa22a64f5480698e3ebbee4ff680022601a6d354_7e05e461-bef3-42f7-b21f-017baf61955c.webp?v=1783419686"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa22a64f5480698e3ebbee4ff680022601a6d354_7e05e461-bef3-42f7-b21f-017baf61955c.webp?v=1783419686","width":2000},{"alt":null,"id":27705313493091,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc491bfe0869d6482801468b2d730cd2afc92708_b9983a1b-0548-4433-a152-4443ad6690d9.webp?v=1783419686"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc491bfe0869d6482801468b2d730cd2afc92708_b9983a1b-0548-4433-a152-4443ad6690d9.webp?v=1783419686","width":2000},{"alt":null,"id":27705313558627,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e52e0b69232db6b8fb4e2df01d69f6f4191f8444_a4075509-eb06-49e4-af72-abac2ea60dca.webp?v=1783419687"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e52e0b69232db6b8fb4e2df01d69f6f4191f8444_a4075509-eb06-49e4-af72-abac2ea60dca.webp?v=1783419687","width":2000},{"alt":null,"id":27705313656931,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ff1dec4c579f52ec99067a03a23c765f1064ac6_f0e577e1-a5ac-4419-b837-6718a6dad62b.webp?v=1783419688"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ff1dec4c579f52ec99067a03a23c765f1064ac6_f0e577e1-a5ac-4419-b837-6718a6dad62b.webp?v=1783419688","width":2000},{"alt":null,"id":27705313755235,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46b179464a614a0e1bd734ff152d738707917840_2be17b38-d5d1-48b9-ac91-263c2fa9f85f.webp?v=1783419688"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46b179464a614a0e1bd734ff152d738707917840_2be17b38-d5d1-48b9-ac91-263c2fa9f85f.webp?v=1783419688","width":2000},{"alt":null,"id":27705313919075,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22a63b0b5757fa3878e9db5642ac0fbe6ab5de2e_68b0e4f1-3d91-430c-b8b6-93046282bbfb.webp?v=1783419689"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22a63b0b5757fa3878e9db5642ac0fbe6ab5de2e_68b0e4f1-3d91-430c-b8b6-93046282bbfb.webp?v=1783419689","width":2000},{"alt":null,"id":27705314181219,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e75aa6bb901eb3a81ea056b269eba15cdc089627_7631de0d-cad4-4fcb-af76-41a670e63787.webp?v=1783419690"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e75aa6bb901eb3a81ea056b269eba15cdc089627_7631de0d-cad4-4fcb-af76-41a670e63787.webp?v=1783419690","width":2000},{"alt":null,"id":27705314508899,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a996c96a535d856ca27b668f07987528ffd06b3_8cf61947-4dbb-48ad-979b-a2a704596423.webp?v=1783419690"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a996c96a535d856ca27b668f07987528ffd06b3_8cf61947-4dbb-48ad-979b-a2a704596423.webp?v=1783419690","width":2000},{"alt":null,"id":27705314738275,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78a8f2267af13ad0eeb83c08d721a0f88a45d795_49fda1ee-71a6-4a3d-876d-cc69ee2aa2f3.webp?v=1783419690"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78a8f2267af13ad0eeb83c08d721a0f88a45d795_49fda1ee-71a6-4a3d-876d-cc69ee2aa2f3.webp?v=1783419690","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43991495409763,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"SST012630E-EN06","requires_shipping":true,"taxable":true,"featured_image":{"id":36200508424291,"product_id":7960519966819,"position":13,"created_at":"2026-07-07T18:21:24+08:00","updated_at":"2026-07-07T18:21:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc491bfe0869d6482801468b2d730cd2afc92708_b9983a1b-0548-4433-a152-4443ad6690d9.webp?v=1783419686","variant_ids":[43991495409763]},"available":true,"name":"iPhone 14 Pro Max SolidSuit Knock Knock A2Z FLAWLESS - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST012630E-EN06","featured_media":{"alt":null,"id":27705313493091,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc491bfe0869d6482801468b2d730cd2afc92708_b9983a1b-0548-4433-a152-4443ad6690d9.webp?v=1783419686"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43991496261731,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"SST012630D-EN06","requires_shipping":true,"taxable":true,"featured_image":{"id":36200509669475,"product_id":7960519966819,"position":20,"created_at":"2026-07-07T18:21:28+08:00","updated_at":"2026-07-07T18:21:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78a8f2267af13ad0eeb83c08d721a0f88a45d795_49fda1ee-71a6-4a3d-876d-cc69ee2aa2f3.webp?v=1783419690","variant_ids":[43991496261731]},"available":true,"name":"iPhone 14 Pro Max SolidSuit Knock Knock A2Z FLAWLESS - Bordeaux Red","public_title":"Bordeaux Red","options":["Bordeaux Red"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST012630D-EN06","featured_media":{"alt":null,"id":27705314738275,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78a8f2267af13ad0eeb83c08d721a0f88a45d795_49fda1ee-71a6-4a3d-876d-cc69ee2aa2f3.webp?v=1783419690"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43991496917091,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"SST012630C-EN06","requires_shipping":true,"taxable":true,"featured_image":{"id":36200508489827,"product_id":7960519966819,"position":14,"created_at":"2026-07-07T18:21:25+08:00","updated_at":"2026-07-07T18:21:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e52e0b69232db6b8fb4e2df01d69f6f4191f8444_a4075509-eb06-49e4-af72-abac2ea60dca.webp?v=1783419687","variant_ids":[43991496917091]},"available":true,"name":"iPhone 14 Pro Max SolidSuit Knock Knock A2Z FLAWLESS - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST012630C-EN06","featured_media":{"alt":null,"id":27705313558627,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e52e0b69232db6b8fb4e2df01d69f6f4191f8444_a4075509-eb06-49e4-af72-abac2ea60dca.webp?v=1783419687"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43991497506915,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"SST012630B-EN06","requires_shipping":true,"taxable":true,"featured_image":{"id":36200509079651,"product_id":7960519966819,"position":18,"created_at":"2026-07-07T18:21:27+08:00","updated_at":"2026-07-07T18:21:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e75aa6bb901eb3a81ea056b269eba15cdc089627_7631de0d-cad4-4fcb-af76-41a670e63787.webp?v=1783419690","variant_ids":[43991497506915]},"available":true,"name":"iPhone 14 Pro Max SolidSuit Knock Knock A2Z FLAWLESS - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST012630B-EN06","featured_media":{"alt":null,"id":27705314181219,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e75aa6bb901eb3a81ea056b269eba15cdc089627_7631de0d-cad4-4fcb-af76-41a670e63787.webp?v=1783419690"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43991498031203,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"SST01263Z7-EN06","requires_shipping":true,"taxable":true,"featured_image":{"id":36200508325987,"product_id":7960519966819,"position":12,"created_at":"2026-07-07T18:21:24+08:00","updated_at":"2026-07-07T18:21:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa22a64f5480698e3ebbee4ff680022601a6d354_7e05e461-bef3-42f7-b21f-017baf61955c.webp?v=1783419686","variant_ids":[43991498031203]},"available":true,"name":"iPhone 14 Pro Max SolidSuit Knock Knock A2Z FLAWLESS - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01263Z7-EN06","featured_media":{"alt":null,"id":27705313394787,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa22a64f5480698e3ebbee4ff680022601a6d354_7e05e461-bef3-42f7-b21f-017baf61955c.webp?v=1783419686"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43991498752099,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"SST01263O9-EN06","requires_shipping":true,"taxable":true,"featured_image":{"id":36200508588131,"product_id":7960519966819,"position":15,"created_at":"2026-07-07T18:21:25+08:00","updated_at":"2026-07-07T18:21:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ff1dec4c579f52ec99067a03a23c765f1064ac6_f0e577e1-a5ac-4419-b837-6718a6dad62b.webp?v=1783419688","variant_ids":[43991498752099]},"available":true,"name":"iPhone 14 Pro Max SolidSuit Knock Knock A2Z FLAWLESS - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01263O9-EN06","featured_media":{"alt":null,"id":27705313656931,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ff1dec4c579f52ec99067a03a23c765f1064ac6_f0e577e1-a5ac-4419-b837-6718a6dad62b.webp?v=1783419688"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43991499112547,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"SST0126357-EN06","requires_shipping":true,"taxable":true,"featured_image":{"id":35213696499811,"product_id":7960519966819,"position":7,"created_at":"2026-02-09T09:39:07+08:00","updated_at":"2026-02-09T09:39:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ee2b56c3b951c03e0104e477200dc2ddc44f114.webp?v=1770601149","variant_ids":[43991499112547]},"available":true,"name":"iPhone 14 Pro Max SolidSuit Knock Knock A2Z FLAWLESS - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0126357-EN06","featured_media":{"alt":null,"id":26765907886179,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9ee2b56c3b951c03e0104e477200dc2ddc44f114.webp?v=1770601149"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43991499833443,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0126352-EN06","requires_shipping":true,"taxable":true,"featured_image":{"id":36200509440099,"product_id":7960519966819,"position":19,"created_at":"2026-07-07T18:21:28+08:00","updated_at":"2026-07-07T18:21:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a996c96a535d856ca27b668f07987528ffd06b3_8cf61947-4dbb-48ad-979b-a2a704596423.webp?v=1783419690","variant_ids":[43991499833443]},"available":true,"name":"iPhone 14 Pro Max SolidSuit Knock Knock A2Z FLAWLESS - Black","public_title":"Black","options":["Black"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0126352-EN06","featured_media":{"alt":null,"id":27705314508899,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a996c96a535d856ca27b668f07987528ffd06b3_8cf61947-4dbb-48ad-979b-a2a704596423.webp?v=1783419690"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43991500488803,"title":"Antique Bronze","option1":"Antique Bronze","option2":null,"option3":null,"sku":"SST01263P0-EN06","requires_shipping":true,"taxable":true,"featured_image":{"id":36200508686435,"product_id":7960519966819,"position":16,"created_at":"2026-07-07T18:21:26+08:00","updated_at":"2026-07-07T18:21:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46b179464a614a0e1bd734ff152d738707917840_2be17b38-d5d1-48b9-ac91-263c2fa9f85f.webp?v=1783419688","variant_ids":[43991500488803]},"available":true,"name":"iPhone 14 Pro Max SolidSuit Knock Knock A2Z FLAWLESS - Antique Bronze","public_title":"Antique Bronze","options":["Antique Bronze"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01263P0-EN06","featured_media":{"alt":null,"id":27705313755235,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46b179464a614a0e1bd734ff152d738707917840_2be17b38-d5d1-48b9-ac91-263c2fa9f85f.webp?v=1783419688"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43991500980323,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"SST01263P1-EN06","requires_shipping":true,"taxable":true,"featured_image":{"id":36200508850275,"product_id":7960519966819,"position":17,"created_at":"2026-07-07T18:21:27+08:00","updated_at":"2026-07-07T18:21:29+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22a63b0b5757fa3878e9db5642ac0fbe6ab5de2e_68b0e4f1-3d91-430c-b8b6-93046282bbfb.webp?v=1783419689","variant_ids":[43991500980323]},"available":true,"name":"iPhone 14 Pro Max SolidSuit Knock Knock A2Z FLAWLESS - Violet","public_title":"Violet","options":["Violet"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01263P1-EN06","featured_media":{"alt":null,"id":27705313919075,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/22a63b0b5757fa3878e9db5642ac0fbe6ab5de2e_68b0e4f1-3d91-430c-b8b6-93046282bbfb.webp?v=1783419689"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43991495409763,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"SST012630E-EN06","requires_shipping":true,"taxable":true,"featured_image":{"id":36200508424291,"product_id":7960519966819,"position":13,"created_at":"2026-07-07T18:21:24+08:00","updated_at":"2026-07-07T18:21:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc491bfe0869d6482801468b2d730cd2afc92708_b9983a1b-0548-4433-a152-4443ad6690d9.webp?v=1783419686","variant_ids":[43991495409763]},"available":true,"name":"iPhone 14 Pro Max SolidSuit Knock Knock A2Z FLAWLESS - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST012630E-EN06","featured_media":{"alt":null,"id":27705313493091,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc491bfe0869d6482801468b2d730cd2afc92708_b9983a1b-0548-4433-a152-4443ad6690d9.webp?v=1783419686"}},"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: "停產"
}