$product = {"id":8035763191907,"title":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 鐵絲網","handle":"iphone-17-pro-solidx-magsafe-kf122","description":null,"published_at":"2026-06-22T09:31:56+08:00","created_at":"2026-06-17T17:32:38+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-oldhouseface","device-iPhone 17 Pro","merge","reseller-oldhouseface"],"price":145000,"price_min":145000,"price_max":145000,"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":44265154707555,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-KF122","requires_shipping":true,"taxable":true,"featured_image":{"id":36011993464931,"product_id":8035763191907,"position":13,"created_at":"2026-06-17T17:33:36+08:00","updated_at":"2026-06-17T17:33:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f005b8de48334b556fc076f1afe6261690b0db35.webp?v=1781688818","variant_ids":[44265154707555]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 鐵絲網 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Z-KF122","featured_media":{"alt":null,"id":27530797711459,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f005b8de48334b556fc076f1afe6261690b0db35.webp?v=1781688818"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265164931171,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-KF122","requires_shipping":true,"taxable":true,"featured_image":{"id":36011992776803,"product_id":8035763191907,"position":8,"created_at":"2026-06-17T17:33:34+08:00","updated_at":"2026-06-17T17:33:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e519f33591bc3ca88490b9ac49bd75571eafc0c1.webp?v=1781688816","variant_ids":[44265164931171]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 鐵絲網 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013526A-KF122","featured_media":{"alt":null,"id":27530797023331,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e519f33591bc3ca88490b9ac49bd75571eafc0c1.webp?v=1781688816"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265165258851,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-KF122","requires_shipping":true,"taxable":true,"featured_image":{"id":36011992612963,"product_id":8035763191907,"position":7,"created_at":"2026-06-17T17:33:33+08:00","updated_at":"2026-06-17T17:33:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/768d3bfbeaf0670ca8a0cf47c9c0a236d927cde0.webp?v=1781688816","variant_ids":[44265165258851]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 鐵絲網 - Field Green","public_title":"Field Green","options":["Field Green"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Y-KF122","featured_media":{"alt":null,"id":27530796597347,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/768d3bfbeaf0670ca8a0cf47c9c0a236d927cde0.webp?v=1781688816"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265165520995,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-KF122","requires_shipping":true,"taxable":true,"featured_image":{"id":36011992449123,"product_id":8035763191907,"position":6,"created_at":"2026-06-17T17:33:33+08:00","updated_at":"2026-06-17T17:33:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c65765db359bc5a67ac7fe9c334ef076682b5c3e.webp?v=1781688815","variant_ids":[44265165520995]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 鐵絲網 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525X-KF122","featured_media":{"alt":null,"id":27530796433507,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c65765db359bc5a67ac7fe9c334ef076682b5c3e.webp?v=1781688815"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265165684835,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-KF122","requires_shipping":true,"taxable":true,"featured_image":{"id":36011990614115,"product_id":8035763191907,"position":1,"created_at":"2026-06-17T17:33:28+08:00","updated_at":"2026-06-17T17:33:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d21c554258d988587c23b95d32964fba1d4342e1.webp?v=1781688810","variant_ids":[44265165684835]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 鐵絲網 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525H-KF122","featured_media":{"alt":null,"id":27530794598499,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d21c554258d988587c23b95d32964fba1d4342e1.webp?v=1781688810"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265165815907,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-KF122","requires_shipping":true,"taxable":true,"featured_image":{"id":36011992219747,"product_id":8035763191907,"position":5,"created_at":"2026-06-17T17:33:32+08:00","updated_at":"2026-06-17T17:33:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/739d76a9ee52ef903e42ae5013c8bb897e7a58fb.webp?v=1781688814","variant_ids":[44265165815907]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 鐵絲網 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524I-KF122","featured_media":{"alt":null,"id":27530796204131,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/739d76a9ee52ef903e42ae5013c8bb897e7a58fb.webp?v=1781688814"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265166078051,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-KF122","requires_shipping":true,"taxable":true,"featured_image":{"id":36011991859299,"product_id":8035763191907,"position":4,"created_at":"2026-06-17T17:33:31+08:00","updated_at":"2026-06-17T17:33:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82bc2ae8885a89c83d1d10e9f17697bd86f0218e.webp?v=1781688813","variant_ids":[44265166078051]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 鐵絲網 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524H-KF122","featured_media":{"alt":null,"id":27530795843683,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82bc2ae8885a89c83d1d10e9f17697bd86f0218e.webp?v=1781688813"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265166372963,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-KF122","requires_shipping":true,"taxable":true,"featured_image":{"id":36011993038947,"product_id":8035763191907,"position":10,"created_at":"2026-06-17T17:33:35+08:00","updated_at":"2026-06-17T17:33:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80f2f08af81139cef2300a182cc0d26769c374f6.webp?v=1781688817","variant_ids":[44265166372963]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 鐵絲網 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013523O-KF122","featured_media":{"alt":null,"id":27530797285475,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80f2f08af81139cef2300a182cc0d26769c374f6.webp?v=1781688817"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265166602339,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-KF122","requires_shipping":true,"taxable":true,"featured_image":{"id":36011991629923,"product_id":8035763191907,"position":3,"created_at":"2026-06-17T17:33:31+08:00","updated_at":"2026-06-17T17:33:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c44ffb769fba0ee063ee59276b11bc192e49ba4c.webp?v=1781688813","variant_ids":[44265166602339]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 鐵絲網 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520F-KF122","featured_media":{"alt":null,"id":27530795614307,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c44ffb769fba0ee063ee59276b11bc192e49ba4c.webp?v=1781688813"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265166831715,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-KF122","requires_shipping":true,"taxable":true,"featured_image":{"id":36011993333859,"product_id":8035763191907,"position":12,"created_at":"2026-06-17T17:33:36+08:00","updated_at":"2026-06-17T17:33:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b23101d2fa004e88a6d05fafd2f7b1beb130bc66.webp?v=1781688818","variant_ids":[44265166831715]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 鐵絲網 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520B-KF122","featured_media":{"alt":null,"id":27530797580387,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b23101d2fa004e88a6d05fafd2f7b1beb130bc66.webp?v=1781688818"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265167093859,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-KF122","requires_shipping":true,"taxable":true,"featured_image":{"id":36011993235555,"product_id":8035763191907,"position":11,"created_at":"2026-06-17T17:33:35+08:00","updated_at":"2026-06-17T17:33:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39fc3b98c8f5fd7a265c225742e493be4c844a60.webp?v=1781688817","variant_ids":[44265167093859]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 鐵絲網 - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135252-KF122","featured_media":{"alt":null,"id":27530797482083,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39fc3b98c8f5fd7a265c225742e493be4c844a60.webp?v=1781688817"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265167356003,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-KF122","requires_shipping":true,"taxable":true,"featured_image":{"id":36011992907875,"product_id":8035763191907,"position":9,"created_at":"2026-06-17T17:33:34+08:00","updated_at":"2026-06-17T17:33:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f169e93b753a818730b889f5b37ef17d16410bf6.webp?v=1781688816","variant_ids":[44265167356003]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 鐵絲網 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01352O8-KF122","featured_media":{"alt":null,"id":27530797154403,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f169e93b753a818730b889f5b37ef17d16410bf6.webp?v=1781688816"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265167781987,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-KF122","requires_shipping":true,"taxable":true,"featured_image":{"id":36011991236707,"product_id":8035763191907,"position":2,"created_at":"2026-06-17T17:33:30+08:00","updated_at":"2026-06-17T17:33:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/240631450a9d3efecf794ff92fba51ea9dfbe006.webp?v=1781688812","variant_ids":[44265167781987]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 鐵絲網 - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135253-KF122","featured_media":{"alt":null,"id":27530795221091,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/240631450a9d3efecf794ff92fba51ea9dfbe006.webp?v=1781688812"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d21c554258d988587c23b95d32964fba1d4342e1.webp?v=1781688810","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/240631450a9d3efecf794ff92fba51ea9dfbe006.webp?v=1781688812","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c44ffb769fba0ee063ee59276b11bc192e49ba4c.webp?v=1781688813","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82bc2ae8885a89c83d1d10e9f17697bd86f0218e.webp?v=1781688813","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/739d76a9ee52ef903e42ae5013c8bb897e7a58fb.webp?v=1781688814","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c65765db359bc5a67ac7fe9c334ef076682b5c3e.webp?v=1781688815","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/768d3bfbeaf0670ca8a0cf47c9c0a236d927cde0.webp?v=1781688816","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e519f33591bc3ca88490b9ac49bd75571eafc0c1.webp?v=1781688816","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f169e93b753a818730b889f5b37ef17d16410bf6.webp?v=1781688816","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80f2f08af81139cef2300a182cc0d26769c374f6.webp?v=1781688817","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39fc3b98c8f5fd7a265c225742e493be4c844a60.webp?v=1781688817","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b23101d2fa004e88a6d05fafd2f7b1beb130bc66.webp?v=1781688818","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f005b8de48334b556fc076f1afe6261690b0db35.webp?v=1781688818"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d21c554258d988587c23b95d32964fba1d4342e1.webp?v=1781688810","options":["color"],"media":[{"alt":null,"id":27530794598499,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d21c554258d988587c23b95d32964fba1d4342e1.webp?v=1781688810"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d21c554258d988587c23b95d32964fba1d4342e1.webp?v=1781688810","width":2000},{"alt":null,"id":27530795221091,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/240631450a9d3efecf794ff92fba51ea9dfbe006.webp?v=1781688812"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/240631450a9d3efecf794ff92fba51ea9dfbe006.webp?v=1781688812","width":2000},{"alt":null,"id":27530795614307,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c44ffb769fba0ee063ee59276b11bc192e49ba4c.webp?v=1781688813"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c44ffb769fba0ee063ee59276b11bc192e49ba4c.webp?v=1781688813","width":2000},{"alt":null,"id":27530795843683,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82bc2ae8885a89c83d1d10e9f17697bd86f0218e.webp?v=1781688813"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82bc2ae8885a89c83d1d10e9f17697bd86f0218e.webp?v=1781688813","width":2000},{"alt":null,"id":27530796204131,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/739d76a9ee52ef903e42ae5013c8bb897e7a58fb.webp?v=1781688814"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/739d76a9ee52ef903e42ae5013c8bb897e7a58fb.webp?v=1781688814","width":2000},{"alt":null,"id":27530796433507,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c65765db359bc5a67ac7fe9c334ef076682b5c3e.webp?v=1781688815"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c65765db359bc5a67ac7fe9c334ef076682b5c3e.webp?v=1781688815","width":2000},{"alt":null,"id":27530796597347,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/768d3bfbeaf0670ca8a0cf47c9c0a236d927cde0.webp?v=1781688816"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/768d3bfbeaf0670ca8a0cf47c9c0a236d927cde0.webp?v=1781688816","width":2000},{"alt":null,"id":27530797023331,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e519f33591bc3ca88490b9ac49bd75571eafc0c1.webp?v=1781688816"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e519f33591bc3ca88490b9ac49bd75571eafc0c1.webp?v=1781688816","width":2000},{"alt":null,"id":27530797154403,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f169e93b753a818730b889f5b37ef17d16410bf6.webp?v=1781688816"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f169e93b753a818730b889f5b37ef17d16410bf6.webp?v=1781688816","width":2000},{"alt":null,"id":27530797285475,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80f2f08af81139cef2300a182cc0d26769c374f6.webp?v=1781688817"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80f2f08af81139cef2300a182cc0d26769c374f6.webp?v=1781688817","width":2000},{"alt":null,"id":27530797482083,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39fc3b98c8f5fd7a265c225742e493be4c844a60.webp?v=1781688817"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39fc3b98c8f5fd7a265c225742e493be4c844a60.webp?v=1781688817","width":2000},{"alt":null,"id":27530797580387,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b23101d2fa004e88a6d05fafd2f7b1beb130bc66.webp?v=1781688818"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b23101d2fa004e88a6d05fafd2f7b1beb130bc66.webp?v=1781688818","width":2000},{"alt":null,"id":27530797711459,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f005b8de48334b556fc076f1afe6261690b0db35.webp?v=1781688818"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f005b8de48334b556fc076f1afe6261690b0db35.webp?v=1781688818","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44265154707555,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-KF122","requires_shipping":true,"taxable":true,"featured_image":{"id":36011993464931,"product_id":8035763191907,"position":13,"created_at":"2026-06-17T17:33:36+08:00","updated_at":"2026-06-17T17:33:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f005b8de48334b556fc076f1afe6261690b0db35.webp?v=1781688818","variant_ids":[44265154707555]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 鐵絲網 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Z-KF122","featured_media":{"alt":null,"id":27530797711459,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f005b8de48334b556fc076f1afe6261690b0db35.webp?v=1781688818"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265164931171,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-KF122","requires_shipping":true,"taxable":true,"featured_image":{"id":36011992776803,"product_id":8035763191907,"position":8,"created_at":"2026-06-17T17:33:34+08:00","updated_at":"2026-06-17T17:33:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e519f33591bc3ca88490b9ac49bd75571eafc0c1.webp?v=1781688816","variant_ids":[44265164931171]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 鐵絲網 - Sunflower Yellow","public_title":"Sunflower Yellow","options":["Sunflower Yellow"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013526A-KF122","featured_media":{"alt":null,"id":27530797023331,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e519f33591bc3ca88490b9ac49bd75571eafc0c1.webp?v=1781688816"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265165258851,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-KF122","requires_shipping":true,"taxable":true,"featured_image":{"id":36011992612963,"product_id":8035763191907,"position":7,"created_at":"2026-06-17T17:33:33+08:00","updated_at":"2026-06-17T17:33:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/768d3bfbeaf0670ca8a0cf47c9c0a236d927cde0.webp?v=1781688816","variant_ids":[44265165258851]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 鐵絲網 - Field Green","public_title":"Field Green","options":["Field Green"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Y-KF122","featured_media":{"alt":null,"id":27530796597347,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/768d3bfbeaf0670ca8a0cf47c9c0a236d927cde0.webp?v=1781688816"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265165520995,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-KF122","requires_shipping":true,"taxable":true,"featured_image":{"id":36011992449123,"product_id":8035763191907,"position":6,"created_at":"2026-06-17T17:33:33+08:00","updated_at":"2026-06-17T17:33:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c65765db359bc5a67ac7fe9c334ef076682b5c3e.webp?v=1781688815","variant_ids":[44265165520995]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 鐵絲網 - Sky Blue","public_title":"Sky Blue","options":["Sky Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525X-KF122","featured_media":{"alt":null,"id":27530796433507,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c65765db359bc5a67ac7fe9c334ef076682b5c3e.webp?v=1781688815"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265165684835,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-KF122","requires_shipping":true,"taxable":true,"featured_image":{"id":36011990614115,"product_id":8035763191907,"position":1,"created_at":"2026-06-17T17:33:28+08:00","updated_at":"2026-06-17T17:33:30+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d21c554258d988587c23b95d32964fba1d4342e1.webp?v=1781688810","variant_ids":[44265165684835]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 鐵絲網 - Translucent Matte","public_title":"Translucent Matte","options":["Translucent Matte"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525H-KF122","featured_media":{"alt":null,"id":27530794598499,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d21c554258d988587c23b95d32964fba1d4342e1.webp?v=1781688810"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265165815907,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-KF122","requires_shipping":true,"taxable":true,"featured_image":{"id":36011992219747,"product_id":8035763191907,"position":5,"created_at":"2026-06-17T17:33:32+08:00","updated_at":"2026-06-17T17:33:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/739d76a9ee52ef903e42ae5013c8bb897e7a58fb.webp?v=1781688814","variant_ids":[44265165815907]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 鐵絲網 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524I-KF122","featured_media":{"alt":null,"id":27530796204131,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/739d76a9ee52ef903e42ae5013c8bb897e7a58fb.webp?v=1781688814"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265166078051,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-KF122","requires_shipping":true,"taxable":true,"featured_image":{"id":36011991859299,"product_id":8035763191907,"position":4,"created_at":"2026-06-17T17:33:31+08:00","updated_at":"2026-06-17T17:33:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82bc2ae8885a89c83d1d10e9f17697bd86f0218e.webp?v=1781688813","variant_ids":[44265166078051]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 鐵絲網 - Dawn Clay","public_title":"Dawn Clay","options":["Dawn Clay"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013524H-KF122","featured_media":{"alt":null,"id":27530795843683,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82bc2ae8885a89c83d1d10e9f17697bd86f0218e.webp?v=1781688813"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265166372963,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-KF122","requires_shipping":true,"taxable":true,"featured_image":{"id":36011993038947,"product_id":8035763191907,"position":10,"created_at":"2026-06-17T17:33:35+08:00","updated_at":"2026-06-17T17:33:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80f2f08af81139cef2300a182cc0d26769c374f6.webp?v=1781688817","variant_ids":[44265166372963]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 鐵絲網 - Ultra Marine","public_title":"Ultra Marine","options":["Ultra Marine"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013523O-KF122","featured_media":{"alt":null,"id":27530797285475,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/80f2f08af81139cef2300a182cc0d26769c374f6.webp?v=1781688817"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265166602339,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-KF122","requires_shipping":true,"taxable":true,"featured_image":{"id":36011991629923,"product_id":8035763191907,"position":3,"created_at":"2026-06-17T17:33:31+08:00","updated_at":"2026-06-17T17:33:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c44ffb769fba0ee063ee59276b11bc192e49ba4c.webp?v=1781688813","variant_ids":[44265166602339]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 鐵絲網 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520F-KF122","featured_media":{"alt":null,"id":27530795614307,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c44ffb769fba0ee063ee59276b11bc192e49ba4c.webp?v=1781688813"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265166831715,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-KF122","requires_shipping":true,"taxable":true,"featured_image":{"id":36011993333859,"product_id":8035763191907,"position":12,"created_at":"2026-06-17T17:33:36+08:00","updated_at":"2026-06-17T17:33:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b23101d2fa004e88a6d05fafd2f7b1beb130bc66.webp?v=1781688818","variant_ids":[44265166831715]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 鐵絲網 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013520B-KF122","featured_media":{"alt":null,"id":27530797580387,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b23101d2fa004e88a6d05fafd2f7b1beb130bc66.webp?v=1781688818"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265167093859,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-KF122","requires_shipping":true,"taxable":true,"featured_image":{"id":36011993235555,"product_id":8035763191907,"position":11,"created_at":"2026-06-17T17:33:35+08:00","updated_at":"2026-06-17T17:33:37+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39fc3b98c8f5fd7a265c225742e493be4c844a60.webp?v=1781688817","variant_ids":[44265167093859]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 鐵絲網 - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135252-KF122","featured_media":{"alt":null,"id":27530797482083,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39fc3b98c8f5fd7a265c225742e493be4c844a60.webp?v=1781688817"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265167356003,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-KF122","requires_shipping":true,"taxable":true,"featured_image":{"id":36011992907875,"product_id":8035763191907,"position":9,"created_at":"2026-06-17T17:33:34+08:00","updated_at":"2026-06-17T17:33:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f169e93b753a818730b889f5b37ef17d16410bf6.webp?v=1781688816","variant_ids":[44265167356003]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 鐵絲網 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01352O8-KF122","featured_media":{"alt":null,"id":27530797154403,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f169e93b753a818730b889f5b37ef17d16410bf6.webp?v=1781688816"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265167781987,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-KF122","requires_shipping":true,"taxable":true,"featured_image":{"id":36011991236707,"product_id":8035763191907,"position":2,"created_at":"2026-06-17T17:33:30+08:00","updated_at":"2026-06-17T17:33:32+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/240631450a9d3efecf794ff92fba51ea9dfbe006.webp?v=1781688812","variant_ids":[44265167781987]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 鐵絲網 - White","public_title":"White","options":["White"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0135253-KF122","featured_media":{"alt":null,"id":27530795221091,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/240631450a9d3efecf794ff92fba51ea9dfbe006.webp?v=1781688812"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44265154707555,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-KF122","requires_shipping":true,"taxable":true,"featured_image":{"id":36011993464931,"product_id":8035763191907,"position":13,"created_at":"2026-06-17T17:33:36+08:00","updated_at":"2026-06-17T17:33:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f005b8de48334b556fc076f1afe6261690b0db35.webp?v=1781688818","variant_ids":[44265154707555]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 鐵絲網 - Blossom Pink","public_title":"Blossom Pink","options":["Blossom Pink"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS013525Z-KF122","featured_media":{"alt":null,"id":27530797711459,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f005b8de48334b556fc076f1afe6261690b0db35.webp?v=1781688818"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $type = ""; var sellingStatus if ($isMerge) { $(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: "停產" }