$product = {"id":7987544129635,"title":"iPhone 13 mini SolidSuit (MagSafe 兼容) 麵包超人Anpanman 細菌幽浮","handle":"iphone-13-mini-solidsuit-classic-magsafe-anp07","description":null,"published_at":"2026-03-31T11:09:54+08:00","created_at":"2026-03-30T11:04:45+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-anpanman","device-iPhone 13 Mini","merge","reseller-anpanman"],"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":44088393039971,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-ANP07","requires_shipping":true,"taxable":true,"featured_image":{"id":35561289646179,"product_id":7987544129635,"position":12,"created_at":"2026-03-30T11:44:17+08:00","updated_at":"2026-03-30T11:44:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33265d1363bce0e67b3b8484ab7e08dd5a6606c0_7187e56a-800f-4c16-84e1-4c7355b8d8b9.webp?v=1774842259","variant_ids":[44088393039971]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 麵包超人Anpanman 細菌幽浮 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0122852-ANP07","featured_media":{"alt":null,"id":27094858006627,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33265d1363bce0e67b3b8484ab7e08dd5a6606c0_7187e56a-800f-4c16-84e1-4c7355b8d8b9.webp?v=1774842259"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088393105507,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01228Z8-ANP07","requires_shipping":true,"taxable":true,"featured_image":{"id":35561289711715,"product_id":7987544129635,"position":13,"created_at":"2026-03-30T11:44:17+08:00","updated_at":"2026-03-30T11:44:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/784b873ab4f520f82481cffca7fd0f57a31393d8_3a10d1a4-cf7a-4ccb-8741-adc2cb0b64b5.webp?v=1774842259","variant_ids":[44088393105507]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 麵包超人Anpanman 細菌幽浮 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01228Z8-ANP07","featured_media":{"alt":null,"id":27094858072163,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/784b873ab4f520f82481cffca7fd0f57a31393d8_3a10d1a4-cf7a-4ccb-8741-adc2cb0b64b5.webp?v=1774842259"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088393171043,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01228Z9-ANP07","requires_shipping":true,"taxable":true,"featured_image":{"id":35561290334307,"product_id":7987544129635,"position":15,"created_at":"2026-03-30T11:44:18+08:00","updated_at":"2026-03-30T11:44:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5053cac65a04b6731a1090004eea563a591c317_b9dcbee2-7a57-41a5-9903-92c78b4770a3.webp?v=1774842261","variant_ids":[44088393171043]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 麵包超人Anpanman 細菌幽浮 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01228Z9-ANP07","featured_media":{"alt":null,"id":27094858694755,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5053cac65a04b6731a1090004eea563a591c317_b9dcbee2-7a57-41a5-9903-92c78b4770a3.webp?v=1774842261"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd933e00a95ff118170b072191dcb9b5d3452dee.webp?v=1774839891","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c36407995687a60cfab367b50872a2b32d318bd.webp?v=1774839891","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5053cac65a04b6731a1090004eea563a591c317.webp?v=1774839892","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30c5adaab921550b3705847cf42ff312ace2e2f2.webp?v=1774839893","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/020b53a5b5db1f951d422e4ef1e3494fd1b46b47.webp?v=1774839893","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab604cd49aa62ac55687783635d33e56fff0ebfa.webp?v=1774839894","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33265d1363bce0e67b3b8484ab7e08dd5a6606c0.webp?v=1774839895","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/784b873ab4f520f82481cffca7fd0f57a31393d8.webp?v=1774839895","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd933e00a95ff118170b072191dcb9b5d3452dee_5b5792b9-2df3-40aa-a9cb-e0513d1c5443.webp?v=1774842257","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/020b53a5b5db1f951d422e4ef1e3494fd1b46b47_c121807e-0971-4010-9f7f-b28dad74e5c1.webp?v=1774842258","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30c5adaab921550b3705847cf42ff312ace2e2f2_82b4c0e5-b027-4957-b7e0-66ceb206679c.webp?v=1774842258","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33265d1363bce0e67b3b8484ab7e08dd5a6606c0_7187e56a-800f-4c16-84e1-4c7355b8d8b9.webp?v=1774842259","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/784b873ab4f520f82481cffca7fd0f57a31393d8_3a10d1a4-cf7a-4ccb-8741-adc2cb0b64b5.webp?v=1774842259","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c36407995687a60cfab367b50872a2b32d318bd_6f217eaa-af25-4e9c-9b29-bb650e236c06.webp?v=1774842260","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5053cac65a04b6731a1090004eea563a591c317_b9dcbee2-7a57-41a5-9903-92c78b4770a3.webp?v=1774842261","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab604cd49aa62ac55687783635d33e56fff0ebfa_ff02ec58-5462-4529-a412-2658c1ee103d.webp?v=1774842261"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd933e00a95ff118170b072191dcb9b5d3452dee.webp?v=1774839891","options":["color"],"media":[{"alt":null,"id":27094326935651,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd933e00a95ff118170b072191dcb9b5d3452dee.webp?v=1774839891"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd933e00a95ff118170b072191dcb9b5d3452dee.webp?v=1774839891","width":2000},{"alt":null,"id":27094327328867,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c36407995687a60cfab367b50872a2b32d318bd.webp?v=1774839891"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c36407995687a60cfab367b50872a2b32d318bd.webp?v=1774839891","width":2000},{"alt":null,"id":27094327591011,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5053cac65a04b6731a1090004eea563a591c317.webp?v=1774839892"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5053cac65a04b6731a1090004eea563a591c317.webp?v=1774839892","width":2000},{"alt":null,"id":27094327918691,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30c5adaab921550b3705847cf42ff312ace2e2f2.webp?v=1774839893"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30c5adaab921550b3705847cf42ff312ace2e2f2.webp?v=1774839893","width":2000},{"alt":null,"id":27094328508515,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/020b53a5b5db1f951d422e4ef1e3494fd1b46b47.webp?v=1774839893"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/020b53a5b5db1f951d422e4ef1e3494fd1b46b47.webp?v=1774839893","width":2000},{"alt":null,"id":27094328868963,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab604cd49aa62ac55687783635d33e56fff0ebfa.webp?v=1774839894"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab604cd49aa62ac55687783635d33e56fff0ebfa.webp?v=1774839894","width":2000},{"alt":null,"id":27094329655395,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33265d1363bce0e67b3b8484ab7e08dd5a6606c0.webp?v=1774839895"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33265d1363bce0e67b3b8484ab7e08dd5a6606c0.webp?v=1774839895","width":2000},{"alt":null,"id":27094330081379,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/784b873ab4f520f82481cffca7fd0f57a31393d8.webp?v=1774839895"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/784b873ab4f520f82481cffca7fd0f57a31393d8.webp?v=1774839895","width":2000},{"alt":null,"id":27094857842787,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd933e00a95ff118170b072191dcb9b5d3452dee_5b5792b9-2df3-40aa-a9cb-e0513d1c5443.webp?v=1774842257"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd933e00a95ff118170b072191dcb9b5d3452dee_5b5792b9-2df3-40aa-a9cb-e0513d1c5443.webp?v=1774842257","width":2000},{"alt":null,"id":27094857908323,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/020b53a5b5db1f951d422e4ef1e3494fd1b46b47_c121807e-0971-4010-9f7f-b28dad74e5c1.webp?v=1774842258"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/020b53a5b5db1f951d422e4ef1e3494fd1b46b47_c121807e-0971-4010-9f7f-b28dad74e5c1.webp?v=1774842258","width":2000},{"alt":null,"id":27094857941091,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30c5adaab921550b3705847cf42ff312ace2e2f2_82b4c0e5-b027-4957-b7e0-66ceb206679c.webp?v=1774842258"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30c5adaab921550b3705847cf42ff312ace2e2f2_82b4c0e5-b027-4957-b7e0-66ceb206679c.webp?v=1774842258","width":2000},{"alt":null,"id":27094858006627,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33265d1363bce0e67b3b8484ab7e08dd5a6606c0_7187e56a-800f-4c16-84e1-4c7355b8d8b9.webp?v=1774842259"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33265d1363bce0e67b3b8484ab7e08dd5a6606c0_7187e56a-800f-4c16-84e1-4c7355b8d8b9.webp?v=1774842259","width":2000},{"alt":null,"id":27094858072163,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/784b873ab4f520f82481cffca7fd0f57a31393d8_3a10d1a4-cf7a-4ccb-8741-adc2cb0b64b5.webp?v=1774842259"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/784b873ab4f520f82481cffca7fd0f57a31393d8_3a10d1a4-cf7a-4ccb-8741-adc2cb0b64b5.webp?v=1774842259","width":2000},{"alt":null,"id":27094858367075,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c36407995687a60cfab367b50872a2b32d318bd_6f217eaa-af25-4e9c-9b29-bb650e236c06.webp?v=1774842260"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c36407995687a60cfab367b50872a2b32d318bd_6f217eaa-af25-4e9c-9b29-bb650e236c06.webp?v=1774842260","width":2000},{"alt":null,"id":27094858694755,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5053cac65a04b6731a1090004eea563a591c317_b9dcbee2-7a57-41a5-9903-92c78b4770a3.webp?v=1774842261"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5053cac65a04b6731a1090004eea563a591c317_b9dcbee2-7a57-41a5-9903-92c78b4770a3.webp?v=1774842261","width":2000},{"alt":null,"id":27094859055203,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab604cd49aa62ac55687783635d33e56fff0ebfa_ff02ec58-5462-4529-a412-2658c1ee103d.webp?v=1774842261"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ab604cd49aa62ac55687783635d33e56fff0ebfa_ff02ec58-5462-4529-a412-2658c1ee103d.webp?v=1774842261","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44088393039971,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-ANP07","requires_shipping":true,"taxable":true,"featured_image":{"id":35561289646179,"product_id":7987544129635,"position":12,"created_at":"2026-03-30T11:44:17+08:00","updated_at":"2026-03-30T11:44:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33265d1363bce0e67b3b8484ab7e08dd5a6606c0_7187e56a-800f-4c16-84e1-4c7355b8d8b9.webp?v=1774842259","variant_ids":[44088393039971]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 麵包超人Anpanman 細菌幽浮 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0122852-ANP07","featured_media":{"alt":null,"id":27094858006627,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33265d1363bce0e67b3b8484ab7e08dd5a6606c0_7187e56a-800f-4c16-84e1-4c7355b8d8b9.webp?v=1774842259"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088393105507,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01228Z8-ANP07","requires_shipping":true,"taxable":true,"featured_image":{"id":35561289711715,"product_id":7987544129635,"position":13,"created_at":"2026-03-30T11:44:17+08:00","updated_at":"2026-03-30T11:44:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/784b873ab4f520f82481cffca7fd0f57a31393d8_3a10d1a4-cf7a-4ccb-8741-adc2cb0b64b5.webp?v=1774842259","variant_ids":[44088393105507]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 麵包超人Anpanman 細菌幽浮 - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01228Z8-ANP07","featured_media":{"alt":null,"id":27094858072163,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/784b873ab4f520f82481cffca7fd0f57a31393d8_3a10d1a4-cf7a-4ccb-8741-adc2cb0b64b5.webp?v=1774842259"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088393171043,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01228Z9-ANP07","requires_shipping":true,"taxable":true,"featured_image":{"id":35561290334307,"product_id":7987544129635,"position":15,"created_at":"2026-03-30T11:44:18+08:00","updated_at":"2026-03-30T11:44:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5053cac65a04b6731a1090004eea563a591c317_b9dcbee2-7a57-41a5-9903-92c78b4770a3.webp?v=1774842261","variant_ids":[44088393171043]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 麵包超人Anpanman 細菌幽浮 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01228Z9-ANP07","featured_media":{"alt":null,"id":27094858694755,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b5053cac65a04b6731a1090004eea563a591c317_b9dcbee2-7a57-41a5-9903-92c78b4770a3.webp?v=1774842261"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44088393039971,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-ANP07","requires_shipping":true,"taxable":true,"featured_image":{"id":35561289646179,"product_id":7987544129635,"position":12,"created_at":"2026-03-30T11:44:17+08:00","updated_at":"2026-03-30T11:44:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33265d1363bce0e67b3b8484ab7e08dd5a6606c0_7187e56a-800f-4c16-84e1-4c7355b8d8b9.webp?v=1774842259","variant_ids":[44088393039971]},"available":true,"name":"iPhone 13 mini SolidSuit (MagSafe 兼容) 麵包超人Anpanman 細菌幽浮 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0122852-ANP07","featured_media":{"alt":null,"id":27094858006627,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/33265d1363bce0e67b3b8484ab7e08dd5a6606c0_7187e56a-800f-4c16-84e1-4c7355b8d8b9.webp?v=1774842259"}},"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: "停產" }