$product = {"id":7599517433955,"title":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 老屋顏 壓花玻璃-十字星芒","handle":"iphone-14-pro-solidsuit-classic-magsafe-kf86","description":null,"published_at":"2024-08-09T09:27:36+08:00","created_at":"2024-08-08T15:45:49+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit MagSafe專區-老屋顏 Old House Face","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-oldhouseface","device-iPhone 14 Pro","merge","reseller-oldhouseface"],"price":125000,"price_min":125000,"price_max":125000,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":42638581694563,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0126252-KF86","requires_shipping":true,"taxable":true,"featured_image":{"id":36154547175523,"product_id":7599517433955,"position":11,"created_at":"2026-07-02T15:44:08+08:00","updated_at":"2026-07-02T15:44:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11182773662f7e127f0e8bf0cda99542eb3cfe13.webp?v=1782978251","variant_ids":[42638581694563]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 老屋顏 壓花玻璃-十字星芒 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126252-KF86","featured_media":{"alt":null,"id":27659419484259,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11182773662f7e127f0e8bf0cda99542eb3cfe13.webp?v=1782978251"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42638581727331,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MST0126253-KF86","requires_shipping":true,"taxable":true,"featured_image":{"id":36154544193635,"product_id":7599517433955,"position":5,"created_at":"2026-07-02T15:44:04+08:00","updated_at":"2026-07-02T15:44:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb0332329c3882530d8f78a181d26ba98f657a57.webp?v=1782978246","variant_ids":[42638581727331]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 老屋顏 壓花玻璃-十字星芒 - White","public_title":"White","options":["White"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126253-KF86","featured_media":{"alt":null,"id":27659416502371,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb0332329c3882530d8f78a181d26ba98f657a57.webp?v=1782978246"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42638581792867,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MST01262O8-KF86","requires_shipping":true,"taxable":true,"featured_image":{"id":36154542882915,"product_id":7599517433955,"position":2,"created_at":"2026-07-02T15:44:02+08:00","updated_at":"2026-07-02T15:44:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a6994111623269052462ca23ddb514eda9a80db.webp?v=1782978244","variant_ids":[42638581792867]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 老屋顏 壓花玻璃-十字星芒 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262O8-KF86","featured_media":{"alt":null,"id":27659415191651,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a6994111623269052462ca23ddb514eda9a80db.webp?v=1782978244"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42638581858403,"title":"Antique Bronze","option1":"Antique Bronze","option2":null,"option3":null,"sku":"MST01262P0-KF86","requires_shipping":true,"taxable":true,"featured_image":{"id":32183313072227,"product_id":7599517433955,"position":1,"created_at":"2024-08-08T15:45:54+08:00","updated_at":"2024-08-08T15:45:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f0c36e619c00f342cb655953727c5a4eb59bef1.webp?v=1723103154","variant_ids":[42638581858403,42638582186083]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 老屋顏 壓花玻璃-十字星芒 - Antique Bronze","public_title":"Antique Bronze","options":["Antique Bronze"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262P0-KF86","featured_media":{"alt":null,"id":24508515909731,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f0c36e619c00f342cb655953727c5a4eb59bef1.webp?v=1723103154"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42638581891171,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"MST01262P1-KF86","requires_shipping":true,"taxable":true,"featured_image":{"id":36154543702115,"product_id":7599517433955,"position":4,"created_at":"2026-07-02T15:44:03+08:00","updated_at":"2026-07-02T15:44:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f811e6b5c98d38c4bc64a200cbed8c5c5a99391.webp?v=1782978245","variant_ids":[42638581891171]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 老屋顏 壓花玻璃-十字星芒 - Violet","public_title":"Violet","options":["Violet"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262P1-KF86","featured_media":{"alt":null,"id":27659416076387,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f811e6b5c98d38c4bc64a200cbed8c5c5a99391.webp?v=1782978245"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42638581923939,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"MST01262P2-KF86","requires_shipping":true,"taxable":true,"featured_image":{"id":36154544521315,"product_id":7599517433955,"position":6,"created_at":"2026-07-02T15:44:05+08:00","updated_at":"2026-07-02T15:44:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d8d271df3ef4fff9251e26c70fd690a70138c06.webp?v=1782978247","variant_ids":[42638581923939]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 老屋顏 壓花玻璃-十字星芒 - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262P2-KF86","featured_media":{"alt":null,"id":27659416993891,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d8d271df3ef4fff9251e26c70fd690a70138c06.webp?v=1782978247"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42638581956707,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MST01262Z7-KF86","requires_shipping":true,"taxable":true,"featured_image":{"id":36154546258019,"product_id":7599517433955,"position":9,"created_at":"2026-07-02T15:44:07+08:00","updated_at":"2026-07-02T15:44:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c71bc7b5b9af7bca5c5a8a7042e53bb9a8c87bef.webp?v=1782978249","variant_ids":[42638581956707]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 老屋顏 壓花玻璃-十字星芒 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262Z7-KF86","featured_media":{"alt":null,"id":27659418566755,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c71bc7b5b9af7bca5c5a8a7042e53bb9a8c87bef.webp?v=1782978249"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42638581989475,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01262Z8-KF86","requires_shipping":true,"taxable":true,"featured_image":{"id":36154545012835,"product_id":7599517433955,"position":7,"created_at":"2026-07-02T15:44:06+08:00","updated_at":"2026-07-02T15:44:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7bde575fdd33ed9b6a192c1eef66ae9e704873d.webp?v=1782978248","variant_ids":[42638581989475]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 老屋顏 壓花玻璃-十字星芒 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262Z8-KF86","featured_media":{"alt":null,"id":27659417288803,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7bde575fdd33ed9b6a192c1eef66ae9e704873d.webp?v=1782978248"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42638582022243,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01262Z9-KF86","requires_shipping":true,"taxable":true,"featured_image":{"id":36154545373283,"product_id":7599517433955,"position":8,"created_at":"2026-07-02T15:44:06+08:00","updated_at":"2026-07-02T15:44:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2efccf37d551517e3b7fdac74fb61ba64d3d5db.webp?v=1782978248","variant_ids":[42638582022243]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 老屋顏 壓花玻璃-十字星芒 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262Z9-KF86","featured_media":{"alt":null,"id":27659417682019,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2efccf37d551517e3b7fdac74fb61ba64d3d5db.webp?v=1782978248"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42638582055011,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MST012620A-KF86","requires_shipping":true,"taxable":true,"featured_image":{"id":36154547568739,"product_id":7599517433955,"position":12,"created_at":"2026-07-02T15:44:09+08:00","updated_at":"2026-07-02T15:44:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc5c8ca3c443b49e3139e8eb96cc3192653b24f9.webp?v=1782978251","variant_ids":[42638582055011]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 老屋顏 壓花玻璃-十字星芒 - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012620A-KF86","featured_media":{"alt":null,"id":27659419844707,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc5c8ca3c443b49e3139e8eb96cc3192653b24f9.webp?v=1782978251"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42638582087779,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST012620B-KF86","requires_shipping":true,"taxable":true,"featured_image":{"id":36154543341667,"product_id":7599517433955,"position":3,"created_at":"2026-07-02T15:44:03+08:00","updated_at":"2026-07-02T15:44:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/989126b3a525aa8c4ec675a0e3bbd36b76ea77ad.webp?v=1782978245","variant_ids":[42638582087779]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 老屋顏 壓花玻璃-十字星芒 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012620B-KF86","featured_media":{"alt":null,"id":27659415650403,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/989126b3a525aa8c4ec675a0e3bbd36b76ea77ad.webp?v=1782978245"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42638582186083,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"MST012620C-KF86","requires_shipping":true,"taxable":true,"featured_image":{"id":32183313072227,"product_id":7599517433955,"position":1,"created_at":"2024-08-08T15:45:54+08:00","updated_at":"2024-08-08T15:45:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f0c36e619c00f342cb655953727c5a4eb59bef1.webp?v=1723103154","variant_ids":[42638581858403,42638582186083]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 老屋顏 壓花玻璃-十字星芒 - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012620C-KF86","featured_media":{"alt":null,"id":24508515909731,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f0c36e619c00f342cb655953727c5a4eb59bef1.webp?v=1723103154"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42638582218851,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST012620E-KF86","requires_shipping":true,"taxable":true,"featured_image":{"id":36154546716771,"product_id":7599517433955,"position":10,"created_at":"2026-07-02T15:44:08+08:00","updated_at":"2026-07-02T15:44:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4994886c6c9e7cc91151f87c90d3287f6b8fe103.webp?v=1782978250","variant_ids":[42638582218851]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 老屋顏 壓花玻璃-十字星芒 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012620E-KF86","featured_media":{"alt":null,"id":27659419025507,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4994886c6c9e7cc91151f87c90d3287f6b8fe103.webp?v=1782978250"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f0c36e619c00f342cb655953727c5a4eb59bef1.webp?v=1723103154","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a6994111623269052462ca23ddb514eda9a80db.webp?v=1782978244","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/989126b3a525aa8c4ec675a0e3bbd36b76ea77ad.webp?v=1782978245","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f811e6b5c98d38c4bc64a200cbed8c5c5a99391.webp?v=1782978245","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb0332329c3882530d8f78a181d26ba98f657a57.webp?v=1782978246","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d8d271df3ef4fff9251e26c70fd690a70138c06.webp?v=1782978247","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7bde575fdd33ed9b6a192c1eef66ae9e704873d.webp?v=1782978248","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2efccf37d551517e3b7fdac74fb61ba64d3d5db.webp?v=1782978248","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c71bc7b5b9af7bca5c5a8a7042e53bb9a8c87bef.webp?v=1782978249","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4994886c6c9e7cc91151f87c90d3287f6b8fe103.webp?v=1782978250","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11182773662f7e127f0e8bf0cda99542eb3cfe13.webp?v=1782978251","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc5c8ca3c443b49e3139e8eb96cc3192653b24f9.webp?v=1782978251"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f0c36e619c00f342cb655953727c5a4eb59bef1.webp?v=1723103154","options":["color"],"media":[{"alt":null,"id":24508515909731,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f0c36e619c00f342cb655953727c5a4eb59bef1.webp?v=1723103154"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f0c36e619c00f342cb655953727c5a4eb59bef1.webp?v=1723103154","width":2000},{"alt":null,"id":27659415191651,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a6994111623269052462ca23ddb514eda9a80db.webp?v=1782978244"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a6994111623269052462ca23ddb514eda9a80db.webp?v=1782978244","width":2000},{"alt":null,"id":27659415650403,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/989126b3a525aa8c4ec675a0e3bbd36b76ea77ad.webp?v=1782978245"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/989126b3a525aa8c4ec675a0e3bbd36b76ea77ad.webp?v=1782978245","width":2000},{"alt":null,"id":27659416076387,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f811e6b5c98d38c4bc64a200cbed8c5c5a99391.webp?v=1782978245"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f811e6b5c98d38c4bc64a200cbed8c5c5a99391.webp?v=1782978245","width":2000},{"alt":null,"id":27659416502371,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb0332329c3882530d8f78a181d26ba98f657a57.webp?v=1782978246"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb0332329c3882530d8f78a181d26ba98f657a57.webp?v=1782978246","width":2000},{"alt":null,"id":27659416993891,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d8d271df3ef4fff9251e26c70fd690a70138c06.webp?v=1782978247"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d8d271df3ef4fff9251e26c70fd690a70138c06.webp?v=1782978247","width":2000},{"alt":null,"id":27659417288803,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7bde575fdd33ed9b6a192c1eef66ae9e704873d.webp?v=1782978248"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7bde575fdd33ed9b6a192c1eef66ae9e704873d.webp?v=1782978248","width":2000},{"alt":null,"id":27659417682019,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2efccf37d551517e3b7fdac74fb61ba64d3d5db.webp?v=1782978248"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2efccf37d551517e3b7fdac74fb61ba64d3d5db.webp?v=1782978248","width":2000},{"alt":null,"id":27659418566755,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c71bc7b5b9af7bca5c5a8a7042e53bb9a8c87bef.webp?v=1782978249"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c71bc7b5b9af7bca5c5a8a7042e53bb9a8c87bef.webp?v=1782978249","width":2000},{"alt":null,"id":27659419025507,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4994886c6c9e7cc91151f87c90d3287f6b8fe103.webp?v=1782978250"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4994886c6c9e7cc91151f87c90d3287f6b8fe103.webp?v=1782978250","width":2000},{"alt":null,"id":27659419484259,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11182773662f7e127f0e8bf0cda99542eb3cfe13.webp?v=1782978251"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11182773662f7e127f0e8bf0cda99542eb3cfe13.webp?v=1782978251","width":2000},{"alt":null,"id":27659419844707,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc5c8ca3c443b49e3139e8eb96cc3192653b24f9.webp?v=1782978251"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc5c8ca3c443b49e3139e8eb96cc3192653b24f9.webp?v=1782978251","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":42638581694563,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0126252-KF86","requires_shipping":true,"taxable":true,"featured_image":{"id":36154547175523,"product_id":7599517433955,"position":11,"created_at":"2026-07-02T15:44:08+08:00","updated_at":"2026-07-02T15:44:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11182773662f7e127f0e8bf0cda99542eb3cfe13.webp?v=1782978251","variant_ids":[42638581694563]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 老屋顏 壓花玻璃-十字星芒 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126252-KF86","featured_media":{"alt":null,"id":27659419484259,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11182773662f7e127f0e8bf0cda99542eb3cfe13.webp?v=1782978251"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42638581727331,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MST0126253-KF86","requires_shipping":true,"taxable":true,"featured_image":{"id":36154544193635,"product_id":7599517433955,"position":5,"created_at":"2026-07-02T15:44:04+08:00","updated_at":"2026-07-02T15:44:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb0332329c3882530d8f78a181d26ba98f657a57.webp?v=1782978246","variant_ids":[42638581727331]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 老屋顏 壓花玻璃-十字星芒 - White","public_title":"White","options":["White"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126253-KF86","featured_media":{"alt":null,"id":27659416502371,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb0332329c3882530d8f78a181d26ba98f657a57.webp?v=1782978246"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42638581792867,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MST01262O8-KF86","requires_shipping":true,"taxable":true,"featured_image":{"id":36154542882915,"product_id":7599517433955,"position":2,"created_at":"2026-07-02T15:44:02+08:00","updated_at":"2026-07-02T15:44:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a6994111623269052462ca23ddb514eda9a80db.webp?v=1782978244","variant_ids":[42638581792867]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 老屋顏 壓花玻璃-十字星芒 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262O8-KF86","featured_media":{"alt":null,"id":27659415191651,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4a6994111623269052462ca23ddb514eda9a80db.webp?v=1782978244"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42638581858403,"title":"Antique Bronze","option1":"Antique Bronze","option2":null,"option3":null,"sku":"MST01262P0-KF86","requires_shipping":true,"taxable":true,"featured_image":{"id":32183313072227,"product_id":7599517433955,"position":1,"created_at":"2024-08-08T15:45:54+08:00","updated_at":"2024-08-08T15:45:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f0c36e619c00f342cb655953727c5a4eb59bef1.webp?v=1723103154","variant_ids":[42638581858403,42638582186083]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 老屋顏 壓花玻璃-十字星芒 - Antique Bronze","public_title":"Antique Bronze","options":["Antique Bronze"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262P0-KF86","featured_media":{"alt":null,"id":24508515909731,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f0c36e619c00f342cb655953727c5a4eb59bef1.webp?v=1723103154"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42638581891171,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"MST01262P1-KF86","requires_shipping":true,"taxable":true,"featured_image":{"id":36154543702115,"product_id":7599517433955,"position":4,"created_at":"2026-07-02T15:44:03+08:00","updated_at":"2026-07-02T15:44:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f811e6b5c98d38c4bc64a200cbed8c5c5a99391.webp?v=1782978245","variant_ids":[42638581891171]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 老屋顏 壓花玻璃-十字星芒 - Violet","public_title":"Violet","options":["Violet"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262P1-KF86","featured_media":{"alt":null,"id":27659416076387,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f811e6b5c98d38c4bc64a200cbed8c5c5a99391.webp?v=1782978245"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42638581923939,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"MST01262P2-KF86","requires_shipping":true,"taxable":true,"featured_image":{"id":36154544521315,"product_id":7599517433955,"position":6,"created_at":"2026-07-02T15:44:05+08:00","updated_at":"2026-07-02T15:44:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d8d271df3ef4fff9251e26c70fd690a70138c06.webp?v=1782978247","variant_ids":[42638581923939]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 老屋顏 壓花玻璃-十字星芒 - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262P2-KF86","featured_media":{"alt":null,"id":27659416993891,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d8d271df3ef4fff9251e26c70fd690a70138c06.webp?v=1782978247"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42638581956707,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MST01262Z7-KF86","requires_shipping":true,"taxable":true,"featured_image":{"id":36154546258019,"product_id":7599517433955,"position":9,"created_at":"2026-07-02T15:44:07+08:00","updated_at":"2026-07-02T15:44:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c71bc7b5b9af7bca5c5a8a7042e53bb9a8c87bef.webp?v=1782978249","variant_ids":[42638581956707]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 老屋顏 壓花玻璃-十字星芒 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262Z7-KF86","featured_media":{"alt":null,"id":27659418566755,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c71bc7b5b9af7bca5c5a8a7042e53bb9a8c87bef.webp?v=1782978249"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42638581989475,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01262Z8-KF86","requires_shipping":true,"taxable":true,"featured_image":{"id":36154545012835,"product_id":7599517433955,"position":7,"created_at":"2026-07-02T15:44:06+08:00","updated_at":"2026-07-02T15:44:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7bde575fdd33ed9b6a192c1eef66ae9e704873d.webp?v=1782978248","variant_ids":[42638581989475]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 老屋顏 壓花玻璃-十字星芒 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262Z8-KF86","featured_media":{"alt":null,"id":27659417288803,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7bde575fdd33ed9b6a192c1eef66ae9e704873d.webp?v=1782978248"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42638582022243,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01262Z9-KF86","requires_shipping":true,"taxable":true,"featured_image":{"id":36154545373283,"product_id":7599517433955,"position":8,"created_at":"2026-07-02T15:44:06+08:00","updated_at":"2026-07-02T15:44:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2efccf37d551517e3b7fdac74fb61ba64d3d5db.webp?v=1782978248","variant_ids":[42638582022243]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 老屋顏 壓花玻璃-十字星芒 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01262Z9-KF86","featured_media":{"alt":null,"id":27659417682019,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f2efccf37d551517e3b7fdac74fb61ba64d3d5db.webp?v=1782978248"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42638582055011,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MST012620A-KF86","requires_shipping":true,"taxable":true,"featured_image":{"id":36154547568739,"product_id":7599517433955,"position":12,"created_at":"2026-07-02T15:44:09+08:00","updated_at":"2026-07-02T15:44:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc5c8ca3c443b49e3139e8eb96cc3192653b24f9.webp?v=1782978251","variant_ids":[42638582055011]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 老屋顏 壓花玻璃-十字星芒 - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012620A-KF86","featured_media":{"alt":null,"id":27659419844707,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc5c8ca3c443b49e3139e8eb96cc3192653b24f9.webp?v=1782978251"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42638582087779,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"MST012620B-KF86","requires_shipping":true,"taxable":true,"featured_image":{"id":36154543341667,"product_id":7599517433955,"position":3,"created_at":"2026-07-02T15:44:03+08:00","updated_at":"2026-07-02T15:44:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/989126b3a525aa8c4ec675a0e3bbd36b76ea77ad.webp?v=1782978245","variant_ids":[42638582087779]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 老屋顏 壓花玻璃-十字星芒 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012620B-KF86","featured_media":{"alt":null,"id":27659415650403,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/989126b3a525aa8c4ec675a0e3bbd36b76ea77ad.webp?v=1782978245"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42638582186083,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"MST012620C-KF86","requires_shipping":true,"taxable":true,"featured_image":{"id":32183313072227,"product_id":7599517433955,"position":1,"created_at":"2024-08-08T15:45:54+08:00","updated_at":"2024-08-08T15:45:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f0c36e619c00f342cb655953727c5a4eb59bef1.webp?v=1723103154","variant_ids":[42638581858403,42638582186083]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 老屋顏 壓花玻璃-十字星芒 - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012620C-KF86","featured_media":{"alt":null,"id":24508515909731,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7f0c36e619c00f342cb655953727c5a4eb59bef1.webp?v=1723103154"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42638582218851,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST012620E-KF86","requires_shipping":true,"taxable":true,"featured_image":{"id":36154546716771,"product_id":7599517433955,"position":10,"created_at":"2026-07-02T15:44:08+08:00","updated_at":"2026-07-02T15:44:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4994886c6c9e7cc91151f87c90d3287f6b8fe103.webp?v=1782978250","variant_ids":[42638582218851]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 老屋顏 壓花玻璃-十字星芒 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012620E-KF86","featured_media":{"alt":null,"id":27659419025507,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4994886c6c9e7cc91151f87c90d3287f6b8fe103.webp?v=1782978250"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":42638581694563,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0126252-KF86","requires_shipping":true,"taxable":true,"featured_image":{"id":36154547175523,"product_id":7599517433955,"position":11,"created_at":"2026-07-02T15:44:08+08:00","updated_at":"2026-07-02T15:44:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11182773662f7e127f0e8bf0cda99542eb3cfe13.webp?v=1782978251","variant_ids":[42638581694563]},"available":true,"name":"iPhone 14 Pro SolidSuit (MagSafe 兼容) 老屋顏 壓花玻璃-十字星芒 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126252-KF86","featured_media":{"alt":null,"id":27659419484259,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/11182773662f7e127f0e8bf0cda99542eb3cfe13.webp?v=1782978251"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null; $brand_handle = null; $type = ""; var sellingStatus // 只有設計款(SKU 含 '-')才需要合圖 if ($isMerge && $defaultVariant.sku.includes('-')) { $(document).ready(function() { var productImg = $product.images[0]; var bumperImg = window.getProductImageUrl($defaultVariant.sku.split('-')[0]); var layers = ($type === 'mod-nx-backplate' || $type === 'mod-backplate') ? [productImg, bumperImg] : [bumperImg, productImg]; window.mergeProductImages(layers).then(function (mergedImg) { $('.merged-img').attr('src', mergedImg); }); }); }; var sellingStatusData window.fetchSellingStatus().then(data => { try { sellingStatusData = data; } catch (error) { sellingStatusData = null console.error('Unable to parse selling status', error) } $(document).ready(function() { handleSellingStatus($defaultVariant.sku); }); }) function handleSellingStatus(currentSku) { if (!sellingStatusData) { console.error('No selling status available!') return } const sellingStatusElement = document.getElementById('selling-status') const addToCartButton = document.getElementById('AddToCart-product-template') const currentProductSku = currentSku.replace(/-(.*)$/, '-') if ($variants) { const flattenedSellingStatus = [...sellingStatusData.pending, ...sellingStatusData.preorder] const matchSellingStatusProduct = flattenedSellingStatus.filter(product => currentProductSku === product.sku) if (matchSellingStatusProduct.length > 0) { const isProductPending = matchSellingStatusProduct[0].status === 'pending' const matchDate = matchSellingStatusProduct[0].date sellingStatus = isProductPending ? "缺貨中" : "預購完成出貨日:" + matchDate sellingStatusElement.textContent = sellingStatus if (sellingStatus.includes("缺貨中")){ addToCartButton.disabled ='true'; addToCartButton.textContent = "缺貨中無法加入購物車" } else { addToCartButton.textContent = "加到購物車" } } else { sellingStatusElement.textContent = '' addToCartButton.textContent = "加到購物車" }; }; }; document.addEventListener('DOMContentLoaded', function () { var currentVariantSelect = document.getElementById('SingleOptionSelector-0') currentVariantSelect.addEventListener('change', function() { var currentSku = $('#current_sku').text() var skuElement = document.getElementById('current-sku') skuElement.textContent = currentSku handleSellingStatus(currentSku) }); });
// Override default values of shop.strings for each template. // Alternate product templates can change values of // add to cart button, sold out, and unavailable states here. theme.productStrings = { addToCart: "加到購物車", soldOut: "售完", unavailable: "停產" }