$product = {"id":8035763388515,"title":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 台灣花布","handle":"iphone-17-pro-solidx-magsafe-kf125","description":null,"published_at":"2026-06-22T09:31:53+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":44265155100771,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-KF125","requires_shipping":true,"taxable":true,"featured_image":{"id":36011993890915,"product_id":8035763388515,"position":1,"created_at":"2026-06-17T17:33:39+08:00","updated_at":"2026-06-17T17:33:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd0edec9071b053baeb107dc40cb3490f9423de1.webp?v=1781688821","variant_ids":[44265155100771]},"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-KF125","featured_media":{"alt":null,"id":27530798137443,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd0edec9071b053baeb107dc40cb3490f9423de1.webp?v=1781688821"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265168306275,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-KF125","requires_shipping":true,"taxable":true,"featured_image":{"id":36012001263715,"product_id":8035763388515,"position":13,"created_at":"2026-06-17T17:33:49+08:00","updated_at":"2026-06-17T17:33:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f33a4e4292db97e2d06347ded209781988369c7.webp?v=1781688831","variant_ids":[44265168306275]},"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-KF125","featured_media":{"alt":null,"id":27530805510243,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f33a4e4292db97e2d06347ded209781988369c7.webp?v=1781688831"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265168666723,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-KF125","requires_shipping":true,"taxable":true,"featured_image":{"id":36012000575587,"product_id":8035763388515,"position":12,"created_at":"2026-06-17T17:33:47+08:00","updated_at":"2026-06-17T17:33:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f92380a290ca31eac8f1bf73f978437575ea1daa.webp?v=1781688830","variant_ids":[44265168666723]},"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-KF125","featured_media":{"alt":null,"id":27530804822115,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f92380a290ca31eac8f1bf73f978437575ea1daa.webp?v=1781688830"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265169059939,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-KF125","requires_shipping":true,"taxable":true,"featured_image":{"id":36011996282979,"product_id":8035763388515,"position":7,"created_at":"2026-06-17T17:33:44+08:00","updated_at":"2026-06-17T17:33:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ed137ca4842cfb539af391ae55e591def7d176a.webp?v=1781688826","variant_ids":[44265169059939]},"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-KF125","featured_media":{"alt":null,"id":27530800529507,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ed137ca4842cfb539af391ae55e591def7d176a.webp?v=1781688826"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265169485923,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-KF125","requires_shipping":true,"taxable":true,"featured_image":{"id":36011994808419,"product_id":8035763388515,"position":4,"created_at":"2026-06-17T17:33:42+08:00","updated_at":"2026-06-17T17:33:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71902787f2b00ad0304bad1ecf420ba696275b6c.webp?v=1781688824","variant_ids":[44265169485923]},"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-KF125","featured_media":{"alt":null,"id":27530799054947,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71902787f2b00ad0304bad1ecf420ba696275b6c.webp?v=1781688824"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265169879139,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-KF125","requires_shipping":true,"taxable":true,"featured_image":{"id":36011997003875,"product_id":8035763388515,"position":8,"created_at":"2026-06-17T17:33:45+08:00","updated_at":"2026-06-17T17:33:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/601d50dbfa2f7d12aaa92c096acdf39bcffd7d34.webp?v=1781688827","variant_ids":[44265169879139]},"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-KF125","featured_media":{"alt":null,"id":27530801250403,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/601d50dbfa2f7d12aaa92c096acdf39bcffd7d34.webp?v=1781688827"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265170436195,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-KF125","requires_shipping":true,"taxable":true,"featured_image":{"id":36011998085219,"product_id":8035763388515,"position":10,"created_at":"2026-06-17T17:33:46+08:00","updated_at":"2026-06-17T17:33:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60df3302b7c9a1050cb2635bb0f1b896693a83d6.webp?v=1781688828","variant_ids":[44265170436195]},"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-KF125","featured_media":{"alt":null,"id":27530802331747,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60df3302b7c9a1050cb2635bb0f1b896693a83d6.webp?v=1781688828"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265171058787,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-KF125","requires_shipping":true,"taxable":true,"featured_image":{"id":36011995299939,"product_id":8035763388515,"position":5,"created_at":"2026-06-17T17:33:43+08:00","updated_at":"2026-06-17T17:33:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3e1b123de6b44d59a9a8e67c76f35eb819570d4.webp?v=1781688825","variant_ids":[44265171058787]},"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-KF125","featured_media":{"alt":null,"id":27530799579235,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3e1b123de6b44d59a9a8e67c76f35eb819570d4.webp?v=1781688825"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265171845219,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-KF125","requires_shipping":true,"taxable":true,"featured_image":{"id":36011994054755,"product_id":8035763388515,"position":2,"created_at":"2026-06-17T17:33:39+08:00","updated_at":"2026-06-17T17:33:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48fc09b7df10f73fe4b73a2adc9c79aeadf6a7f7.webp?v=1781688822","variant_ids":[44265171845219]},"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-KF125","featured_media":{"alt":null,"id":27530798301283,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48fc09b7df10f73fe4b73a2adc9c79aeadf6a7f7.webp?v=1781688822"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265172303971,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-KF125","requires_shipping":true,"taxable":true,"featured_image":{"id":36011997659235,"product_id":8035763388515,"position":9,"created_at":"2026-06-17T17:33:45+08:00","updated_at":"2026-06-17T17:33:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9e162233069dc87fb95a41be82bb7e329af994b.webp?v=1781688828","variant_ids":[44265172303971]},"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-KF125","featured_media":{"alt":null,"id":27530801905763,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9e162233069dc87fb95a41be82bb7e329af994b.webp?v=1781688828"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265172697187,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-KF125","requires_shipping":true,"taxable":true,"featured_image":{"id":36011995725923,"product_id":8035763388515,"position":6,"created_at":"2026-06-17T17:33:43+08:00","updated_at":"2026-06-17T17:33:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1232d23216fc7c7dbe52d87beac8e5154bf68353.webp?v=1781688825","variant_ids":[44265172697187]},"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-KF125","featured_media":{"alt":null,"id":27530799972451,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1232d23216fc7c7dbe52d87beac8e5154bf68353.webp?v=1781688825"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265173188707,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-KF125","requires_shipping":true,"taxable":true,"featured_image":{"id":36011994349667,"product_id":8035763388515,"position":3,"created_at":"2026-06-17T17:33:40+08:00","updated_at":"2026-06-17T17:33:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2be8859a3490a8bd79cb785939ae251fe64b52a.webp?v=1781688822","variant_ids":[44265173188707]},"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-KF125","featured_media":{"alt":null,"id":27530798596195,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2be8859a3490a8bd79cb785939ae251fe64b52a.webp?v=1781688822"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265173581923,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-KF125","requires_shipping":true,"taxable":true,"featured_image":{"id":36011998871651,"product_id":8035763388515,"position":11,"created_at":"2026-06-17T17:33:46+08:00","updated_at":"2026-06-17T17:33:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e466c2a3d0eceef9b968b7918c6c68d4c350c540.webp?v=1781688829","variant_ids":[44265173581923]},"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-KF125","featured_media":{"alt":null,"id":27530803085411,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e466c2a3d0eceef9b968b7918c6c68d4c350c540.webp?v=1781688829"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd0edec9071b053baeb107dc40cb3490f9423de1.webp?v=1781688821","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48fc09b7df10f73fe4b73a2adc9c79aeadf6a7f7.webp?v=1781688822","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2be8859a3490a8bd79cb785939ae251fe64b52a.webp?v=1781688822","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71902787f2b00ad0304bad1ecf420ba696275b6c.webp?v=1781688824","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3e1b123de6b44d59a9a8e67c76f35eb819570d4.webp?v=1781688825","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1232d23216fc7c7dbe52d87beac8e5154bf68353.webp?v=1781688825","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ed137ca4842cfb539af391ae55e591def7d176a.webp?v=1781688826","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/601d50dbfa2f7d12aaa92c096acdf39bcffd7d34.webp?v=1781688827","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9e162233069dc87fb95a41be82bb7e329af994b.webp?v=1781688828","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60df3302b7c9a1050cb2635bb0f1b896693a83d6.webp?v=1781688828","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e466c2a3d0eceef9b968b7918c6c68d4c350c540.webp?v=1781688829","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f92380a290ca31eac8f1bf73f978437575ea1daa.webp?v=1781688830","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f33a4e4292db97e2d06347ded209781988369c7.webp?v=1781688831"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd0edec9071b053baeb107dc40cb3490f9423de1.webp?v=1781688821","options":["color"],"media":[{"alt":null,"id":27530798137443,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd0edec9071b053baeb107dc40cb3490f9423de1.webp?v=1781688821"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd0edec9071b053baeb107dc40cb3490f9423de1.webp?v=1781688821","width":2000},{"alt":null,"id":27530798301283,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48fc09b7df10f73fe4b73a2adc9c79aeadf6a7f7.webp?v=1781688822"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48fc09b7df10f73fe4b73a2adc9c79aeadf6a7f7.webp?v=1781688822","width":2000},{"alt":null,"id":27530798596195,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2be8859a3490a8bd79cb785939ae251fe64b52a.webp?v=1781688822"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2be8859a3490a8bd79cb785939ae251fe64b52a.webp?v=1781688822","width":2000},{"alt":null,"id":27530799054947,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71902787f2b00ad0304bad1ecf420ba696275b6c.webp?v=1781688824"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71902787f2b00ad0304bad1ecf420ba696275b6c.webp?v=1781688824","width":2000},{"alt":null,"id":27530799579235,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3e1b123de6b44d59a9a8e67c76f35eb819570d4.webp?v=1781688825"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3e1b123de6b44d59a9a8e67c76f35eb819570d4.webp?v=1781688825","width":2000},{"alt":null,"id":27530799972451,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1232d23216fc7c7dbe52d87beac8e5154bf68353.webp?v=1781688825"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1232d23216fc7c7dbe52d87beac8e5154bf68353.webp?v=1781688825","width":2000},{"alt":null,"id":27530800529507,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ed137ca4842cfb539af391ae55e591def7d176a.webp?v=1781688826"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ed137ca4842cfb539af391ae55e591def7d176a.webp?v=1781688826","width":2000},{"alt":null,"id":27530801250403,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/601d50dbfa2f7d12aaa92c096acdf39bcffd7d34.webp?v=1781688827"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/601d50dbfa2f7d12aaa92c096acdf39bcffd7d34.webp?v=1781688827","width":2000},{"alt":null,"id":27530801905763,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9e162233069dc87fb95a41be82bb7e329af994b.webp?v=1781688828"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9e162233069dc87fb95a41be82bb7e329af994b.webp?v=1781688828","width":2000},{"alt":null,"id":27530802331747,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60df3302b7c9a1050cb2635bb0f1b896693a83d6.webp?v=1781688828"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60df3302b7c9a1050cb2635bb0f1b896693a83d6.webp?v=1781688828","width":2000},{"alt":null,"id":27530803085411,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e466c2a3d0eceef9b968b7918c6c68d4c350c540.webp?v=1781688829"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e466c2a3d0eceef9b968b7918c6c68d4c350c540.webp?v=1781688829","width":2000},{"alt":null,"id":27530804822115,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f92380a290ca31eac8f1bf73f978437575ea1daa.webp?v=1781688830"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f92380a290ca31eac8f1bf73f978437575ea1daa.webp?v=1781688830","width":2000},{"alt":null,"id":27530805510243,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f33a4e4292db97e2d06347ded209781988369c7.webp?v=1781688831"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f33a4e4292db97e2d06347ded209781988369c7.webp?v=1781688831","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44265155100771,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-KF125","requires_shipping":true,"taxable":true,"featured_image":{"id":36011993890915,"product_id":8035763388515,"position":1,"created_at":"2026-06-17T17:33:39+08:00","updated_at":"2026-06-17T17:33:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd0edec9071b053baeb107dc40cb3490f9423de1.webp?v=1781688821","variant_ids":[44265155100771]},"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-KF125","featured_media":{"alt":null,"id":27530798137443,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd0edec9071b053baeb107dc40cb3490f9423de1.webp?v=1781688821"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265168306275,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-KF125","requires_shipping":true,"taxable":true,"featured_image":{"id":36012001263715,"product_id":8035763388515,"position":13,"created_at":"2026-06-17T17:33:49+08:00","updated_at":"2026-06-17T17:33:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f33a4e4292db97e2d06347ded209781988369c7.webp?v=1781688831","variant_ids":[44265168306275]},"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-KF125","featured_media":{"alt":null,"id":27530805510243,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6f33a4e4292db97e2d06347ded209781988369c7.webp?v=1781688831"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265168666723,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-KF125","requires_shipping":true,"taxable":true,"featured_image":{"id":36012000575587,"product_id":8035763388515,"position":12,"created_at":"2026-06-17T17:33:47+08:00","updated_at":"2026-06-17T17:33:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f92380a290ca31eac8f1bf73f978437575ea1daa.webp?v=1781688830","variant_ids":[44265168666723]},"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-KF125","featured_media":{"alt":null,"id":27530804822115,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f92380a290ca31eac8f1bf73f978437575ea1daa.webp?v=1781688830"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265169059939,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-KF125","requires_shipping":true,"taxable":true,"featured_image":{"id":36011996282979,"product_id":8035763388515,"position":7,"created_at":"2026-06-17T17:33:44+08:00","updated_at":"2026-06-17T17:33:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ed137ca4842cfb539af391ae55e591def7d176a.webp?v=1781688826","variant_ids":[44265169059939]},"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-KF125","featured_media":{"alt":null,"id":27530800529507,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7ed137ca4842cfb539af391ae55e591def7d176a.webp?v=1781688826"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265169485923,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-KF125","requires_shipping":true,"taxable":true,"featured_image":{"id":36011994808419,"product_id":8035763388515,"position":4,"created_at":"2026-06-17T17:33:42+08:00","updated_at":"2026-06-17T17:33:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71902787f2b00ad0304bad1ecf420ba696275b6c.webp?v=1781688824","variant_ids":[44265169485923]},"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-KF125","featured_media":{"alt":null,"id":27530799054947,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/71902787f2b00ad0304bad1ecf420ba696275b6c.webp?v=1781688824"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265169879139,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-KF125","requires_shipping":true,"taxable":true,"featured_image":{"id":36011997003875,"product_id":8035763388515,"position":8,"created_at":"2026-06-17T17:33:45+08:00","updated_at":"2026-06-17T17:33:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/601d50dbfa2f7d12aaa92c096acdf39bcffd7d34.webp?v=1781688827","variant_ids":[44265169879139]},"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-KF125","featured_media":{"alt":null,"id":27530801250403,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/601d50dbfa2f7d12aaa92c096acdf39bcffd7d34.webp?v=1781688827"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265170436195,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-KF125","requires_shipping":true,"taxable":true,"featured_image":{"id":36011998085219,"product_id":8035763388515,"position":10,"created_at":"2026-06-17T17:33:46+08:00","updated_at":"2026-06-17T17:33:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60df3302b7c9a1050cb2635bb0f1b896693a83d6.webp?v=1781688828","variant_ids":[44265170436195]},"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-KF125","featured_media":{"alt":null,"id":27530802331747,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60df3302b7c9a1050cb2635bb0f1b896693a83d6.webp?v=1781688828"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265171058787,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-KF125","requires_shipping":true,"taxable":true,"featured_image":{"id":36011995299939,"product_id":8035763388515,"position":5,"created_at":"2026-06-17T17:33:43+08:00","updated_at":"2026-06-17T17:33:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3e1b123de6b44d59a9a8e67c76f35eb819570d4.webp?v=1781688825","variant_ids":[44265171058787]},"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-KF125","featured_media":{"alt":null,"id":27530799579235,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e3e1b123de6b44d59a9a8e67c76f35eb819570d4.webp?v=1781688825"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265171845219,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-KF125","requires_shipping":true,"taxable":true,"featured_image":{"id":36011994054755,"product_id":8035763388515,"position":2,"created_at":"2026-06-17T17:33:39+08:00","updated_at":"2026-06-17T17:33:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48fc09b7df10f73fe4b73a2adc9c79aeadf6a7f7.webp?v=1781688822","variant_ids":[44265171845219]},"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-KF125","featured_media":{"alt":null,"id":27530798301283,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/48fc09b7df10f73fe4b73a2adc9c79aeadf6a7f7.webp?v=1781688822"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265172303971,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-KF125","requires_shipping":true,"taxable":true,"featured_image":{"id":36011997659235,"product_id":8035763388515,"position":9,"created_at":"2026-06-17T17:33:45+08:00","updated_at":"2026-06-17T17:33:48+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9e162233069dc87fb95a41be82bb7e329af994b.webp?v=1781688828","variant_ids":[44265172303971]},"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-KF125","featured_media":{"alt":null,"id":27530801905763,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a9e162233069dc87fb95a41be82bb7e329af994b.webp?v=1781688828"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265172697187,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-KF125","requires_shipping":true,"taxable":true,"featured_image":{"id":36011995725923,"product_id":8035763388515,"position":6,"created_at":"2026-06-17T17:33:43+08:00","updated_at":"2026-06-17T17:33:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1232d23216fc7c7dbe52d87beac8e5154bf68353.webp?v=1781688825","variant_ids":[44265172697187]},"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-KF125","featured_media":{"alt":null,"id":27530799972451,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1232d23216fc7c7dbe52d87beac8e5154bf68353.webp?v=1781688825"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265173188707,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-KF125","requires_shipping":true,"taxable":true,"featured_image":{"id":36011994349667,"product_id":8035763388515,"position":3,"created_at":"2026-06-17T17:33:40+08:00","updated_at":"2026-06-17T17:33:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2be8859a3490a8bd79cb785939ae251fe64b52a.webp?v=1781688822","variant_ids":[44265173188707]},"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-KF125","featured_media":{"alt":null,"id":27530798596195,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a2be8859a3490a8bd79cb785939ae251fe64b52a.webp?v=1781688822"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265173581923,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-KF125","requires_shipping":true,"taxable":true,"featured_image":{"id":36011998871651,"product_id":8035763388515,"position":11,"created_at":"2026-06-17T17:33:46+08:00","updated_at":"2026-06-17T17:33:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e466c2a3d0eceef9b968b7918c6c68d4c350c540.webp?v=1781688829","variant_ids":[44265173581923]},"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-KF125","featured_media":{"alt":null,"id":27530803085411,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e466c2a3d0eceef9b968b7918c6c68d4c350c540.webp?v=1781688829"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44265155100771,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-KF125","requires_shipping":true,"taxable":true,"featured_image":{"id":36011993890915,"product_id":8035763388515,"position":1,"created_at":"2026-06-17T17:33:39+08:00","updated_at":"2026-06-17T17:33:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd0edec9071b053baeb107dc40cb3490f9423de1.webp?v=1781688821","variant_ids":[44265155100771]},"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-KF125","featured_media":{"alt":null,"id":27530798137443,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd0edec9071b053baeb107dc40cb3490f9423de1.webp?v=1781688821"}},"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: "停產" }