$product = {"id":6985920217187,"title":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 柴語錄 賞櫻小確幸","handle":"iphone-13-pro-max-solidsuit-classic-magsafe-fz55","description":null,"published_at":"2023-08-03T00:04:40+08:00","created_at":"2023-07-28T21:30:25+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit MagSafe專區-哈利波特 Harry Potter","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-shiba-says","device-iPhone 13 Pro Max","merge","reseller-shiba-says"],"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":43103109218403,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0123252-FZ55","requires_shipping":true,"taxable":true,"featured_image":{"id":30281723052131,"product_id":6985920217187,"position":1,"created_at":"2023-07-28T21:30:28+08:00","updated_at":"2023-07-28T21:30:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ55_91ae8e64-d640-45a5-be11-910278cec977.png?v=1690551028","variant_ids":[43103109218403,43103109415011,43103109513315,43103109546083]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 柴語錄 賞櫻小確幸 - Black \/ Classic","public_title":"Black \/ Classic","options":["Black","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0123252-FZ55","featured_media":{"alt":null,"id":22640385228899,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ55_91ae8e64-d640-45a5-be11-910278cec977.png?v=1690551028"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43103109415011,"title":"Shell Beige \/ Classic","option1":"Shell Beige","option2":"Classic","option3":null,"sku":"MST012320B-FZ55","requires_shipping":true,"taxable":true,"featured_image":{"id":30281723052131,"product_id":6985920217187,"position":1,"created_at":"2023-07-28T21:30:28+08:00","updated_at":"2023-07-28T21:30:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ55_91ae8e64-d640-45a5-be11-910278cec977.png?v=1690551028","variant_ids":[43103109218403,43103109415011,43103109513315,43103109546083]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 柴語錄 賞櫻小確幸 - Shell Beige \/ Classic","public_title":"Shell Beige \/ Classic","options":["Shell Beige","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320B-FZ55","featured_media":{"alt":null,"id":22640385228899,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ55_91ae8e64-d640-45a5-be11-910278cec977.png?v=1690551028"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43103109513315,"title":"Classic Blue \/ Classic","option1":"Classic Blue","option2":"Classic","option3":null,"sku":"MST012320C-FZ55","requires_shipping":true,"taxable":true,"featured_image":{"id":30281723052131,"product_id":6985920217187,"position":1,"created_at":"2023-07-28T21:30:28+08:00","updated_at":"2023-07-28T21:30:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ55_91ae8e64-d640-45a5-be11-910278cec977.png?v=1690551028","variant_ids":[43103109218403,43103109415011,43103109513315,43103109546083]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 柴語錄 賞櫻小確幸 - Classic Blue \/ Classic","public_title":"Classic Blue \/ Classic","options":["Classic Blue","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320C-FZ55","featured_media":{"alt":null,"id":22640385228899,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ55_91ae8e64-d640-45a5-be11-910278cec977.png?v=1690551028"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43103109546083,"title":"Parakeet Green \/ Classic","option1":"Parakeet Green","option2":"Classic","option3":null,"sku":"MST012320E-FZ55","requires_shipping":true,"taxable":true,"featured_image":{"id":30281723052131,"product_id":6985920217187,"position":1,"created_at":"2023-07-28T21:30:28+08:00","updated_at":"2023-07-28T21:30:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ55_91ae8e64-d640-45a5-be11-910278cec977.png?v=1690551028","variant_ids":[43103109218403,43103109415011,43103109513315,43103109546083]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 柴語錄 賞櫻小確幸 - Parakeet Green \/ Classic","public_title":"Parakeet Green \/ Classic","options":["Parakeet Green","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320E-FZ55","featured_media":{"alt":null,"id":22640385228899,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ55_91ae8e64-d640-45a5-be11-910278cec977.png?v=1690551028"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ55_91ae8e64-d640-45a5-be11-910278cec977.png?v=1690551028","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/583892d407a3387d5ffc2b80cc867d88b9fe347e.webp?v=1784084936","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e50652d67ac39fc00a6236ddc97054e7de39e50.webp?v=1784084937","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dca2dbc489e8caad022a9f3707d30a73d8ebd561.webp?v=1784084939","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70902867bf3c2b9614611a00e71be2cdd389fe64.webp?v=1784084940","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/583892d407a3387d5ffc2b80cc867d88b9fe347e_6d6df423-3148-4d12-9473-ee5c47d44219.webp?v=1784091723","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e50652d67ac39fc00a6236ddc97054e7de39e50_b051195f-ed77-4a07-a695-a0146e0500a6.webp?v=1784091724","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dca2dbc489e8caad022a9f3707d30a73d8ebd561_c3adf308-593a-48b1-a25f-2fcdb3976847.webp?v=1784091726","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70902867bf3c2b9614611a00e71be2cdd389fe64_9ae3b1af-f047-44aa-8cd9-9131f0516091.webp?v=1784091727","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/583892d407a3387d5ffc2b80cc867d88b9fe347e_047c40cd-394e-410c-8b31-3a0e4751e127.webp?v=1784091907","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e50652d67ac39fc00a6236ddc97054e7de39e50_62b2cb15-676c-4e6f-93c7-2d620d137718.webp?v=1784091907","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dca2dbc489e8caad022a9f3707d30a73d8ebd561_3f5da597-3aa5-40d5-846e-c9b7c938c383.webp?v=1784091908","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70902867bf3c2b9614611a00e71be2cdd389fe64_17a8a979-02db-4ac7-951e-83fc51c80c95.webp?v=1784091909","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/583892d407a3387d5ffc2b80cc867d88b9fe347e_e148b87f-a8a6-4213-ac01-16b700f9b65c.webp?v=1784092067","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dca2dbc489e8caad022a9f3707d30a73d8ebd561_33061b41-d24a-434c-94a3-1e25c204a3eb.webp?v=1784092075","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70902867bf3c2b9614611a00e71be2cdd389fe64_4b367bc8-6646-4402-822d-23e96b839a5d.webp?v=1784092079"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ55_91ae8e64-d640-45a5-be11-910278cec977.png?v=1690551028","options":["color","Types"],"media":[{"alt":null,"id":22640385228899,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ55_91ae8e64-d640-45a5-be11-910278cec977.png?v=1690551028"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ55_91ae8e64-d640-45a5-be11-910278cec977.png?v=1690551028","width":2000},{"alt":null,"id":27772431466595,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/583892d407a3387d5ffc2b80cc867d88b9fe347e.webp?v=1784084936"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/583892d407a3387d5ffc2b80cc867d88b9fe347e.webp?v=1784084936","width":2000},{"alt":null,"id":27772432613475,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e50652d67ac39fc00a6236ddc97054e7de39e50.webp?v=1784084937"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e50652d67ac39fc00a6236ddc97054e7de39e50.webp?v=1784084937","width":2000},{"alt":null,"id":27772433203299,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dca2dbc489e8caad022a9f3707d30a73d8ebd561.webp?v=1784084939"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dca2dbc489e8caad022a9f3707d30a73d8ebd561.webp?v=1784084939","width":2000},{"alt":null,"id":27772433465443,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70902867bf3c2b9614611a00e71be2cdd389fe64.webp?v=1784084940"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70902867bf3c2b9614611a00e71be2cdd389fe64.webp?v=1784084940","width":2000},{"alt":null,"id":27774924619875,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/583892d407a3387d5ffc2b80cc867d88b9fe347e_6d6df423-3148-4d12-9473-ee5c47d44219.webp?v=1784091723"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/583892d407a3387d5ffc2b80cc867d88b9fe347e_6d6df423-3148-4d12-9473-ee5c47d44219.webp?v=1784091723","width":2000},{"alt":null,"id":27774925340771,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e50652d67ac39fc00a6236ddc97054e7de39e50_b051195f-ed77-4a07-a695-a0146e0500a6.webp?v=1784091724"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e50652d67ac39fc00a6236ddc97054e7de39e50_b051195f-ed77-4a07-a695-a0146e0500a6.webp?v=1784091724","width":2000},{"alt":null,"id":27774926159971,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dca2dbc489e8caad022a9f3707d30a73d8ebd561_c3adf308-593a-48b1-a25f-2fcdb3976847.webp?v=1784091726"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dca2dbc489e8caad022a9f3707d30a73d8ebd561_c3adf308-593a-48b1-a25f-2fcdb3976847.webp?v=1784091726","width":2000},{"alt":null,"id":27774926651491,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70902867bf3c2b9614611a00e71be2cdd389fe64_9ae3b1af-f047-44aa-8cd9-9131f0516091.webp?v=1784091727"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70902867bf3c2b9614611a00e71be2cdd389fe64_9ae3b1af-f047-44aa-8cd9-9131f0516091.webp?v=1784091727","width":2000},{"alt":null,"id":27774979145827,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/583892d407a3387d5ffc2b80cc867d88b9fe347e_047c40cd-394e-410c-8b31-3a0e4751e127.webp?v=1784091907"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/583892d407a3387d5ffc2b80cc867d88b9fe347e_047c40cd-394e-410c-8b31-3a0e4751e127.webp?v=1784091907","width":2000},{"alt":null,"id":27774979539043,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e50652d67ac39fc00a6236ddc97054e7de39e50_62b2cb15-676c-4e6f-93c7-2d620d137718.webp?v=1784091907"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e50652d67ac39fc00a6236ddc97054e7de39e50_62b2cb15-676c-4e6f-93c7-2d620d137718.webp?v=1784091907","width":2000},{"alt":null,"id":27774979965027,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dca2dbc489e8caad022a9f3707d30a73d8ebd561_3f5da597-3aa5-40d5-846e-c9b7c938c383.webp?v=1784091908"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dca2dbc489e8caad022a9f3707d30a73d8ebd561_3f5da597-3aa5-40d5-846e-c9b7c938c383.webp?v=1784091908","width":2000},{"alt":null,"id":27774980292707,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70902867bf3c2b9614611a00e71be2cdd389fe64_17a8a979-02db-4ac7-951e-83fc51c80c95.webp?v=1784091909"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70902867bf3c2b9614611a00e71be2cdd389fe64_17a8a979-02db-4ac7-951e-83fc51c80c95.webp?v=1784091909","width":2000},{"alt":null,"id":27775022137443,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/583892d407a3387d5ffc2b80cc867d88b9fe347e_e148b87f-a8a6-4213-ac01-16b700f9b65c.webp?v=1784092067"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/583892d407a3387d5ffc2b80cc867d88b9fe347e_e148b87f-a8a6-4213-ac01-16b700f9b65c.webp?v=1784092067","width":2000},{"alt":null,"id":27775023743075,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dca2dbc489e8caad022a9f3707d30a73d8ebd561_33061b41-d24a-434c-94a3-1e25c204a3eb.webp?v=1784092075"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dca2dbc489e8caad022a9f3707d30a73d8ebd561_33061b41-d24a-434c-94a3-1e25c204a3eb.webp?v=1784092075","width":2000},{"alt":null,"id":27775024005219,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70902867bf3c2b9614611a00e71be2cdd389fe64_4b367bc8-6646-4402-822d-23e96b839a5d.webp?v=1784092079"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/70902867bf3c2b9614611a00e71be2cdd389fe64_4b367bc8-6646-4402-822d-23e96b839a5d.webp?v=1784092079","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43103109218403,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0123252-FZ55","requires_shipping":true,"taxable":true,"featured_image":{"id":30281723052131,"product_id":6985920217187,"position":1,"created_at":"2023-07-28T21:30:28+08:00","updated_at":"2023-07-28T21:30:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ55_91ae8e64-d640-45a5-be11-910278cec977.png?v=1690551028","variant_ids":[43103109218403,43103109415011,43103109513315,43103109546083]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 柴語錄 賞櫻小確幸 - Black \/ Classic","public_title":"Black \/ Classic","options":["Black","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0123252-FZ55","featured_media":{"alt":null,"id":22640385228899,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ55_91ae8e64-d640-45a5-be11-910278cec977.png?v=1690551028"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43103109415011,"title":"Shell Beige \/ Classic","option1":"Shell Beige","option2":"Classic","option3":null,"sku":"MST012320B-FZ55","requires_shipping":true,"taxable":true,"featured_image":{"id":30281723052131,"product_id":6985920217187,"position":1,"created_at":"2023-07-28T21:30:28+08:00","updated_at":"2023-07-28T21:30:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ55_91ae8e64-d640-45a5-be11-910278cec977.png?v=1690551028","variant_ids":[43103109218403,43103109415011,43103109513315,43103109546083]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 柴語錄 賞櫻小確幸 - Shell Beige \/ Classic","public_title":"Shell Beige \/ Classic","options":["Shell Beige","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320B-FZ55","featured_media":{"alt":null,"id":22640385228899,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ55_91ae8e64-d640-45a5-be11-910278cec977.png?v=1690551028"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43103109513315,"title":"Classic Blue \/ Classic","option1":"Classic Blue","option2":"Classic","option3":null,"sku":"MST012320C-FZ55","requires_shipping":true,"taxable":true,"featured_image":{"id":30281723052131,"product_id":6985920217187,"position":1,"created_at":"2023-07-28T21:30:28+08:00","updated_at":"2023-07-28T21:30:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ55_91ae8e64-d640-45a5-be11-910278cec977.png?v=1690551028","variant_ids":[43103109218403,43103109415011,43103109513315,43103109546083]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 柴語錄 賞櫻小確幸 - Classic Blue \/ Classic","public_title":"Classic Blue \/ Classic","options":["Classic Blue","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320C-FZ55","featured_media":{"alt":null,"id":22640385228899,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ55_91ae8e64-d640-45a5-be11-910278cec977.png?v=1690551028"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43103109546083,"title":"Parakeet Green \/ Classic","option1":"Parakeet Green","option2":"Classic","option3":null,"sku":"MST012320E-FZ55","requires_shipping":true,"taxable":true,"featured_image":{"id":30281723052131,"product_id":6985920217187,"position":1,"created_at":"2023-07-28T21:30:28+08:00","updated_at":"2023-07-28T21:30:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ55_91ae8e64-d640-45a5-be11-910278cec977.png?v=1690551028","variant_ids":[43103109218403,43103109415011,43103109513315,43103109546083]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 柴語錄 賞櫻小確幸 - Parakeet Green \/ Classic","public_title":"Parakeet Green \/ Classic","options":["Parakeet Green","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012320E-FZ55","featured_media":{"alt":null,"id":22640385228899,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ55_91ae8e64-d640-45a5-be11-910278cec977.png?v=1690551028"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43103109218403,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"MST0123252-FZ55","requires_shipping":true,"taxable":true,"featured_image":{"id":30281723052131,"product_id":6985920217187,"position":1,"created_at":"2023-07-28T21:30:28+08:00","updated_at":"2023-07-28T21:30:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ55_91ae8e64-d640-45a5-be11-910278cec977.png?v=1690551028","variant_ids":[43103109218403,43103109415011,43103109513315,43103109546083]},"available":true,"name":"iPhone 13 Pro Max SolidSuit (MagSafe 兼容) 柴語錄 賞櫻小確幸 - Black \/ Classic","public_title":"Black \/ Classic","options":["Black","Classic"],"price":125000,"weight":1250,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0123252-FZ55","featured_media":{"alt":null,"id":22640385228899,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-232-FZ55_91ae8e64-d640-45a5-be11-910278cec977.png?v=1690551028"}},"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: "停產"
}