$product = {"id":6979285483619,"title":"iPhone 12 mini SolidSuit (MagSafe 兼容) Snoopy 史努比 騎腳踏車","handle":"iphone-12-mini-solidsuit-classic-magsafe-pl20","description":null,"published_at":"2023-08-01T16:09:29+08:00","created_at":"2023-07-25T09:51:09+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師SolidSuit專區Snoopy 史努比","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-snoopy","device-iPhone 12 Mini","merge","reseller-snoopy"],"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":40574566137955,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0118452-PL20","requires_shipping":true,"taxable":true,"featured_image":{"id":35582113874019,"product_id":6979285483619,"position":3,"created_at":"2026-04-02T16:07:06+08:00","updated_at":"2026-04-02T16:07:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d87f8bf0e76b810ace1fa11d982796ae2f0cdc47.webp?v=1775117228","variant_ids":[40574566137955]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) Snoopy 史努比 騎腳踏車 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0118452-PL20","featured_media":{"alt":null,"id":27114733731939,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d87f8bf0e76b810ace1fa11d982796ae2f0cdc47.webp?v=1775117228"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40574566465635,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01184Z8-PL20","requires_shipping":true,"taxable":true,"featured_image":{"id":35582113972323,"product_id":6979285483619,"position":4,"created_at":"2026-04-02T16:07:06+08:00","updated_at":"2026-04-02T16:07:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6044749f729ea7a20cfc32f6ce17f56a493dd8b.webp?v=1775117228","variant_ids":[40574566465635]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) Snoopy 史努比 騎腳踏車 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01184Z8-PL20","featured_media":{"alt":null,"id":27114733830243,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6044749f729ea7a20cfc32f6ce17f56a493dd8b.webp?v=1775117228"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40574566498403,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01184Z9-PL20","requires_shipping":true,"taxable":true,"featured_image":{"id":35582114529379,"product_id":6979285483619,"position":8,"created_at":"2026-04-02T16:07:09+08:00","updated_at":"2026-04-02T16:07:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecdb9016d92f8463c552ee29e1103822265e79e4.webp?v=1775117231","variant_ids":[40574566498403]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) Snoopy 史努比 騎腳踏車 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01184Z9-PL20","featured_media":{"alt":null,"id":27114734387299,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecdb9016d92f8463c552ee29e1103822265e79e4.webp?v=1775117231"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40574566563939,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MST011840A-PL20","requires_shipping":true,"taxable":true,"featured_image":{"id":35582114431075,"product_id":6979285483619,"position":7,"created_at":"2026-04-02T16:07:08+08:00","updated_at":"2026-04-02T16:07:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82f9f02ab17c0655b6e44674cdb5cd2b9a5e7df5.webp?v=1775117230","variant_ids":[40574566563939]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) Snoopy 史努比 騎腳踏車 - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011840A-PL20","featured_media":{"alt":null,"id":27114734288995,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82f9f02ab17c0655b6e44674cdb5cd2b9a5e7df5.webp?v=1775117230"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40574566629475,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"MST011840D-PL20","requires_shipping":true,"taxable":true,"featured_image":{"id":35582114136163,"product_id":6979285483619,"position":5,"created_at":"2026-04-02T16:07:07+08:00","updated_at":"2026-04-02T16:07:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c0cf9347907f2d66c451d7bcea79ffdad1546fe.webp?v=1775117229","variant_ids":[40574566629475]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) Snoopy 史努比 騎腳踏車 - 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":"MST011840D-PL20","featured_media":{"alt":null,"id":27114733994083,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c0cf9347907f2d66c451d7bcea79ffdad1546fe.webp?v=1775117229"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40574566727779,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST011840E-PL20","requires_shipping":true,"taxable":true,"featured_image":{"id":35582113546339,"product_id":6979285483619,"position":2,"created_at":"2026-04-02T16:07:05+08:00","updated_at":"2026-04-02T16:07:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a4d3f0df3fd5b014f62424493bb57c1fd9a2598.webp?v=1775117227","variant_ids":[40574566727779]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) Snoopy 史努比 騎腳踏車 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011840E-PL20","featured_media":{"alt":null,"id":27114733404259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a4d3f0df3fd5b014f62424493bb57c1fd9a2598.webp?v=1775117227"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-184-PL20.png?v=1690249872","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a4d3f0df3fd5b014f62424493bb57c1fd9a2598.webp?v=1775117227","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d87f8bf0e76b810ace1fa11d982796ae2f0cdc47.webp?v=1775117228","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6044749f729ea7a20cfc32f6ce17f56a493dd8b.webp?v=1775117228","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c0cf9347907f2d66c451d7bcea79ffdad1546fe.webp?v=1775117229","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/908386aba5cf34b3284a4029fff8e0a1e429455e.webp?v=1775117229","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82f9f02ab17c0655b6e44674cdb5cd2b9a5e7df5.webp?v=1775117230","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecdb9016d92f8463c552ee29e1103822265e79e4.webp?v=1775117231"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-184-PL20.png?v=1690249872","options":["color"],"media":[{"alt":null,"id":22626195472483,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-184-PL20.png?v=1690249872"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-184-PL20.png?v=1690249872","width":2000},{"alt":null,"id":27114733404259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a4d3f0df3fd5b014f62424493bb57c1fd9a2598.webp?v=1775117227"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a4d3f0df3fd5b014f62424493bb57c1fd9a2598.webp?v=1775117227","width":2000},{"alt":null,"id":27114733731939,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d87f8bf0e76b810ace1fa11d982796ae2f0cdc47.webp?v=1775117228"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d87f8bf0e76b810ace1fa11d982796ae2f0cdc47.webp?v=1775117228","width":2000},{"alt":null,"id":27114733830243,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6044749f729ea7a20cfc32f6ce17f56a493dd8b.webp?v=1775117228"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6044749f729ea7a20cfc32f6ce17f56a493dd8b.webp?v=1775117228","width":2000},{"alt":null,"id":27114733994083,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c0cf9347907f2d66c451d7bcea79ffdad1546fe.webp?v=1775117229"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c0cf9347907f2d66c451d7bcea79ffdad1546fe.webp?v=1775117229","width":2000},{"alt":null,"id":27114734125155,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/908386aba5cf34b3284a4029fff8e0a1e429455e.webp?v=1775117229"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/908386aba5cf34b3284a4029fff8e0a1e429455e.webp?v=1775117229","width":2000},{"alt":null,"id":27114734288995,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82f9f02ab17c0655b6e44674cdb5cd2b9a5e7df5.webp?v=1775117230"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82f9f02ab17c0655b6e44674cdb5cd2b9a5e7df5.webp?v=1775117230","width":2000},{"alt":null,"id":27114734387299,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecdb9016d92f8463c552ee29e1103822265e79e4.webp?v=1775117231"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecdb9016d92f8463c552ee29e1103822265e79e4.webp?v=1775117231","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":40574566137955,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0118452-PL20","requires_shipping":true,"taxable":true,"featured_image":{"id":35582113874019,"product_id":6979285483619,"position":3,"created_at":"2026-04-02T16:07:06+08:00","updated_at":"2026-04-02T16:07:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d87f8bf0e76b810ace1fa11d982796ae2f0cdc47.webp?v=1775117228","variant_ids":[40574566137955]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) Snoopy 史努比 騎腳踏車 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0118452-PL20","featured_media":{"alt":null,"id":27114733731939,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d87f8bf0e76b810ace1fa11d982796ae2f0cdc47.webp?v=1775117228"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40574566465635,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01184Z8-PL20","requires_shipping":true,"taxable":true,"featured_image":{"id":35582113972323,"product_id":6979285483619,"position":4,"created_at":"2026-04-02T16:07:06+08:00","updated_at":"2026-04-02T16:07:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6044749f729ea7a20cfc32f6ce17f56a493dd8b.webp?v=1775117228","variant_ids":[40574566465635]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) Snoopy 史努比 騎腳踏車 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01184Z8-PL20","featured_media":{"alt":null,"id":27114733830243,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f6044749f729ea7a20cfc32f6ce17f56a493dd8b.webp?v=1775117228"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40574566498403,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01184Z9-PL20","requires_shipping":true,"taxable":true,"featured_image":{"id":35582114529379,"product_id":6979285483619,"position":8,"created_at":"2026-04-02T16:07:09+08:00","updated_at":"2026-04-02T16:07:11+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecdb9016d92f8463c552ee29e1103822265e79e4.webp?v=1775117231","variant_ids":[40574566498403]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) Snoopy 史努比 騎腳踏車 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01184Z9-PL20","featured_media":{"alt":null,"id":27114734387299,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ecdb9016d92f8463c552ee29e1103822265e79e4.webp?v=1775117231"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40574566563939,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MST011840A-PL20","requires_shipping":true,"taxable":true,"featured_image":{"id":35582114431075,"product_id":6979285483619,"position":7,"created_at":"2026-04-02T16:07:08+08:00","updated_at":"2026-04-02T16:07:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82f9f02ab17c0655b6e44674cdb5cd2b9a5e7df5.webp?v=1775117230","variant_ids":[40574566563939]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) Snoopy 史努比 騎腳踏車 - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011840A-PL20","featured_media":{"alt":null,"id":27114734288995,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/82f9f02ab17c0655b6e44674cdb5cd2b9a5e7df5.webp?v=1775117230"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40574566629475,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"MST011840D-PL20","requires_shipping":true,"taxable":true,"featured_image":{"id":35582114136163,"product_id":6979285483619,"position":5,"created_at":"2026-04-02T16:07:07+08:00","updated_at":"2026-04-02T16:07:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c0cf9347907f2d66c451d7bcea79ffdad1546fe.webp?v=1775117229","variant_ids":[40574566629475]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) Snoopy 史努比 騎腳踏車 - 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":"MST011840D-PL20","featured_media":{"alt":null,"id":27114733994083,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c0cf9347907f2d66c451d7bcea79ffdad1546fe.webp?v=1775117229"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":40574566727779,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"MST011840E-PL20","requires_shipping":true,"taxable":true,"featured_image":{"id":35582113546339,"product_id":6979285483619,"position":2,"created_at":"2026-04-02T16:07:05+08:00","updated_at":"2026-04-02T16:07:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a4d3f0df3fd5b014f62424493bb57c1fd9a2598.webp?v=1775117227","variant_ids":[40574566727779]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) Snoopy 史努比 騎腳踏車 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST011840E-PL20","featured_media":{"alt":null,"id":27114733404259,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7a4d3f0df3fd5b014f62424493bb57c1fd9a2598.webp?v=1775117227"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":40574566137955,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0118452-PL20","requires_shipping":true,"taxable":true,"featured_image":{"id":35582113874019,"product_id":6979285483619,"position":3,"created_at":"2026-04-02T16:07:06+08:00","updated_at":"2026-04-02T16:07:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d87f8bf0e76b810ace1fa11d982796ae2f0cdc47.webp?v=1775117228","variant_ids":[40574566137955]},"available":true,"name":"iPhone 12 mini SolidSuit (MagSafe 兼容) Snoopy 史努比 騎腳踏車 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":1350,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0118452-PL20","featured_media":{"alt":null,"id":27114733731939,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d87f8bf0e76b810ace1fa11d982796ae2f0cdc47.webp?v=1775117228"}},"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: "停產" }