$product = {"id":7739163082851,"title":"iPhone 16e SolidSuit (MagSafe 兼容)","handle":"iphone-16e-solidsuit-magsafe-bumper-back-featured-product","description":null,"published_at":"2025-02-20T10:09:36+08:00","created_at":"2025-02-20T09:25:37+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"SolidSuit MagSafe","tags":["20%","25%","30%","35%","40%","45%","50%","all-phone-case-fp","brand-Apple","device-iPhone 16e","discountable","discountable-item","dropdownDevice-Apple iPhone 16e","featured-product","iphone-16-products","member","quickbuy","reseller","reseller-solidsuit-magsafe","solidsuit-magsafe-featured-product","type-solidsuit-magsafe-featured-product","viewable"],"price":118000,"price_min":118000,"price_max":118000,"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":43192853692515,"title":"深海藍","option1":"深海藍","option2":null,"option3":null,"sku":"MST013420A","requires_shipping":true,"taxable":true,"featured_image":{"id":33440563757155,"product_id":7739163082851,"position":1,"created_at":"2025-02-20T09:25:38+08:00","updated_at":"2025-02-20T09:25:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7151b0ce64cc31e323564510ff8ba252d1e2f16d.webp?v=1740014740","variant_ids":[43192853692515]},"available":true,"name":"iPhone 16e SolidSuit (MagSafe 兼容) - 深海藍","public_title":"深海藍","options":["深海藍"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":-17,"inventory_management":null,"inventory_policy":"deny","barcode":"4711592488966","featured_media":{"alt":null,"id":25320885223523,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7151b0ce64cc31e323564510ff8ba252d1e2f16d.webp?v=1740014740"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43192854708323,"title":"黑","option1":"黑","option2":null,"option3":null,"sku":"MST0134252","requires_shipping":true,"taxable":true,"featured_image":{"id":33440565067875,"product_id":7739163082851,"position":7,"created_at":"2025-02-20T09:25:42+08:00","updated_at":"2025-02-20T09:25:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce83379c65ccd10b31e883b042b2f14bc69089ed.webp?v=1740014744","variant_ids":[43192854708323]},"available":true,"name":"iPhone 16e SolidSuit (MagSafe 兼容) - 黑","public_title":"黑","options":["黑"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":-106,"inventory_management":null,"inventory_policy":"deny","barcode":"4711592488928","featured_media":{"alt":null,"id":25320885944419,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce83379c65ccd10b31e883b042b2f14bc69089ed.webp?v=1740014744"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43192854741091,"title":"海藻綠","option1":"海藻綠","option2":null,"option3":null,"sku":"MST01342Z8","requires_shipping":true,"taxable":true,"featured_image":{"id":33440564478051,"product_id":7739163082851,"position":4,"created_at":"2025-02-20T09:25:40+08:00","updated_at":"2025-02-20T09:25:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/155bd7a3c8ef7e169908569bdb0317fd14a8c8de.webp?v=1740014742","variant_ids":[43192854741091]},"available":true,"name":"iPhone 16e SolidSuit (MagSafe 兼容) - 海藻綠","public_title":"海藻綠","options":["海藻綠"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":-16,"inventory_management":null,"inventory_policy":"deny","barcode":"4711592488959","featured_media":{"alt":null,"id":25320885616739,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/155bd7a3c8ef7e169908569bdb0317fd14a8c8de.webp?v=1740014742"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43192854773859,"title":"貝殼灰","option1":"貝殼灰","option2":null,"option3":null,"sku":"MST013420B","requires_shipping":true,"taxable":true,"featured_image":{"id":33440564805731,"product_id":7739163082851,"position":5,"created_at":"2025-02-20T09:25:41+08:00","updated_at":"2025-02-20T09:25:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/225d2b30c6b5ad9b1837d752dd2aa0a99d096ef4.webp?v=1740014743","variant_ids":[43192854773859]},"available":true,"name":"iPhone 16e SolidSuit (MagSafe 兼容) - 貝殼灰","public_title":"貝殼灰","options":["貝殼灰"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":-38,"inventory_management":null,"inventory_policy":"deny","barcode":"4711592488973","featured_media":{"alt":null,"id":25320885715043,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/225d2b30c6b5ad9b1837d752dd2aa0a99d096ef4.webp?v=1740014743"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43192854806627,"title":"循環灰","option1":"循環灰","option2":null,"option3":null,"sku":"MST01342O8","requires_shipping":true,"taxable":true,"featured_image":{"id":33440564314211,"product_id":7739163082851,"position":3,"created_at":"2025-02-20T09:25:40+08:00","updated_at":"2025-02-20T09:25:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dec0bee6de1db32554e82908af05d702372677f6.webp?v=1740014742","variant_ids":[43192854806627]},"available":true,"name":"iPhone 16e SolidSuit (MagSafe 兼容) - 循環灰","public_title":"循環灰","options":["循環灰"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":-23,"inventory_management":null,"inventory_policy":"deny","barcode":"4711592488942","featured_media":{"alt":null,"id":25320885485667,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dec0bee6de1db32554e82908af05d702372677f6.webp?v=1740014742"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43192854839395,"title":"雪酪粉","option1":"雪酪粉","option2":null,"option3":null,"sku":"MST013423P","requires_shipping":true,"taxable":true,"featured_image":{"id":33440564084835,"product_id":7739163082851,"position":2,"created_at":"2025-02-20T09:25:39+08:00","updated_at":"2025-02-20T09:25:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc18d69c716dcd73a8a46b5376571b3d6f0012b9.webp?v=1740014741","variant_ids":[43192854839395]},"available":true,"name":"iPhone 16e SolidSuit (MagSafe 兼容) - 雪酪粉","public_title":"雪酪粉","options":["雪酪粉"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":-29,"inventory_management":null,"inventory_policy":"deny","barcode":"4711592488980","featured_media":{"alt":null,"id":25320885387363,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc18d69c716dcd73a8a46b5376571b3d6f0012b9.webp?v=1740014741"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43192854872163,"title":"白","option1":"白","option2":null,"option3":null,"sku":"MST0134253","requires_shipping":true,"taxable":true,"featured_image":{"id":33440565002339,"product_id":7739163082851,"position":6,"created_at":"2025-02-20T09:25:42+08:00","updated_at":"2025-02-20T09:25:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d228c2e66b68bdaa7bd7794271871207837dd40.webp?v=1740014744","variant_ids":[43192854872163]},"available":true,"name":"iPhone 16e SolidSuit (MagSafe 兼容) - 白","public_title":"白","options":["白"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":-16,"inventory_management":null,"inventory_policy":"deny","barcode":"4711592488935","featured_media":{"alt":null,"id":25320885813347,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d228c2e66b68bdaa7bd7794271871207837dd40.webp?v=1740014744"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7151b0ce64cc31e323564510ff8ba252d1e2f16d.webp?v=1740014740","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc18d69c716dcd73a8a46b5376571b3d6f0012b9.webp?v=1740014741","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dec0bee6de1db32554e82908af05d702372677f6.webp?v=1740014742","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/155bd7a3c8ef7e169908569bdb0317fd14a8c8de.webp?v=1740014742","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/225d2b30c6b5ad9b1837d752dd2aa0a99d096ef4.webp?v=1740014743","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d228c2e66b68bdaa7bd7794271871207837dd40.webp?v=1740014744","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce83379c65ccd10b31e883b042b2f14bc69089ed.webp?v=1740014744"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7151b0ce64cc31e323564510ff8ba252d1e2f16d.webp?v=1740014740","options":["color"],"media":[{"alt":null,"id":25320885223523,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7151b0ce64cc31e323564510ff8ba252d1e2f16d.webp?v=1740014740"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7151b0ce64cc31e323564510ff8ba252d1e2f16d.webp?v=1740014740","width":2000},{"alt":null,"id":25320885387363,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc18d69c716dcd73a8a46b5376571b3d6f0012b9.webp?v=1740014741"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc18d69c716dcd73a8a46b5376571b3d6f0012b9.webp?v=1740014741","width":2000},{"alt":null,"id":25320885485667,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dec0bee6de1db32554e82908af05d702372677f6.webp?v=1740014742"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dec0bee6de1db32554e82908af05d702372677f6.webp?v=1740014742","width":2000},{"alt":null,"id":25320885616739,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/155bd7a3c8ef7e169908569bdb0317fd14a8c8de.webp?v=1740014742"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/155bd7a3c8ef7e169908569bdb0317fd14a8c8de.webp?v=1740014742","width":2000},{"alt":null,"id":25320885715043,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/225d2b30c6b5ad9b1837d752dd2aa0a99d096ef4.webp?v=1740014743"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/225d2b30c6b5ad9b1837d752dd2aa0a99d096ef4.webp?v=1740014743","width":2000},{"alt":null,"id":25320885813347,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d228c2e66b68bdaa7bd7794271871207837dd40.webp?v=1740014744"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d228c2e66b68bdaa7bd7794271871207837dd40.webp?v=1740014744","width":2000},{"alt":null,"id":25320885944419,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce83379c65ccd10b31e883b042b2f14bc69089ed.webp?v=1740014744"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce83379c65ccd10b31e883b042b2f14bc69089ed.webp?v=1740014744","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":43192853692515,"title":"深海藍","option1":"深海藍","option2":null,"option3":null,"sku":"MST013420A","requires_shipping":true,"taxable":true,"featured_image":{"id":33440563757155,"product_id":7739163082851,"position":1,"created_at":"2025-02-20T09:25:38+08:00","updated_at":"2025-02-20T09:25:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7151b0ce64cc31e323564510ff8ba252d1e2f16d.webp?v=1740014740","variant_ids":[43192853692515]},"available":true,"name":"iPhone 16e SolidSuit (MagSafe 兼容) - 深海藍","public_title":"深海藍","options":["深海藍"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":-17,"inventory_management":null,"inventory_policy":"deny","barcode":"4711592488966","featured_media":{"alt":null,"id":25320885223523,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7151b0ce64cc31e323564510ff8ba252d1e2f16d.webp?v=1740014740"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43192854708323,"title":"黑","option1":"黑","option2":null,"option3":null,"sku":"MST0134252","requires_shipping":true,"taxable":true,"featured_image":{"id":33440565067875,"product_id":7739163082851,"position":7,"created_at":"2025-02-20T09:25:42+08:00","updated_at":"2025-02-20T09:25:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce83379c65ccd10b31e883b042b2f14bc69089ed.webp?v=1740014744","variant_ids":[43192854708323]},"available":true,"name":"iPhone 16e SolidSuit (MagSafe 兼容) - 黑","public_title":"黑","options":["黑"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":-106,"inventory_management":null,"inventory_policy":"deny","barcode":"4711592488928","featured_media":{"alt":null,"id":25320885944419,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ce83379c65ccd10b31e883b042b2f14bc69089ed.webp?v=1740014744"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43192854741091,"title":"海藻綠","option1":"海藻綠","option2":null,"option3":null,"sku":"MST01342Z8","requires_shipping":true,"taxable":true,"featured_image":{"id":33440564478051,"product_id":7739163082851,"position":4,"created_at":"2025-02-20T09:25:40+08:00","updated_at":"2025-02-20T09:25:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/155bd7a3c8ef7e169908569bdb0317fd14a8c8de.webp?v=1740014742","variant_ids":[43192854741091]},"available":true,"name":"iPhone 16e SolidSuit (MagSafe 兼容) - 海藻綠","public_title":"海藻綠","options":["海藻綠"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":-16,"inventory_management":null,"inventory_policy":"deny","barcode":"4711592488959","featured_media":{"alt":null,"id":25320885616739,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/155bd7a3c8ef7e169908569bdb0317fd14a8c8de.webp?v=1740014742"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43192854773859,"title":"貝殼灰","option1":"貝殼灰","option2":null,"option3":null,"sku":"MST013420B","requires_shipping":true,"taxable":true,"featured_image":{"id":33440564805731,"product_id":7739163082851,"position":5,"created_at":"2025-02-20T09:25:41+08:00","updated_at":"2025-02-20T09:25:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/225d2b30c6b5ad9b1837d752dd2aa0a99d096ef4.webp?v=1740014743","variant_ids":[43192854773859]},"available":true,"name":"iPhone 16e SolidSuit (MagSafe 兼容) - 貝殼灰","public_title":"貝殼灰","options":["貝殼灰"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":-38,"inventory_management":null,"inventory_policy":"deny","barcode":"4711592488973","featured_media":{"alt":null,"id":25320885715043,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/225d2b30c6b5ad9b1837d752dd2aa0a99d096ef4.webp?v=1740014743"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43192854806627,"title":"循環灰","option1":"循環灰","option2":null,"option3":null,"sku":"MST01342O8","requires_shipping":true,"taxable":true,"featured_image":{"id":33440564314211,"product_id":7739163082851,"position":3,"created_at":"2025-02-20T09:25:40+08:00","updated_at":"2025-02-20T09:25:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dec0bee6de1db32554e82908af05d702372677f6.webp?v=1740014742","variant_ids":[43192854806627]},"available":true,"name":"iPhone 16e SolidSuit (MagSafe 兼容) - 循環灰","public_title":"循環灰","options":["循環灰"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":-23,"inventory_management":null,"inventory_policy":"deny","barcode":"4711592488942","featured_media":{"alt":null,"id":25320885485667,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dec0bee6de1db32554e82908af05d702372677f6.webp?v=1740014742"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43192854839395,"title":"雪酪粉","option1":"雪酪粉","option2":null,"option3":null,"sku":"MST013423P","requires_shipping":true,"taxable":true,"featured_image":{"id":33440564084835,"product_id":7739163082851,"position":2,"created_at":"2025-02-20T09:25:39+08:00","updated_at":"2025-02-20T09:25:41+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc18d69c716dcd73a8a46b5376571b3d6f0012b9.webp?v=1740014741","variant_ids":[43192854839395]},"available":true,"name":"iPhone 16e SolidSuit (MagSafe 兼容) - 雪酪粉","public_title":"雪酪粉","options":["雪酪粉"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":-29,"inventory_management":null,"inventory_policy":"deny","barcode":"4711592488980","featured_media":{"alt":null,"id":25320885387363,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fc18d69c716dcd73a8a46b5376571b3d6f0012b9.webp?v=1740014741"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43192854872163,"title":"白","option1":"白","option2":null,"option3":null,"sku":"MST0134253","requires_shipping":true,"taxable":true,"featured_image":{"id":33440565002339,"product_id":7739163082851,"position":6,"created_at":"2025-02-20T09:25:42+08:00","updated_at":"2025-02-20T09:25:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d228c2e66b68bdaa7bd7794271871207837dd40.webp?v=1740014744","variant_ids":[43192854872163]},"available":true,"name":"iPhone 16e SolidSuit (MagSafe 兼容) - 白","public_title":"白","options":["白"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":-16,"inventory_management":null,"inventory_policy":"deny","barcode":"4711592488935","featured_media":{"alt":null,"id":25320885813347,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d228c2e66b68bdaa7bd7794271871207837dd40.webp?v=1740014744"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43192853692515,"title":"深海藍","option1":"深海藍","option2":null,"option3":null,"sku":"MST013420A","requires_shipping":true,"taxable":true,"featured_image":{"id":33440563757155,"product_id":7739163082851,"position":1,"created_at":"2025-02-20T09:25:38+08:00","updated_at":"2025-02-20T09:25:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7151b0ce64cc31e323564510ff8ba252d1e2f16d.webp?v=1740014740","variant_ids":[43192853692515]},"available":true,"name":"iPhone 16e SolidSuit (MagSafe 兼容) - 深海藍","public_title":"深海藍","options":["深海藍"],"price":118000,"weight":0,"compare_at_price":null,"inventory_quantity":-17,"inventory_management":null,"inventory_policy":"deny","barcode":"4711592488966","featured_media":{"alt":null,"id":25320885223523,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7151b0ce64cc31e323564510ff8ba252d1e2f16d.webp?v=1740014740"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; var sellingStatus; $device_handle = null if ($bumper) { $(document).ready(function() { var productImg = $product.images[0] var bumperVariants = $bumper.variants; var bumperColors = new Object(); var currentVariant = ''; var productType = ''; bumperVariants.forEach(variant => { bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src; }); if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') { mergeImages([productImg, bumperColors[currentVariant]],{ crossOrigin: 'anonymous' }) .then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } else { mergeImages([bumperColors[currentVariant], productImg],{ crossOrigin: 'anonymous' }) .then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } }); }; var storedData = sessionStorage.getItem('sellingStatusData'); try { sellingStatusData = JSON.parse(storedData) } catch (error) { console.error('JSON.parse Error', error) sellingStatusData = null } $(document).ready(function() { handleSellingStatus($defaultVariant.sku, sellingStatusData); }); function handleSellingStatus(currentSku, sellingStatusData) { const sellingStatusElement = document.getElementById('selling-status') const addToCartButton = document.getElementById('AddToCart-product-template') const currentProductSku = currentSku.replace(/-(.*)$/, '-') if ($variants) { const matchSellingStatusProduct = sellingStatusData.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, sellingStatusData) }); });
// 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: "停產" }