$product = {"id":8035763224675,"title":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 馬賽克 2","handle":"iphone-17-pro-solidx-magsafe-kf123","description":null,"published_at":"2026-06-22T09:31:55+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":44265154773091,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-KF123","requires_shipping":true,"taxable":true,"featured_image":{"id":36012002574435,"product_id":8035763224675,"position":13,"created_at":"2026-06-17T17:33:51+08:00","updated_at":"2026-06-17T17:33:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccc3ad7a430b43163181fcdd7b5a0211b6fdc194.webp?v=1781688833","variant_ids":[44265154773091]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 馬賽克 2 - 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-KF123","featured_media":{"alt":null,"id":27530806820963,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccc3ad7a430b43163181fcdd7b5a0211b6fdc194.webp?v=1781688833"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265169092707,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-KF123","requires_shipping":true,"taxable":true,"featured_image":{"id":36011995431011,"product_id":8035763224675,"position":2,"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\/25785c237a600845516d923ab44c8f526a564806.webp?v=1781688825","variant_ids":[44265169092707]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 馬賽克 2 - 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-KF123","featured_media":{"alt":null,"id":27530799677539,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25785c237a600845516d923ab44c8f526a564806.webp?v=1781688825"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265169715299,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-KF123","requires_shipping":true,"taxable":true,"featured_image":{"id":36012000542819,"product_id":8035763224675,"position":10,"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\/e7bdd4aed3b3adc4ba4876f3679f7e68816e7003.webp?v=1781688830","variant_ids":[44265169715299]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 馬賽克 2 - 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-KF123","featured_media":{"alt":null,"id":27530804789347,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7bdd4aed3b3adc4ba4876f3679f7e68816e7003.webp?v=1781688830"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265170075747,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-KF123","requires_shipping":true,"taxable":true,"featured_image":{"id":36011996184675,"product_id":8035763224675,"position":4,"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\/b5f145f868c0ca816a5b006543af99c4ba55a6ed.webp?v=1781688826","variant_ids":[44265170075747]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 馬賽克 2 - 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-KF123","featured_media":{"alt":null,"id":27530800431203,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f145f868c0ca816a5b006543af99c4ba55a6ed.webp?v=1781688826"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265170501731,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-KF123","requires_shipping":true,"taxable":true,"featured_image":{"id":36011997757539,"product_id":8035763224675,"position":7,"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\/b18b1e95b0245a494150434590f1e191bcfe3c1f.webp?v=1781688828","variant_ids":[44265170501731]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 馬賽克 2 - 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-KF123","featured_media":{"alt":null,"id":27530802004067,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b18b1e95b0245a494150434590f1e191bcfe3c1f.webp?v=1781688828"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265170862179,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-KF123","requires_shipping":true,"taxable":true,"featured_image":{"id":36011994906723,"product_id":8035763224675,"position":1,"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\/ac791e71ca1ee5bbfdad1c4db38f3b6f91caafe4.webp?v=1781688824","variant_ids":[44265170862179]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 馬賽克 2 - 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-KF123","featured_media":{"alt":null,"id":27530799284323,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac791e71ca1ee5bbfdad1c4db38f3b6f91caafe4.webp?v=1781688824"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265171484771,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-KF123","requires_shipping":true,"taxable":true,"featured_image":{"id":36011996577891,"product_id":8035763224675,"position":5,"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\/9f05507fe01a9477b7d8ca674ea9ffa02689bdb4.webp?v=1781688826","variant_ids":[44265171484771]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 馬賽克 2 - 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-KF123","featured_media":{"alt":null,"id":27530800824419,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f05507fe01a9477b7d8ca674ea9ffa02689bdb4.webp?v=1781688826"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265172238435,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-KF123","requires_shipping":true,"taxable":true,"featured_image":{"id":36011999559779,"product_id":8035763224675,"position":9,"created_at":"2026-06-17T17:33:47+08:00","updated_at":"2026-06-17T17:33:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b61b0ae01615384eda17180675fbfa787fad2160.webp?v=1781688829","variant_ids":[44265172238435]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 馬賽克 2 - 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-KF123","featured_media":{"alt":null,"id":27530803806307,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b61b0ae01615384eda17180675fbfa787fad2160.webp?v=1781688829"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265172795491,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-KF123","requires_shipping":true,"taxable":true,"featured_image":{"id":36011998478435,"product_id":8035763224675,"position":8,"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\/bc4e7cb1216f16848a6810bee39f840fe8d7a352.webp?v=1781688829","variant_ids":[44265172795491]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 馬賽克 2 - 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-KF123","featured_media":{"alt":null,"id":27530802724963,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc4e7cb1216f16848a6810bee39f840fe8d7a352.webp?v=1781688829"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265173123171,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-KF123","requires_shipping":true,"taxable":true,"featured_image":{"id":36011997069411,"product_id":8035763224675,"position":6,"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\/274ac416e134e76bb8e0387cf0ca0aa6ad4f5876.webp?v=1781688827","variant_ids":[44265173123171]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 馬賽克 2 - 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-KF123","featured_media":{"alt":null,"id":27530801348707,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/274ac416e134e76bb8e0387cf0ca0aa6ad4f5876.webp?v=1781688827"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265173647459,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-KF123","requires_shipping":true,"taxable":true,"featured_image":{"id":36012001886307,"product_id":8035763224675,"position":12,"created_at":"2026-06-17T17:33:50+08:00","updated_at":"2026-06-17T17:33:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47b632509044b82edb011e860d41ee36561f60c8.webp?v=1781688832","variant_ids":[44265173647459]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 馬賽克 2 - 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-KF123","featured_media":{"alt":null,"id":27530806296675,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47b632509044b82edb011e860d41ee36561f60c8.webp?v=1781688832"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265174040675,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-KF123","requires_shipping":true,"taxable":true,"featured_image":{"id":36011995824227,"product_id":8035763224675,"position":3,"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\/0765d973921e4fd4e7bdd5288110b50e7839697e.webp?v=1781688825","variant_ids":[44265174040675]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 馬賽克 2 - 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-KF123","featured_media":{"alt":null,"id":27530800005219,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0765d973921e4fd4e7bdd5288110b50e7839697e.webp?v=1781688825"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265174368355,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-KF123","requires_shipping":true,"taxable":true,"featured_image":{"id":36012001296483,"product_id":8035763224675,"position":11,"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\/ce6c8ba29e5206be3e306d83d9dc047ad1aa527a.webp?v=1781688831","variant_ids":[44265174368355]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 馬賽克 2 - 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-KF123","featured_media":{"alt":null,"id":27530805543011,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce6c8ba29e5206be3e306d83d9dc047ad1aa527a.webp?v=1781688831"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac791e71ca1ee5bbfdad1c4db38f3b6f91caafe4.webp?v=1781688824","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25785c237a600845516d923ab44c8f526a564806.webp?v=1781688825","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0765d973921e4fd4e7bdd5288110b50e7839697e.webp?v=1781688825","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f145f868c0ca816a5b006543af99c4ba55a6ed.webp?v=1781688826","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f05507fe01a9477b7d8ca674ea9ffa02689bdb4.webp?v=1781688826","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/274ac416e134e76bb8e0387cf0ca0aa6ad4f5876.webp?v=1781688827","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b18b1e95b0245a494150434590f1e191bcfe3c1f.webp?v=1781688828","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc4e7cb1216f16848a6810bee39f840fe8d7a352.webp?v=1781688829","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b61b0ae01615384eda17180675fbfa787fad2160.webp?v=1781688829","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7bdd4aed3b3adc4ba4876f3679f7e68816e7003.webp?v=1781688830","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce6c8ba29e5206be3e306d83d9dc047ad1aa527a.webp?v=1781688831","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47b632509044b82edb011e860d41ee36561f60c8.webp?v=1781688832","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccc3ad7a430b43163181fcdd7b5a0211b6fdc194.webp?v=1781688833"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac791e71ca1ee5bbfdad1c4db38f3b6f91caafe4.webp?v=1781688824","options":["color"],"media":[{"alt":null,"id":27530799284323,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac791e71ca1ee5bbfdad1c4db38f3b6f91caafe4.webp?v=1781688824"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac791e71ca1ee5bbfdad1c4db38f3b6f91caafe4.webp?v=1781688824","width":2000},{"alt":null,"id":27530799677539,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25785c237a600845516d923ab44c8f526a564806.webp?v=1781688825"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25785c237a600845516d923ab44c8f526a564806.webp?v=1781688825","width":2000},{"alt":null,"id":27530800005219,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0765d973921e4fd4e7bdd5288110b50e7839697e.webp?v=1781688825"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0765d973921e4fd4e7bdd5288110b50e7839697e.webp?v=1781688825","width":2000},{"alt":null,"id":27530800431203,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f145f868c0ca816a5b006543af99c4ba55a6ed.webp?v=1781688826"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f145f868c0ca816a5b006543af99c4ba55a6ed.webp?v=1781688826","width":2000},{"alt":null,"id":27530800824419,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f05507fe01a9477b7d8ca674ea9ffa02689bdb4.webp?v=1781688826"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f05507fe01a9477b7d8ca674ea9ffa02689bdb4.webp?v=1781688826","width":2000},{"alt":null,"id":27530801348707,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/274ac416e134e76bb8e0387cf0ca0aa6ad4f5876.webp?v=1781688827"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/274ac416e134e76bb8e0387cf0ca0aa6ad4f5876.webp?v=1781688827","width":2000},{"alt":null,"id":27530802004067,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b18b1e95b0245a494150434590f1e191bcfe3c1f.webp?v=1781688828"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b18b1e95b0245a494150434590f1e191bcfe3c1f.webp?v=1781688828","width":2000},{"alt":null,"id":27530802724963,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc4e7cb1216f16848a6810bee39f840fe8d7a352.webp?v=1781688829"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc4e7cb1216f16848a6810bee39f840fe8d7a352.webp?v=1781688829","width":2000},{"alt":null,"id":27530803806307,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b61b0ae01615384eda17180675fbfa787fad2160.webp?v=1781688829"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b61b0ae01615384eda17180675fbfa787fad2160.webp?v=1781688829","width":2000},{"alt":null,"id":27530804789347,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7bdd4aed3b3adc4ba4876f3679f7e68816e7003.webp?v=1781688830"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7bdd4aed3b3adc4ba4876f3679f7e68816e7003.webp?v=1781688830","width":2000},{"alt":null,"id":27530805543011,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce6c8ba29e5206be3e306d83d9dc047ad1aa527a.webp?v=1781688831"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce6c8ba29e5206be3e306d83d9dc047ad1aa527a.webp?v=1781688831","width":2000},{"alt":null,"id":27530806296675,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47b632509044b82edb011e860d41ee36561f60c8.webp?v=1781688832"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47b632509044b82edb011e860d41ee36561f60c8.webp?v=1781688832","width":2000},{"alt":null,"id":27530806820963,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccc3ad7a430b43163181fcdd7b5a0211b6fdc194.webp?v=1781688833"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccc3ad7a430b43163181fcdd7b5a0211b6fdc194.webp?v=1781688833","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44265154773091,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-KF123","requires_shipping":true,"taxable":true,"featured_image":{"id":36012002574435,"product_id":8035763224675,"position":13,"created_at":"2026-06-17T17:33:51+08:00","updated_at":"2026-06-17T17:33:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccc3ad7a430b43163181fcdd7b5a0211b6fdc194.webp?v=1781688833","variant_ids":[44265154773091]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 馬賽克 2 - 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-KF123","featured_media":{"alt":null,"id":27530806820963,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccc3ad7a430b43163181fcdd7b5a0211b6fdc194.webp?v=1781688833"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265169092707,"title":"Sunflower Yellow","option1":"Sunflower Yellow","option2":null,"option3":null,"sku":"MNS013526A-KF123","requires_shipping":true,"taxable":true,"featured_image":{"id":36011995431011,"product_id":8035763224675,"position":2,"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\/25785c237a600845516d923ab44c8f526a564806.webp?v=1781688825","variant_ids":[44265169092707]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 馬賽克 2 - 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-KF123","featured_media":{"alt":null,"id":27530799677539,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/25785c237a600845516d923ab44c8f526a564806.webp?v=1781688825"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265169715299,"title":"Field Green","option1":"Field Green","option2":null,"option3":null,"sku":"MNS013525Y-KF123","requires_shipping":true,"taxable":true,"featured_image":{"id":36012000542819,"product_id":8035763224675,"position":10,"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\/e7bdd4aed3b3adc4ba4876f3679f7e68816e7003.webp?v=1781688830","variant_ids":[44265169715299]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 馬賽克 2 - 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-KF123","featured_media":{"alt":null,"id":27530804789347,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e7bdd4aed3b3adc4ba4876f3679f7e68816e7003.webp?v=1781688830"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265170075747,"title":"Sky Blue","option1":"Sky Blue","option2":null,"option3":null,"sku":"MNS013525X-KF123","requires_shipping":true,"taxable":true,"featured_image":{"id":36011996184675,"product_id":8035763224675,"position":4,"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\/b5f145f868c0ca816a5b006543af99c4ba55a6ed.webp?v=1781688826","variant_ids":[44265170075747]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 馬賽克 2 - 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-KF123","featured_media":{"alt":null,"id":27530800431203,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5f145f868c0ca816a5b006543af99c4ba55a6ed.webp?v=1781688826"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265170501731,"title":"Translucent Matte","option1":"Translucent Matte","option2":null,"option3":null,"sku":"MNS013525H-KF123","requires_shipping":true,"taxable":true,"featured_image":{"id":36011997757539,"product_id":8035763224675,"position":7,"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\/b18b1e95b0245a494150434590f1e191bcfe3c1f.webp?v=1781688828","variant_ids":[44265170501731]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 馬賽克 2 - 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-KF123","featured_media":{"alt":null,"id":27530802004067,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b18b1e95b0245a494150434590f1e191bcfe3c1f.webp?v=1781688828"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265170862179,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS013524I-KF123","requires_shipping":true,"taxable":true,"featured_image":{"id":36011994906723,"product_id":8035763224675,"position":1,"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\/ac791e71ca1ee5bbfdad1c4db38f3b6f91caafe4.webp?v=1781688824","variant_ids":[44265170862179]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 馬賽克 2 - 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-KF123","featured_media":{"alt":null,"id":27530799284323,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ac791e71ca1ee5bbfdad1c4db38f3b6f91caafe4.webp?v=1781688824"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265171484771,"title":"Dawn Clay","option1":"Dawn Clay","option2":null,"option3":null,"sku":"MNS013524H-KF123","requires_shipping":true,"taxable":true,"featured_image":{"id":36011996577891,"product_id":8035763224675,"position":5,"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\/9f05507fe01a9477b7d8ca674ea9ffa02689bdb4.webp?v=1781688826","variant_ids":[44265171484771]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 馬賽克 2 - 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-KF123","featured_media":{"alt":null,"id":27530800824419,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f05507fe01a9477b7d8ca674ea9ffa02689bdb4.webp?v=1781688826"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265172238435,"title":"Ultra Marine","option1":"Ultra Marine","option2":null,"option3":null,"sku":"MNS013523O-KF123","requires_shipping":true,"taxable":true,"featured_image":{"id":36011999559779,"product_id":8035763224675,"position":9,"created_at":"2026-06-17T17:33:47+08:00","updated_at":"2026-06-17T17:33:49+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b61b0ae01615384eda17180675fbfa787fad2160.webp?v=1781688829","variant_ids":[44265172238435]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 馬賽克 2 - 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-KF123","featured_media":{"alt":null,"id":27530803806307,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b61b0ae01615384eda17180675fbfa787fad2160.webp?v=1781688829"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265172795491,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MNS013520F-KF123","requires_shipping":true,"taxable":true,"featured_image":{"id":36011998478435,"product_id":8035763224675,"position":8,"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\/bc4e7cb1216f16848a6810bee39f840fe8d7a352.webp?v=1781688829","variant_ids":[44265172795491]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 馬賽克 2 - 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-KF123","featured_media":{"alt":null,"id":27530802724963,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bc4e7cb1216f16848a6810bee39f840fe8d7a352.webp?v=1781688829"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265173123171,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MNS013520B-KF123","requires_shipping":true,"taxable":true,"featured_image":{"id":36011997069411,"product_id":8035763224675,"position":6,"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\/274ac416e134e76bb8e0387cf0ca0aa6ad4f5876.webp?v=1781688827","variant_ids":[44265173123171]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 馬賽克 2 - 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-KF123","featured_media":{"alt":null,"id":27530801348707,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/274ac416e134e76bb8e0387cf0ca0aa6ad4f5876.webp?v=1781688827"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265173647459,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0135252-KF123","requires_shipping":true,"taxable":true,"featured_image":{"id":36012001886307,"product_id":8035763224675,"position":12,"created_at":"2026-06-17T17:33:50+08:00","updated_at":"2026-06-17T17:33:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47b632509044b82edb011e860d41ee36561f60c8.webp?v=1781688832","variant_ids":[44265173647459]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 馬賽克 2 - 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-KF123","featured_media":{"alt":null,"id":27530806296675,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/47b632509044b82edb011e860d41ee36561f60c8.webp?v=1781688832"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265174040675,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01352O8-KF123","requires_shipping":true,"taxable":true,"featured_image":{"id":36011995824227,"product_id":8035763224675,"position":3,"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\/0765d973921e4fd4e7bdd5288110b50e7839697e.webp?v=1781688825","variant_ids":[44265174040675]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 馬賽克 2 - 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-KF123","featured_media":{"alt":null,"id":27530800005219,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0765d973921e4fd4e7bdd5288110b50e7839697e.webp?v=1781688825"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44265174368355,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MNS0135253-KF123","requires_shipping":true,"taxable":true,"featured_image":{"id":36012001296483,"product_id":8035763224675,"position":11,"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\/ce6c8ba29e5206be3e306d83d9dc047ad1aa527a.webp?v=1781688831","variant_ids":[44265174368355]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 馬賽克 2 - 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-KF123","featured_media":{"alt":null,"id":27530805543011,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce6c8ba29e5206be3e306d83d9dc047ad1aa527a.webp?v=1781688831"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44265154773091,"title":"Blossom Pink","option1":"Blossom Pink","option2":null,"option3":null,"sku":"MNS013525Z-KF123","requires_shipping":true,"taxable":true,"featured_image":{"id":36012002574435,"product_id":8035763224675,"position":13,"created_at":"2026-06-17T17:33:51+08:00","updated_at":"2026-06-17T17:33:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccc3ad7a430b43163181fcdd7b5a0211b6fdc194.webp?v=1781688833","variant_ids":[44265154773091]},"available":true,"name":"iPhone 17 Pro SolidX (MagSafe 兼容) 老屋顏 馬賽克 2 - 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-KF123","featured_media":{"alt":null,"id":27530806820963,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ccc3ad7a430b43163181fcdd7b5a0211b6fdc194.webp?v=1781688833"}},"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: "停產" }