$product = {"id":6985733308515,"title":"iPhone 13 mini SolidSuit 柴語錄 華麗的麵包對決","handle":"iphone-13-mini-solidsuit-classic-fz25","description":null,"published_at":"2023-08-02T23:55:07+08:00","created_at":"2023-07-28T21:04:40+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 Mini","merge","reseller-shiba-says"],"price":83000,"price_min":83000,"price_max":83000,"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":43102299684963,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"SST0122852-FZ25","requires_shipping":true,"taxable":true,"featured_image":{"id":30281525198947,"product_id":6985733308515,"position":1,"created_at":"2023-07-28T21:04:43+08:00","updated_at":"2023-07-28T21:04:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ25.png?v=1690549483","variant_ids":[43102299684963,43102299816035,43102299947107,43102300012643]},"available":true,"name":"iPhone 13 mini SolidSuit 柴語錄 華麗的麵包對決 - Black \/ Classic","public_title":"Black \/ Classic","options":["Black","Classic"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0122852-FZ25","featured_media":{"alt":null,"id":22640187080803,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ25.png?v=1690549483"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102299816035,"title":"Ash Grey \/ Classic","option1":"Ash Grey","option2":"Classic","option3":null,"sku":"SST01228O8-FZ25","requires_shipping":true,"taxable":true,"featured_image":{"id":30281525198947,"product_id":6985733308515,"position":1,"created_at":"2023-07-28T21:04:43+08:00","updated_at":"2023-07-28T21:04:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ25.png?v=1690549483","variant_ids":[43102299684963,43102299816035,43102299947107,43102300012643]},"available":true,"name":"iPhone 13 mini SolidSuit 柴語錄 華麗的麵包對決 - Ash Grey \/ Classic","public_title":"Ash Grey \/ Classic","options":["Ash Grey","Classic"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228O8-FZ25","featured_media":{"alt":null,"id":22640187080803,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ25.png?v=1690549483"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102299947107,"title":"Seaweed Green \/ Classic","option1":"Seaweed Green","option2":"Classic","option3":null,"sku":"SST01228Z8-FZ25","requires_shipping":true,"taxable":true,"featured_image":{"id":30281525198947,"product_id":6985733308515,"position":1,"created_at":"2023-07-28T21:04:43+08:00","updated_at":"2023-07-28T21:04:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ25.png?v=1690549483","variant_ids":[43102299684963,43102299816035,43102299947107,43102300012643]},"available":true,"name":"iPhone 13 mini SolidSuit 柴語錄 華麗的麵包對決 - Seaweed Green \/ Classic","public_title":"Seaweed Green \/ Classic","options":["Seaweed Green","Classic"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228Z8-FZ25","featured_media":{"alt":null,"id":22640187080803,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ25.png?v=1690549483"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102300012643,"title":"Tide Blue \/ Classic","option1":"Tide Blue","option2":"Classic","option3":null,"sku":"SST01228Z9-FZ25","requires_shipping":true,"taxable":true,"featured_image":{"id":30281525198947,"product_id":6985733308515,"position":1,"created_at":"2023-07-28T21:04:43+08:00","updated_at":"2023-07-28T21:04:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ25.png?v=1690549483","variant_ids":[43102299684963,43102299816035,43102299947107,43102300012643]},"available":true,"name":"iPhone 13 mini SolidSuit 柴語錄 華麗的麵包對決 - Tide Blue \/ Classic","public_title":"Tide Blue \/ Classic","options":["Tide Blue","Classic"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228Z9-FZ25","featured_media":{"alt":null,"id":22640187080803,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ25.png?v=1690549483"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ25.png?v=1690549483","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9619cb1877f63d72b5412faa5e039524ab40b2cc.webp?v=1784084591","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e326504bef86af32e66f5ef75953eae71a12310.webp?v=1784084592","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c178feb0a2499642272f766b200fdac4fd5a6cd.webp?v=1784084593","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a7903d59cdd6f97c8e961fe4a2ecbd71a22e423.webp?v=1784084595","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9619cb1877f63d72b5412faa5e039524ab40b2cc_8a2c3b43-d4a6-4791-9752-fbc02758e385.webp?v=1784091681","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e326504bef86af32e66f5ef75953eae71a12310_912d239f-dad6-492c-815b-9b557f2e974b.webp?v=1784091682","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c178feb0a2499642272f766b200fdac4fd5a6cd_7e1b771e-dcc4-4112-86f9-257f03af60da.webp?v=1784091684","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a7903d59cdd6f97c8e961fe4a2ecbd71a22e423_51fc4484-5c39-46b3-acd5-06bf98ebfbab.webp?v=1784091685","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9619cb1877f63d72b5412faa5e039524ab40b2cc_976ce729-d77b-455c-952d-e324244e18e7.webp?v=1784091860","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e326504bef86af32e66f5ef75953eae71a12310_f9d1ecd9-3928-4c33-960b-bbd5e068074e.webp?v=1784091860","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c178feb0a2499642272f766b200fdac4fd5a6cd_02bc684b-8733-4d09-b54e-ca7719cf5015.webp?v=1784091861","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a7903d59cdd6f97c8e961fe4a2ecbd71a22e423_ab0934ba-626b-47a8-9845-97c3f56e9641.webp?v=1784091861","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9619cb1877f63d72b5412faa5e039524ab40b2cc_5f971893-3046-4d10-9164-888c6bebe2ba.webp?v=1784092015","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e326504bef86af32e66f5ef75953eae71a12310_eaf0adf9-e961-4dad-86c0-df5d68db67d3.webp?v=1784092017","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c178feb0a2499642272f766b200fdac4fd5a6cd_aca51262-bf96-4900-ac53-c04c8db63843.webp?v=1784092017","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a7903d59cdd6f97c8e961fe4a2ecbd71a22e423_582225ac-e2c1-491a-ae93-3597fb55afb5.webp?v=1784092018"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ25.png?v=1690549483","options":["color","Types"],"media":[{"alt":null,"id":22640187080803,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ25.png?v=1690549483"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ25.png?v=1690549483","width":2000},{"alt":null,"id":27772351414371,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9619cb1877f63d72b5412faa5e039524ab40b2cc.webp?v=1784084591"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9619cb1877f63d72b5412faa5e039524ab40b2cc.webp?v=1784084591","width":2000},{"alt":null,"id":27772352659555,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e326504bef86af32e66f5ef75953eae71a12310.webp?v=1784084592"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e326504bef86af32e66f5ef75953eae71a12310.webp?v=1784084592","width":2000},{"alt":null,"id":27772353839203,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c178feb0a2499642272f766b200fdac4fd5a6cd.webp?v=1784084593"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c178feb0a2499642272f766b200fdac4fd5a6cd.webp?v=1784084593","width":2000},{"alt":null,"id":27772354822243,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a7903d59cdd6f97c8e961fe4a2ecbd71a22e423.webp?v=1784084595"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a7903d59cdd6f97c8e961fe4a2ecbd71a22e423.webp?v=1784084595","width":2000},{"alt":null,"id":27774912856163,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9619cb1877f63d72b5412faa5e039524ab40b2cc_8a2c3b43-d4a6-4791-9752-fbc02758e385.webp?v=1784091681"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9619cb1877f63d72b5412faa5e039524ab40b2cc_8a2c3b43-d4a6-4791-9752-fbc02758e385.webp?v=1784091681","width":2000},{"alt":null,"id":27774912888931,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e326504bef86af32e66f5ef75953eae71a12310_912d239f-dad6-492c-815b-9b557f2e974b.webp?v=1784091682"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e326504bef86af32e66f5ef75953eae71a12310_912d239f-dad6-492c-815b-9b557f2e974b.webp?v=1784091682","width":2000},{"alt":null,"id":27774912987235,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c178feb0a2499642272f766b200fdac4fd5a6cd_7e1b771e-dcc4-4112-86f9-257f03af60da.webp?v=1784091684"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c178feb0a2499642272f766b200fdac4fd5a6cd_7e1b771e-dcc4-4112-86f9-257f03af60da.webp?v=1784091684","width":2000},{"alt":null,"id":27774913151075,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a7903d59cdd6f97c8e961fe4a2ecbd71a22e423_51fc4484-5c39-46b3-acd5-06bf98ebfbab.webp?v=1784091685"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a7903d59cdd6f97c8e961fe4a2ecbd71a22e423_51fc4484-5c39-46b3-acd5-06bf98ebfbab.webp?v=1784091685","width":2000},{"alt":null,"id":27774958469219,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9619cb1877f63d72b5412faa5e039524ab40b2cc_976ce729-d77b-455c-952d-e324244e18e7.webp?v=1784091860"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9619cb1877f63d72b5412faa5e039524ab40b2cc_976ce729-d77b-455c-952d-e324244e18e7.webp?v=1784091860","width":2000},{"alt":null,"id":27774959288419,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e326504bef86af32e66f5ef75953eae71a12310_f9d1ecd9-3928-4c33-960b-bbd5e068074e.webp?v=1784091860"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e326504bef86af32e66f5ef75953eae71a12310_f9d1ecd9-3928-4c33-960b-bbd5e068074e.webp?v=1784091860","width":2000},{"alt":null,"id":27774960074851,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c178feb0a2499642272f766b200fdac4fd5a6cd_02bc684b-8733-4d09-b54e-ca7719cf5015.webp?v=1784091861"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c178feb0a2499642272f766b200fdac4fd5a6cd_02bc684b-8733-4d09-b54e-ca7719cf5015.webp?v=1784091861","width":2000},{"alt":null,"id":27774960762979,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a7903d59cdd6f97c8e961fe4a2ecbd71a22e423_ab0934ba-626b-47a8-9845-97c3f56e9641.webp?v=1784091861"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a7903d59cdd6f97c8e961fe4a2ecbd71a22e423_ab0934ba-626b-47a8-9845-97c3f56e9641.webp?v=1784091861","width":2000},{"alt":null,"id":27775001788515,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9619cb1877f63d72b5412faa5e039524ab40b2cc_5f971893-3046-4d10-9164-888c6bebe2ba.webp?v=1784092015"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9619cb1877f63d72b5412faa5e039524ab40b2cc_5f971893-3046-4d10-9164-888c6bebe2ba.webp?v=1784092015","width":2000},{"alt":null,"id":27775002738787,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e326504bef86af32e66f5ef75953eae71a12310_eaf0adf9-e961-4dad-86c0-df5d68db67d3.webp?v=1784092017"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7e326504bef86af32e66f5ef75953eae71a12310_eaf0adf9-e961-4dad-86c0-df5d68db67d3.webp?v=1784092017","width":2000},{"alt":null,"id":27775003623523,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c178feb0a2499642272f766b200fdac4fd5a6cd_aca51262-bf96-4900-ac53-c04c8db63843.webp?v=1784092017"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3c178feb0a2499642272f766b200fdac4fd5a6cd_aca51262-bf96-4900-ac53-c04c8db63843.webp?v=1784092017","width":2000},{"alt":null,"id":27775004639331,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a7903d59cdd6f97c8e961fe4a2ecbd71a22e423_582225ac-e2c1-491a-ae93-3597fb55afb5.webp?v=1784092018"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6a7903d59cdd6f97c8e961fe4a2ecbd71a22e423_582225ac-e2c1-491a-ae93-3597fb55afb5.webp?v=1784092018","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43102299684963,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"SST0122852-FZ25","requires_shipping":true,"taxable":true,"featured_image":{"id":30281525198947,"product_id":6985733308515,"position":1,"created_at":"2023-07-28T21:04:43+08:00","updated_at":"2023-07-28T21:04:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ25.png?v=1690549483","variant_ids":[43102299684963,43102299816035,43102299947107,43102300012643]},"available":true,"name":"iPhone 13 mini SolidSuit 柴語錄 華麗的麵包對決 - Black \/ Classic","public_title":"Black \/ Classic","options":["Black","Classic"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0122852-FZ25","featured_media":{"alt":null,"id":22640187080803,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ25.png?v=1690549483"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102299816035,"title":"Ash Grey \/ Classic","option1":"Ash Grey","option2":"Classic","option3":null,"sku":"SST01228O8-FZ25","requires_shipping":true,"taxable":true,"featured_image":{"id":30281525198947,"product_id":6985733308515,"position":1,"created_at":"2023-07-28T21:04:43+08:00","updated_at":"2023-07-28T21:04:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ25.png?v=1690549483","variant_ids":[43102299684963,43102299816035,43102299947107,43102300012643]},"available":true,"name":"iPhone 13 mini SolidSuit 柴語錄 華麗的麵包對決 - Ash Grey \/ Classic","public_title":"Ash Grey \/ Classic","options":["Ash Grey","Classic"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228O8-FZ25","featured_media":{"alt":null,"id":22640187080803,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ25.png?v=1690549483"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102299947107,"title":"Seaweed Green \/ Classic","option1":"Seaweed Green","option2":"Classic","option3":null,"sku":"SST01228Z8-FZ25","requires_shipping":true,"taxable":true,"featured_image":{"id":30281525198947,"product_id":6985733308515,"position":1,"created_at":"2023-07-28T21:04:43+08:00","updated_at":"2023-07-28T21:04:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ25.png?v=1690549483","variant_ids":[43102299684963,43102299816035,43102299947107,43102300012643]},"available":true,"name":"iPhone 13 mini SolidSuit 柴語錄 華麗的麵包對決 - Seaweed Green \/ Classic","public_title":"Seaweed Green \/ Classic","options":["Seaweed Green","Classic"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228Z8-FZ25","featured_media":{"alt":null,"id":22640187080803,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ25.png?v=1690549483"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43102300012643,"title":"Tide Blue \/ Classic","option1":"Tide Blue","option2":"Classic","option3":null,"sku":"SST01228Z9-FZ25","requires_shipping":true,"taxable":true,"featured_image":{"id":30281525198947,"product_id":6985733308515,"position":1,"created_at":"2023-07-28T21:04:43+08:00","updated_at":"2023-07-28T21:04:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ25.png?v=1690549483","variant_ids":[43102299684963,43102299816035,43102299947107,43102300012643]},"available":true,"name":"iPhone 13 mini SolidSuit 柴語錄 華麗的麵包對決 - Tide Blue \/ Classic","public_title":"Tide Blue \/ Classic","options":["Tide Blue","Classic"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228Z9-FZ25","featured_media":{"alt":null,"id":22640187080803,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ25.png?v=1690549483"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43102299684963,"title":"Black \/ Classic","option1":"Black","option2":"Classic","option3":null,"sku":"SST0122852-FZ25","requires_shipping":true,"taxable":true,"featured_image":{"id":30281525198947,"product_id":6985733308515,"position":1,"created_at":"2023-07-28T21:04:43+08:00","updated_at":"2023-07-28T21:04:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ25.png?v=1690549483","variant_ids":[43102299684963,43102299816035,43102299947107,43102300012643]},"available":true,"name":"iPhone 13 mini SolidSuit 柴語錄 華麗的麵包對決 - Black \/ Classic","public_title":"Black \/ Classic","options":["Black","Classic"],"price":83000,"weight":830,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0122852-FZ25","featured_media":{"alt":null,"id":22640187080803,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidSuitTPE-53-228-FZ25.png?v=1690549483"}},"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: "停產"
}