$product = {"id":6983448658019,"title":"iPhone 14 Plus SolidSuit (MagSafe 兼容) One Piece 懸賞金系列-草帽海賊團","handle":"iphone-14-plus-solidsuit-classic-magsafe-om50","description":null,"published_at":"2023-08-01T21:58:55+08:00","created_at":"2023-07-28T11:09:48+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit專區爽爽貓 Song Song Meow By SECOND","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-one-piece","device-iPhone 14 Plus","merge","reseller-one-piece"],"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":40595824574563,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0126152-OM50","requires_shipping":true,"taxable":true,"featured_image":{"id":34787352445027,"product_id":6983448658019,"position":3,"created_at":"2025-11-11T15:16:22+08:00","updated_at":"2025-11-11T15:16:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b78f8c1f07f734844890dad4ea79525aa88cfa77.webp?v=1762845384","variant_ids":[40595824574563]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) One Piece 懸賞金系列-草帽海賊團 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126152-OM50","featured_media":{"alt":null,"id":26352803283043,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b78f8c1f07f734844890dad4ea79525aa88cfa77.webp?v=1762845384"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40595824640099,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"MST0126157-OM50","requires_shipping":true,"taxable":true,"featured_image":{"id":34787353165923,"product_id":6983448658019,"position":8,"created_at":"2025-11-11T15:16:25+08:00","updated_at":"2025-11-11T15:16:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17b51fb22acebe042c388e633e81093524dc8459.webp?v=1762845387","variant_ids":[40595824640099]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) One Piece 懸賞金系列-草帽海賊團 - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126157-OM50","featured_media":{"alt":null,"id":26352803905635,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17b51fb22acebe042c388e633e81093524dc8459.webp?v=1762845387"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40595824705635,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"MST01261O9-OM50","requires_shipping":true,"taxable":true,"featured_image":{"id":34787353067619,"product_id":6983448658019,"position":6,"created_at":"2025-11-11T15:16:24+08:00","updated_at":"2025-11-11T15:16:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8884d804844fd263c3316b5f5240851c8987493f.webp?v=1762845386","variant_ids":[40595824705635]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) One Piece 懸賞金系列-草帽海賊團 - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01261O9-OM50","featured_media":{"alt":null,"id":26352803807331,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8884d804844fd263c3316b5f5240851c8987493f.webp?v=1762845386"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40595825000547,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"MST012610D-OM50","requires_shipping":true,"taxable":true,"featured_image":{"id":34787352969315,"product_id":6983448658019,"position":5,"created_at":"2025-11-11T15:16:23+08:00","updated_at":"2025-11-11T15:16:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e4faf9b98b6f3fca2a4328cb3a8ab56580fe563.webp?v=1762845385","variant_ids":[40595825000547]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) One Piece 懸賞金系列-草帽海賊團 - Bordeaux Red","public_title":"Bordeaux Red","options":["Bordeaux Red"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012610D-OM50","featured_media":{"alt":null,"id":26352803709027,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e4faf9b98b6f3fca2a4328cb3a8ab56580fe563.webp?v=1762845385"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40595825033315,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MST012610F-OM50","requires_shipping":true,"taxable":true,"featured_image":{"id":34787352215651,"product_id":6983448658019,"position":2,"created_at":"2025-11-11T15:16:21+08:00","updated_at":"2025-11-11T15:16:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd07c6d94140a85b6fe91d32fba0a8a1f9db8943.webp?v=1762845383","variant_ids":[40595825033315]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) One Piece 懸賞金系列-草帽海賊團 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012610F-OM50","featured_media":{"alt":null,"id":26352802922595,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd07c6d94140a85b6fe91d32fba0a8a1f9db8943.webp?v=1762845383"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40595825066083,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"MST012610C-OM50","requires_shipping":true,"taxable":true,"featured_image":{"id":34787353133155,"product_id":6983448658019,"position":7,"created_at":"2025-11-11T15:16:25+08:00","updated_at":"2025-11-11T15:16:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b559df1e13c95a995f06051df9651efb85e0e618.webp?v=1762845386","variant_ids":[40595825066083]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) One Piece 懸賞金系列-草帽海賊團 - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012610C-OM50","featured_media":{"alt":null,"id":26352803872867,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b559df1e13c95a995f06051df9651efb85e0e618.webp?v=1762845386"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-261-OM50_b929aa92-eccd-4aa6-8ec4-3f5d0229616e.png?v=1690513791","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd07c6d94140a85b6fe91d32fba0a8a1f9db8943.webp?v=1762845383","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b78f8c1f07f734844890dad4ea79525aa88cfa77.webp?v=1762845384","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ee4d9bd4af06e64625eb734eec3715746c50266.webp?v=1762845384","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e4faf9b98b6f3fca2a4328cb3a8ab56580fe563.webp?v=1762845385","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8884d804844fd263c3316b5f5240851c8987493f.webp?v=1762845386","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b559df1e13c95a995f06051df9651efb85e0e618.webp?v=1762845386","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17b51fb22acebe042c388e633e81093524dc8459.webp?v=1762845387"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-261-OM50_b929aa92-eccd-4aa6-8ec4-3f5d0229616e.png?v=1690513791","options":["color"],"media":[{"alt":null,"id":22636094619747,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-261-OM50_b929aa92-eccd-4aa6-8ec4-3f5d0229616e.png?v=1690513791"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-261-OM50_b929aa92-eccd-4aa6-8ec4-3f5d0229616e.png?v=1690513791","width":2000},{"alt":null,"id":26352802922595,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd07c6d94140a85b6fe91d32fba0a8a1f9db8943.webp?v=1762845383"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd07c6d94140a85b6fe91d32fba0a8a1f9db8943.webp?v=1762845383","width":2000},{"alt":null,"id":26352803283043,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b78f8c1f07f734844890dad4ea79525aa88cfa77.webp?v=1762845384"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b78f8c1f07f734844890dad4ea79525aa88cfa77.webp?v=1762845384","width":2000},{"alt":null,"id":26352803545187,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ee4d9bd4af06e64625eb734eec3715746c50266.webp?v=1762845384"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ee4d9bd4af06e64625eb734eec3715746c50266.webp?v=1762845384","width":2000},{"alt":null,"id":26352803709027,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e4faf9b98b6f3fca2a4328cb3a8ab56580fe563.webp?v=1762845385"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e4faf9b98b6f3fca2a4328cb3a8ab56580fe563.webp?v=1762845385","width":2000},{"alt":null,"id":26352803807331,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8884d804844fd263c3316b5f5240851c8987493f.webp?v=1762845386"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8884d804844fd263c3316b5f5240851c8987493f.webp?v=1762845386","width":2000},{"alt":null,"id":26352803872867,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b559df1e13c95a995f06051df9651efb85e0e618.webp?v=1762845386"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b559df1e13c95a995f06051df9651efb85e0e618.webp?v=1762845386","width":2000},{"alt":null,"id":26352803905635,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17b51fb22acebe042c388e633e81093524dc8459.webp?v=1762845387"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17b51fb22acebe042c388e633e81093524dc8459.webp?v=1762845387","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":40595824574563,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0126152-OM50","requires_shipping":true,"taxable":true,"featured_image":{"id":34787352445027,"product_id":6983448658019,"position":3,"created_at":"2025-11-11T15:16:22+08:00","updated_at":"2025-11-11T15:16:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b78f8c1f07f734844890dad4ea79525aa88cfa77.webp?v=1762845384","variant_ids":[40595824574563]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) One Piece 懸賞金系列-草帽海賊團 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126152-OM50","featured_media":{"alt":null,"id":26352803283043,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b78f8c1f07f734844890dad4ea79525aa88cfa77.webp?v=1762845384"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40595824640099,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"MST0126157-OM50","requires_shipping":true,"taxable":true,"featured_image":{"id":34787353165923,"product_id":6983448658019,"position":8,"created_at":"2025-11-11T15:16:25+08:00","updated_at":"2025-11-11T15:16:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17b51fb22acebe042c388e633e81093524dc8459.webp?v=1762845387","variant_ids":[40595824640099]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) One Piece 懸賞金系列-草帽海賊團 - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126157-OM50","featured_media":{"alt":null,"id":26352803905635,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/17b51fb22acebe042c388e633e81093524dc8459.webp?v=1762845387"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40595824705635,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"MST01261O9-OM50","requires_shipping":true,"taxable":true,"featured_image":{"id":34787353067619,"product_id":6983448658019,"position":6,"created_at":"2025-11-11T15:16:24+08:00","updated_at":"2025-11-11T15:16:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8884d804844fd263c3316b5f5240851c8987493f.webp?v=1762845386","variant_ids":[40595824705635]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) One Piece 懸賞金系列-草帽海賊團 - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01261O9-OM50","featured_media":{"alt":null,"id":26352803807331,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8884d804844fd263c3316b5f5240851c8987493f.webp?v=1762845386"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40595825000547,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"MST012610D-OM50","requires_shipping":true,"taxable":true,"featured_image":{"id":34787352969315,"product_id":6983448658019,"position":5,"created_at":"2025-11-11T15:16:23+08:00","updated_at":"2025-11-11T15:16:25+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e4faf9b98b6f3fca2a4328cb3a8ab56580fe563.webp?v=1762845385","variant_ids":[40595825000547]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) One Piece 懸賞金系列-草帽海賊團 - Bordeaux Red","public_title":"Bordeaux Red","options":["Bordeaux Red"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012610D-OM50","featured_media":{"alt":null,"id":26352803709027,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1e4faf9b98b6f3fca2a4328cb3a8ab56580fe563.webp?v=1762845385"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40595825033315,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MST012610F-OM50","requires_shipping":true,"taxable":true,"featured_image":{"id":34787352215651,"product_id":6983448658019,"position":2,"created_at":"2025-11-11T15:16:21+08:00","updated_at":"2025-11-11T15:16:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd07c6d94140a85b6fe91d32fba0a8a1f9db8943.webp?v=1762845383","variant_ids":[40595825033315]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) One Piece 懸賞金系列-草帽海賊團 - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012610F-OM50","featured_media":{"alt":null,"id":26352802922595,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dd07c6d94140a85b6fe91d32fba0a8a1f9db8943.webp?v=1762845383"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40595825066083,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"MST012610C-OM50","requires_shipping":true,"taxable":true,"featured_image":{"id":34787353133155,"product_id":6983448658019,"position":7,"created_at":"2025-11-11T15:16:25+08:00","updated_at":"2025-11-11T15:16:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b559df1e13c95a995f06051df9651efb85e0e618.webp?v=1762845386","variant_ids":[40595825066083]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) One Piece 懸賞金系列-草帽海賊團 - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012610C-OM50","featured_media":{"alt":null,"id":26352803872867,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b559df1e13c95a995f06051df9651efb85e0e618.webp?v=1762845386"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":40595824574563,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0126152-OM50","requires_shipping":true,"taxable":true,"featured_image":{"id":34787352445027,"product_id":6983448658019,"position":3,"created_at":"2025-11-11T15:16:22+08:00","updated_at":"2025-11-11T15:16:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b78f8c1f07f734844890dad4ea79525aa88cfa77.webp?v=1762845384","variant_ids":[40595824574563]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) One Piece 懸賞金系列-草帽海賊團 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126152-OM50","featured_media":{"alt":null,"id":26352803283043,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b78f8c1f07f734844890dad4ea79525aa88cfa77.webp?v=1762845384"}},"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: "停產"
}