$product = {"id":7687516618851,"title":"iPhone 12 mini SolidSuit (MagSafe 兼容) Tom and Jerry 冰淇淋蘇打","handle":"iphone-12-mini-solidsuit-classic-magsafe-po42","description":null,"published_at":"2025-12-19T15:29:18+08:00","created_at":"2024-11-20T15:13:43+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit MagSafe專區-湯姆貓與傑利鼠 Tom and Jerry","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-tom-and-jerry","device-iPhone 12 Mini","merge","reseller-tom-and-jerry"],"price":135000,"price_min":135000,"price_max":135000,"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":42978151825507,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0118452-PO42","requires_shipping":true,"taxable":true,"featured_image":{"id":34970077036643,"product_id":7687516618851,"position":2,"created_at":"2025-12-19T15:03:01+08:00","updated_at":"2025-12-19T15:03:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55e0e5e705625e37fd9466054ba86b93ec40fa02.webp?v=1766127783","variant_ids":[42978151825507]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) Tom and Jerry 冰淇淋蘇打 - Black","public_title":"Black","options":["Black"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0118452-PO42","featured_media":{"alt":null,"id":26531392553059,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55e0e5e705625e37fd9466054ba86b93ec40fa02.webp?v=1766127783"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42978152087651,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01184Z8-PO42","requires_shipping":true,"taxable":true,"featured_image":{"id":34970078707811,"product_id":7687516618851,"position":9,"created_at":"2025-12-19T15:03:04+08:00","updated_at":"2025-12-19T15:03:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b689541cc8e5822cfe5c54b4d4cb381de6e77ac6.webp?v=1766127786","variant_ids":[42978152087651]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) Tom and Jerry 冰淇淋蘇打 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01184Z8-PO42","featured_media":{"alt":null,"id":26531394256995,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b689541cc8e5822cfe5c54b4d4cb381de6e77ac6.webp?v=1766127786"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42978152120419,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01184Z9-PO42","requires_shipping":true,"taxable":true,"featured_image":{"id":34970078543971,"product_id":7687516618851,"position":8,"created_at":"2025-12-19T15:03:04+08:00","updated_at":"2025-12-19T15:03:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d42918f37f4cfd4092194c44a9e6a4e7eab8368.webp?v=1766127786","variant_ids":[42978152120419]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) Tom and Jerry 冰淇淋蘇打 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01184Z9-PO42","featured_media":{"alt":null,"id":26531394093155,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d42918f37f4cfd4092194c44a9e6a4e7eab8368.webp?v=1766127786"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42978152153187,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MST011840A-PO42","requires_shipping":true,"taxable":true,"featured_image":{"id":34970078871651,"product_id":7687516618851,"position":10,"created_at":"2025-12-19T15:03:05+08:00","updated_at":"2025-12-19T15:03:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f9979fd1fd771826f7a6adf61abcca889879cc0.webp?v=1766127787","variant_ids":[42978152153187]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) Tom and Jerry 冰淇淋蘇打 - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011840A-PO42","featured_media":{"alt":null,"id":26531394420835,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f9979fd1fd771826f7a6adf61abcca889879cc0.webp?v=1766127787"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42978152218723,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"MST011840D-PO42","requires_shipping":true,"taxable":true,"featured_image":{"id":34970078281827,"product_id":7687516618851,"position":7,"created_at":"2025-12-19T15:03:03+08:00","updated_at":"2025-12-19T15:03:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21ff719249954dac5d8f39a98471f4e7ef538d02.webp?v=1766127785","variant_ids":[42978152218723]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) Tom and Jerry 冰淇淋蘇打 - Bordeaux Red","public_title":"Bordeaux Red","options":["Bordeaux Red"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011840D-PO42","featured_media":{"alt":null,"id":26531393929315,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21ff719249954dac5d8f39a98471f4e7ef538d02.webp?v=1766127785"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42978152317027,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST011840E-PO42","requires_shipping":true,"taxable":true,"featured_image":{"id":34970077757539,"product_id":7687516618851,"position":5,"created_at":"2025-12-19T15:03:02+08:00","updated_at":"2025-12-19T15:03:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/535158e46ad80b3d8e7cc31610203ae59d10e218.webp?v=1766127784","variant_ids":[42978152317027]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) Tom and Jerry 冰淇淋蘇打 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011840E-PO42","featured_media":{"alt":null,"id":26531393405027,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/535158e46ad80b3d8e7cc31610203ae59d10e218.webp?v=1766127784"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab636783bc9cdaeda675603209b0d9033ed8dbe9.webp?v=1732086830","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55e0e5e705625e37fd9466054ba86b93ec40fa02.webp?v=1766127783","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6673edf06c492edf5d943bd8da8e536144289375.webp?v=1766127784","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15501f3e6c4b8340e3e22f27f682a11644049480.webp?v=1766127784","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/535158e46ad80b3d8e7cc31610203ae59d10e218.webp?v=1766127784","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b32817b4d36b3b26627aacd3ddc87a1c0e889a7.webp?v=1766127785","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21ff719249954dac5d8f39a98471f4e7ef538d02.webp?v=1766127785","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d42918f37f4cfd4092194c44a9e6a4e7eab8368.webp?v=1766127786","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b689541cc8e5822cfe5c54b4d4cb381de6e77ac6.webp?v=1766127786","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f9979fd1fd771826f7a6adf61abcca889879cc0.webp?v=1766127787"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab636783bc9cdaeda675603209b0d9033ed8dbe9.webp?v=1732086830","options":["color"],"media":[{"alt":null,"id":24985949732963,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab636783bc9cdaeda675603209b0d9033ed8dbe9.webp?v=1732086830"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab636783bc9cdaeda675603209b0d9033ed8dbe9.webp?v=1732086830","width":2000},{"alt":null,"id":26531392553059,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55e0e5e705625e37fd9466054ba86b93ec40fa02.webp?v=1766127783"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55e0e5e705625e37fd9466054ba86b93ec40fa02.webp?v=1766127783","width":2000},{"alt":null,"id":26531392815203,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6673edf06c492edf5d943bd8da8e536144289375.webp?v=1766127784"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6673edf06c492edf5d943bd8da8e536144289375.webp?v=1766127784","width":2000},{"alt":null,"id":26531393011811,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15501f3e6c4b8340e3e22f27f682a11644049480.webp?v=1766127784"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15501f3e6c4b8340e3e22f27f682a11644049480.webp?v=1766127784","width":2000},{"alt":null,"id":26531393405027,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/535158e46ad80b3d8e7cc31610203ae59d10e218.webp?v=1766127784"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/535158e46ad80b3d8e7cc31610203ae59d10e218.webp?v=1766127784","width":2000},{"alt":null,"id":26531393667171,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b32817b4d36b3b26627aacd3ddc87a1c0e889a7.webp?v=1766127785"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0b32817b4d36b3b26627aacd3ddc87a1c0e889a7.webp?v=1766127785","width":2000},{"alt":null,"id":26531393929315,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21ff719249954dac5d8f39a98471f4e7ef538d02.webp?v=1766127785"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21ff719249954dac5d8f39a98471f4e7ef538d02.webp?v=1766127785","width":2000},{"alt":null,"id":26531394093155,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d42918f37f4cfd4092194c44a9e6a4e7eab8368.webp?v=1766127786"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d42918f37f4cfd4092194c44a9e6a4e7eab8368.webp?v=1766127786","width":2000},{"alt":null,"id":26531394256995,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b689541cc8e5822cfe5c54b4d4cb381de6e77ac6.webp?v=1766127786"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b689541cc8e5822cfe5c54b4d4cb381de6e77ac6.webp?v=1766127786","width":2000},{"alt":null,"id":26531394420835,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f9979fd1fd771826f7a6adf61abcca889879cc0.webp?v=1766127787"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f9979fd1fd771826f7a6adf61abcca889879cc0.webp?v=1766127787","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$bumper = null;
$variants = [{"id":42978151825507,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0118452-PO42","requires_shipping":true,"taxable":true,"featured_image":{"id":34970077036643,"product_id":7687516618851,"position":2,"created_at":"2025-12-19T15:03:01+08:00","updated_at":"2025-12-19T15:03:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55e0e5e705625e37fd9466054ba86b93ec40fa02.webp?v=1766127783","variant_ids":[42978151825507]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) Tom and Jerry 冰淇淋蘇打 - Black","public_title":"Black","options":["Black"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0118452-PO42","featured_media":{"alt":null,"id":26531392553059,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55e0e5e705625e37fd9466054ba86b93ec40fa02.webp?v=1766127783"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42978152087651,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01184Z8-PO42","requires_shipping":true,"taxable":true,"featured_image":{"id":34970078707811,"product_id":7687516618851,"position":9,"created_at":"2025-12-19T15:03:04+08:00","updated_at":"2025-12-19T15:03:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b689541cc8e5822cfe5c54b4d4cb381de6e77ac6.webp?v=1766127786","variant_ids":[42978152087651]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) Tom and Jerry 冰淇淋蘇打 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01184Z8-PO42","featured_media":{"alt":null,"id":26531394256995,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b689541cc8e5822cfe5c54b4d4cb381de6e77ac6.webp?v=1766127786"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42978152120419,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01184Z9-PO42","requires_shipping":true,"taxable":true,"featured_image":{"id":34970078543971,"product_id":7687516618851,"position":8,"created_at":"2025-12-19T15:03:04+08:00","updated_at":"2025-12-19T15:03:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d42918f37f4cfd4092194c44a9e6a4e7eab8368.webp?v=1766127786","variant_ids":[42978152120419]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) Tom and Jerry 冰淇淋蘇打 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01184Z9-PO42","featured_media":{"alt":null,"id":26531394093155,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1d42918f37f4cfd4092194c44a9e6a4e7eab8368.webp?v=1766127786"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42978152153187,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MST011840A-PO42","requires_shipping":true,"taxable":true,"featured_image":{"id":34970078871651,"product_id":7687516618851,"position":10,"created_at":"2025-12-19T15:03:05+08:00","updated_at":"2025-12-19T15:03:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f9979fd1fd771826f7a6adf61abcca889879cc0.webp?v=1766127787","variant_ids":[42978152153187]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) Tom and Jerry 冰淇淋蘇打 - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011840A-PO42","featured_media":{"alt":null,"id":26531394420835,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9f9979fd1fd771826f7a6adf61abcca889879cc0.webp?v=1766127787"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42978152218723,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"MST011840D-PO42","requires_shipping":true,"taxable":true,"featured_image":{"id":34970078281827,"product_id":7687516618851,"position":7,"created_at":"2025-12-19T15:03:03+08:00","updated_at":"2025-12-19T15:03:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21ff719249954dac5d8f39a98471f4e7ef538d02.webp?v=1766127785","variant_ids":[42978152218723]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) Tom and Jerry 冰淇淋蘇打 - Bordeaux Red","public_title":"Bordeaux Red","options":["Bordeaux Red"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011840D-PO42","featured_media":{"alt":null,"id":26531393929315,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21ff719249954dac5d8f39a98471f4e7ef538d02.webp?v=1766127785"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":42978152317027,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST011840E-PO42","requires_shipping":true,"taxable":true,"featured_image":{"id":34970077757539,"product_id":7687516618851,"position":5,"created_at":"2025-12-19T15:03:02+08:00","updated_at":"2025-12-19T15:03:04+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/535158e46ad80b3d8e7cc31610203ae59d10e218.webp?v=1766127784","variant_ids":[42978152317027]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) Tom and Jerry 冰淇淋蘇打 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011840E-PO42","featured_media":{"alt":null,"id":26531393405027,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/535158e46ad80b3d8e7cc31610203ae59d10e218.webp?v=1766127784"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":42978151825507,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0118452-PO42","requires_shipping":true,"taxable":true,"featured_image":{"id":34970077036643,"product_id":7687516618851,"position":2,"created_at":"2025-12-19T15:03:01+08:00","updated_at":"2025-12-19T15:03:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55e0e5e705625e37fd9466054ba86b93ec40fa02.webp?v=1766127783","variant_ids":[42978151825507]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) Tom and Jerry 冰淇淋蘇打 - Black","public_title":"Black","options":["Black"],"price":135000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0118452-PO42","featured_media":{"alt":null,"id":26531392553059,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/55e0e5e705625e37fd9466054ba86b93ec40fa02.webp?v=1766127783"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null
var sellingStatus
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 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: "停產"
}