$product = {"id":7987594952803,"title":"iPhone 13 mini SolidSuit (MagSafe 兼容) 麵包超人Anpanman 哈嘻呼嘿吼,細菌人來囉!","handle":"iphone-13-mini-solidsuit-classic-magsafe-anp02","description":null,"published_at":"2026-03-31T11:00:08+08:00","created_at":"2026-03-30T11:11:36+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":44088489771107,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-ANP02","requires_shipping":true,"taxable":true,"featured_image":{"id":35561354428515,"product_id":7987594952803,"position":14,"created_at":"2026-03-30T11:48:04+08:00","updated_at":"2026-03-30T11:48:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5090493468475b62b38906783a02a5118edca8d7_8f0a3827-42e4-4063-a9a2-48db5cd451d0.webp?v=1774842485","variant_ids":[44088489771107]},"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-ANP02","featured_media":{"alt":null,"id":27094922788963,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5090493468475b62b38906783a02a5118edca8d7_8f0a3827-42e4-4063-a9a2-48db5cd451d0.webp?v=1774842485"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088489836643,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01228Z8-ANP02","requires_shipping":true,"taxable":true,"featured_image":{"id":35561354592355,"product_id":7987594952803,"position":15,"created_at":"2026-03-30T11:48:04+08:00","updated_at":"2026-03-30T11:48:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9485634024f9a82afe19d89cbe1df5c66597d723_509ff70b-159b-4d47-a148-e0c2ea2fba89.webp?v=1774842486","variant_ids":[44088489836643]},"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-ANP02","featured_media":{"alt":null,"id":27094922952803,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9485634024f9a82afe19d89cbe1df5c66597d723_509ff70b-159b-4d47-a148-e0c2ea2fba89.webp?v=1774842486"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088489902179,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01228Z9-ANP02","requires_shipping":true,"taxable":true,"featured_image":{"id":35561353773155,"product_id":7987594952803,"position":10,"created_at":"2026-03-30T11:48:01+08:00","updated_at":"2026-03-30T11:48:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb857a0b9f6fbc83a05e8075b8b76e3acba1d4de_30cfaab7-c632-43cc-b40f-ecea7ceac84b.webp?v=1774842483","variant_ids":[44088489902179]},"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-ANP02","featured_media":{"alt":null,"id":27094922133603,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb857a0b9f6fbc83a05e8075b8b76e3acba1d4de_30cfaab7-c632-43cc-b40f-ecea7ceac84b.webp?v=1774842483"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5090493468475b62b38906783a02a5118edca8d7.webp?v=1774840302","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3b6ae056a435acd76f3caebff704ec77425ec73.webp?v=1774840302","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bef9d9cd5d2497a6b422b741ea0791b90313cd3.webp?v=1774840303","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e278a6cd6f5634b3f34b16f22c416fd17da3b932.webp?v=1774840303","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9485634024f9a82afe19d89cbe1df5c66597d723.webp?v=1774840304","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb857a0b9f6fbc83a05e8075b8b76e3acba1d4de.webp?v=1774840304","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9672d9130bb1925f4ea54f96c90f61110230e26.webp?v=1774840305","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e456d0018e406d3d303faa39db5696cbca84f6d0.webp?v=1774840305","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3b6ae056a435acd76f3caebff704ec77425ec73_3c8b3869-c6da-4007-86cf-ce0ec8e11cfd.webp?v=1774842483","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb857a0b9f6fbc83a05e8075b8b76e3acba1d4de_30cfaab7-c632-43cc-b40f-ecea7ceac84b.webp?v=1774842483","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bef9d9cd5d2497a6b422b741ea0791b90313cd3_1d6d80dc-399d-44de-87fd-ca95491557fa.webp?v=1774842484","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e278a6cd6f5634b3f34b16f22c416fd17da3b932_fead3f94-c9eb-4b49-b01e-e032f78ebab5.webp?v=1774842484","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e456d0018e406d3d303faa39db5696cbca84f6d0_2fd7e16c-640b-4f98-891c-a5c38631d2f3.webp?v=1774842485","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5090493468475b62b38906783a02a5118edca8d7_8f0a3827-42e4-4063-a9a2-48db5cd451d0.webp?v=1774842485","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9485634024f9a82afe19d89cbe1df5c66597d723_509ff70b-159b-4d47-a148-e0c2ea2fba89.webp?v=1774842486","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9672d9130bb1925f4ea54f96c90f61110230e26_1697d7ce-0fae-4cd4-adf3-71b3ce99a80b.webp?v=1774842486"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5090493468475b62b38906783a02a5118edca8d7.webp?v=1774840302","options":["color"],"media":[{"alt":null,"id":27094494543971,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5090493468475b62b38906783a02a5118edca8d7.webp?v=1774840302"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5090493468475b62b38906783a02a5118edca8d7.webp?v=1774840302","width":2000},{"alt":null,"id":27094494642275,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3b6ae056a435acd76f3caebff704ec77425ec73.webp?v=1774840302"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3b6ae056a435acd76f3caebff704ec77425ec73.webp?v=1774840302","width":2000},{"alt":null,"id":27094494904419,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bef9d9cd5d2497a6b422b741ea0791b90313cd3.webp?v=1774840303"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bef9d9cd5d2497a6b422b741ea0791b90313cd3.webp?v=1774840303","width":2000},{"alt":null,"id":27094494969955,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e278a6cd6f5634b3f34b16f22c416fd17da3b932.webp?v=1774840303"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e278a6cd6f5634b3f34b16f22c416fd17da3b932.webp?v=1774840303","width":2000},{"alt":null,"id":27094495035491,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9485634024f9a82afe19d89cbe1df5c66597d723.webp?v=1774840304"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9485634024f9a82afe19d89cbe1df5c66597d723.webp?v=1774840304","width":2000},{"alt":null,"id":27094495133795,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb857a0b9f6fbc83a05e8075b8b76e3acba1d4de.webp?v=1774840304"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb857a0b9f6fbc83a05e8075b8b76e3acba1d4de.webp?v=1774840304","width":2000},{"alt":null,"id":27094495199331,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9672d9130bb1925f4ea54f96c90f61110230e26.webp?v=1774840305"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9672d9130bb1925f4ea54f96c90f61110230e26.webp?v=1774840305","width":2000},{"alt":null,"id":27094495395939,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e456d0018e406d3d303faa39db5696cbca84f6d0.webp?v=1774840305"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e456d0018e406d3d303faa39db5696cbca84f6d0.webp?v=1774840305","width":2000},{"alt":null,"id":27094921904227,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3b6ae056a435acd76f3caebff704ec77425ec73_3c8b3869-c6da-4007-86cf-ce0ec8e11cfd.webp?v=1774842483"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3b6ae056a435acd76f3caebff704ec77425ec73_3c8b3869-c6da-4007-86cf-ce0ec8e11cfd.webp?v=1774842483","width":2000},{"alt":null,"id":27094922133603,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb857a0b9f6fbc83a05e8075b8b76e3acba1d4de_30cfaab7-c632-43cc-b40f-ecea7ceac84b.webp?v=1774842483"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb857a0b9f6fbc83a05e8075b8b76e3acba1d4de_30cfaab7-c632-43cc-b40f-ecea7ceac84b.webp?v=1774842483","width":2000},{"alt":null,"id":27094922362979,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bef9d9cd5d2497a6b422b741ea0791b90313cd3_1d6d80dc-399d-44de-87fd-ca95491557fa.webp?v=1774842484"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9bef9d9cd5d2497a6b422b741ea0791b90313cd3_1d6d80dc-399d-44de-87fd-ca95491557fa.webp?v=1774842484","width":2000},{"alt":null,"id":27094922494051,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e278a6cd6f5634b3f34b16f22c416fd17da3b932_fead3f94-c9eb-4b49-b01e-e032f78ebab5.webp?v=1774842484"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e278a6cd6f5634b3f34b16f22c416fd17da3b932_fead3f94-c9eb-4b49-b01e-e032f78ebab5.webp?v=1774842484","width":2000},{"alt":null,"id":27094922625123,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e456d0018e406d3d303faa39db5696cbca84f6d0_2fd7e16c-640b-4f98-891c-a5c38631d2f3.webp?v=1774842485"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e456d0018e406d3d303faa39db5696cbca84f6d0_2fd7e16c-640b-4f98-891c-a5c38631d2f3.webp?v=1774842485","width":2000},{"alt":null,"id":27094922788963,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5090493468475b62b38906783a02a5118edca8d7_8f0a3827-42e4-4063-a9a2-48db5cd451d0.webp?v=1774842485"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5090493468475b62b38906783a02a5118edca8d7_8f0a3827-42e4-4063-a9a2-48db5cd451d0.webp?v=1774842485","width":2000},{"alt":null,"id":27094922952803,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9485634024f9a82afe19d89cbe1df5c66597d723_509ff70b-159b-4d47-a148-e0c2ea2fba89.webp?v=1774842486"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9485634024f9a82afe19d89cbe1df5c66597d723_509ff70b-159b-4d47-a148-e0c2ea2fba89.webp?v=1774842486","width":2000},{"alt":null,"id":27094923116643,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9672d9130bb1925f4ea54f96c90f61110230e26_1697d7ce-0fae-4cd4-adf3-71b3ce99a80b.webp?v=1774842486"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9672d9130bb1925f4ea54f96c90f61110230e26_1697d7ce-0fae-4cd4-adf3-71b3ce99a80b.webp?v=1774842486","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44088489771107,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-ANP02","requires_shipping":true,"taxable":true,"featured_image":{"id":35561354428515,"product_id":7987594952803,"position":14,"created_at":"2026-03-30T11:48:04+08:00","updated_at":"2026-03-30T11:48:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5090493468475b62b38906783a02a5118edca8d7_8f0a3827-42e4-4063-a9a2-48db5cd451d0.webp?v=1774842485","variant_ids":[44088489771107]},"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-ANP02","featured_media":{"alt":null,"id":27094922788963,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5090493468475b62b38906783a02a5118edca8d7_8f0a3827-42e4-4063-a9a2-48db5cd451d0.webp?v=1774842485"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088489836643,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"MST01228Z8-ANP02","requires_shipping":true,"taxable":true,"featured_image":{"id":35561354592355,"product_id":7987594952803,"position":15,"created_at":"2026-03-30T11:48:04+08:00","updated_at":"2026-03-30T11:48:06+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9485634024f9a82afe19d89cbe1df5c66597d723_509ff70b-159b-4d47-a148-e0c2ea2fba89.webp?v=1774842486","variant_ids":[44088489836643]},"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-ANP02","featured_media":{"alt":null,"id":27094922952803,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9485634024f9a82afe19d89cbe1df5c66597d723_509ff70b-159b-4d47-a148-e0c2ea2fba89.webp?v=1774842486"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44088489902179,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"MST01228Z9-ANP02","requires_shipping":true,"taxable":true,"featured_image":{"id":35561353773155,"product_id":7987594952803,"position":10,"created_at":"2026-03-30T11:48:01+08:00","updated_at":"2026-03-30T11:48:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb857a0b9f6fbc83a05e8075b8b76e3acba1d4de_30cfaab7-c632-43cc-b40f-ecea7ceac84b.webp?v=1774842483","variant_ids":[44088489902179]},"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-ANP02","featured_media":{"alt":null,"id":27094922133603,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb857a0b9f6fbc83a05e8075b8b76e3acba1d4de_30cfaab7-c632-43cc-b40f-ecea7ceac84b.webp?v=1774842483"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44088489771107,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0122852-ANP02","requires_shipping":true,"taxable":true,"featured_image":{"id":35561354428515,"product_id":7987594952803,"position":14,"created_at":"2026-03-30T11:48:04+08:00","updated_at":"2026-03-30T11:48:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5090493468475b62b38906783a02a5118edca8d7_8f0a3827-42e4-4063-a9a2-48db5cd451d0.webp?v=1774842485","variant_ids":[44088489771107]},"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-ANP02","featured_media":{"alt":null,"id":27094922788963,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5090493468475b62b38906783a02a5118edca8d7_8f0a3827-42e4-4063-a9a2-48db5cd451d0.webp?v=1774842485"}},"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: "停產" }