$product = {"id":7892700659811,"title":"iPhone 13 mini SolidSuit Aaron Chang Skaterboy","handle":"iphone-13-mini-solidsuit-classic-aar03","description":null,"published_at":"2025-10-03T09:37:42+08:00","created_at":"2025-10-02T10:14:52+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-aaronchang","device-iPhone 13 Mini","merge","reseller-aaronchang"],"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":43756822691939,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"SST01228Z9-AAR03","requires_shipping":true,"taxable":true,"featured_image":{"id":36321142374499,"product_id":7892700659811,"position":10,"created_at":"2026-07-20T15:12:57+08:00","updated_at":"2026-07-20T15:12:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e86a3ef694eddd78dd5414ea9347ee87b96a95c_b3b0a27a-cc9a-4f9b-956f-fe4a641819cb.webp?v=1784531579","variant_ids":[43756822691939]},"available":true,"name":"iPhone 13 mini SolidSuit Aaron Chang Skaterboy - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228Z9-AAR03","featured_media":{"alt":null,"id":27825089904739,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e86a3ef694eddd78dd5414ea9347ee87b96a95c_b3b0a27a-cc9a-4f9b-956f-fe4a641819cb.webp?v=1784531579"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756822724707,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0122852-AAR03","requires_shipping":true,"taxable":true,"featured_image":{"id":36321143586915,"product_id":7892700659811,"position":13,"created_at":"2026-07-20T15:13:09+08:00","updated_at":"2026-07-20T15:13:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41add4e265d530d86dde15d10a61b0bbaba40e39_f4285d7e-c57c-4f60-9fff-9fbd8ed0d23e.webp?v=1784531592","variant_ids":[43756822724707]},"available":true,"name":"iPhone 13 mini SolidSuit Aaron Chang Skaterboy - Black","public_title":"Black","options":["Black"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0122852-AAR03","featured_media":{"alt":null,"id":27825091117155,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41add4e265d530d86dde15d10a61b0bbaba40e39_f4285d7e-c57c-4f60-9fff-9fbd8ed0d23e.webp?v=1784531592"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756822757475,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"SST01228O8-AAR03","requires_shipping":true,"taxable":true,"featured_image":{"id":36321142636643,"product_id":7892700659811,"position":11,"created_at":"2026-07-20T15:12:58+08:00","updated_at":"2026-07-20T15:13:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4357728d3ab9897aae4edbc4cc9d8ed9da14a56_29d68184-db6d-4e3b-a320-d11f30fd0f84.webp?v=1784531580","variant_ids":[43756822757475]},"available":true,"name":"iPhone 13 mini SolidSuit Aaron Chang Skaterboy - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228O8-AAR03","featured_media":{"alt":null,"id":27825090166883,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4357728d3ab9897aae4edbc4cc9d8ed9da14a56_29d68184-db6d-4e3b-a320-d11f30fd0f84.webp?v=1784531580"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756822790243,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"SST01228Z8-AAR03","requires_shipping":true,"taxable":true,"featured_image":{"id":36321142997091,"product_id":7892700659811,"position":12,"created_at":"2026-07-20T15:13:06+08:00","updated_at":"2026-07-20T15:13:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f619becb585d679abff2d3fcc40c423fa12622c_f817cc8b-ddf3-40ba-9cc2-255ec91db203.webp?v=1784531588","variant_ids":[43756822790243]},"available":true,"name":"iPhone 13 mini SolidSuit Aaron Chang Skaterboy - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228Z8-AAR03","featured_media":{"alt":null,"id":27825090527331,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f619becb585d679abff2d3fcc40c423fa12622c_f817cc8b-ddf3-40ba-9cc2-255ec91db203.webp?v=1784531588"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4357728d3ab9897aae4edbc4cc9d8ed9da14a56.webp?v=1759371294","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d434f92f9347bef94f05174f0ba9bc1e5349892.webp?v=1759371295","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41add4e265d530d86dde15d10a61b0bbaba40e39.webp?v=1759371296","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db38460dd21f255c15c6e3c6bfc15d5110295e1e.webp?v=1759371297","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e86a3ef694eddd78dd5414ea9347ee87b96a95c.webp?v=1759371297","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f619becb585d679abff2d3fcc40c423fa12622c.webp?v=1759371298","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/900e5081d4ae22dbf27bd61f244e1419fd99cb6c.webp?v=1759371301","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef9d2f3be2114c4eae71336613c01ffd5e7f3480.webp?v=1759371301","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c5fcfc0e8863438ed80636c3bbddd321dcc8558.webp?v=1759371302","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e86a3ef694eddd78dd5414ea9347ee87b96a95c_b3b0a27a-cc9a-4f9b-956f-fe4a641819cb.webp?v=1784531579","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4357728d3ab9897aae4edbc4cc9d8ed9da14a56_29d68184-db6d-4e3b-a320-d11f30fd0f84.webp?v=1784531580","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f619becb585d679abff2d3fcc40c423fa12622c_f817cc8b-ddf3-40ba-9cc2-255ec91db203.webp?v=1784531588","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41add4e265d530d86dde15d10a61b0bbaba40e39_f4285d7e-c57c-4f60-9fff-9fbd8ed0d23e.webp?v=1784531592"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4357728d3ab9897aae4edbc4cc9d8ed9da14a56.webp?v=1759371294","options":["color"],"media":[{"alt":null,"id":26113629225059,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4357728d3ab9897aae4edbc4cc9d8ed9da14a56.webp?v=1759371294"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4357728d3ab9897aae4edbc4cc9d8ed9da14a56.webp?v=1759371294","width":2000},{"alt":null,"id":26113629388899,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d434f92f9347bef94f05174f0ba9bc1e5349892.webp?v=1759371295"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0d434f92f9347bef94f05174f0ba9bc1e5349892.webp?v=1759371295","width":2000},{"alt":null,"id":26113629585507,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41add4e265d530d86dde15d10a61b0bbaba40e39.webp?v=1759371296"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41add4e265d530d86dde15d10a61b0bbaba40e39.webp?v=1759371296","width":2000},{"alt":null,"id":26113629749347,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db38460dd21f255c15c6e3c6bfc15d5110295e1e.webp?v=1759371297"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/db38460dd21f255c15c6e3c6bfc15d5110295e1e.webp?v=1759371297","width":2000},{"alt":null,"id":26113629814883,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e86a3ef694eddd78dd5414ea9347ee87b96a95c.webp?v=1759371297"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e86a3ef694eddd78dd5414ea9347ee87b96a95c.webp?v=1759371297","width":2000},{"alt":null,"id":26113629880419,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f619becb585d679abff2d3fcc40c423fa12622c.webp?v=1759371298"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f619becb585d679abff2d3fcc40c423fa12622c.webp?v=1759371298","width":2000},{"alt":null,"id":26113629945955,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/900e5081d4ae22dbf27bd61f244e1419fd99cb6c.webp?v=1759371301"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/900e5081d4ae22dbf27bd61f244e1419fd99cb6c.webp?v=1759371301","width":2000},{"alt":null,"id":26113630208099,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef9d2f3be2114c4eae71336613c01ffd5e7f3480.webp?v=1759371301"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ef9d2f3be2114c4eae71336613c01ffd5e7f3480.webp?v=1759371301","width":2000},{"alt":null,"id":26113630404707,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c5fcfc0e8863438ed80636c3bbddd321dcc8558.webp?v=1759371302"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0c5fcfc0e8863438ed80636c3bbddd321dcc8558.webp?v=1759371302","width":2000},{"alt":null,"id":27825089904739,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e86a3ef694eddd78dd5414ea9347ee87b96a95c_b3b0a27a-cc9a-4f9b-956f-fe4a641819cb.webp?v=1784531579"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e86a3ef694eddd78dd5414ea9347ee87b96a95c_b3b0a27a-cc9a-4f9b-956f-fe4a641819cb.webp?v=1784531579","width":2000},{"alt":null,"id":27825090166883,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4357728d3ab9897aae4edbc4cc9d8ed9da14a56_29d68184-db6d-4e3b-a320-d11f30fd0f84.webp?v=1784531580"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4357728d3ab9897aae4edbc4cc9d8ed9da14a56_29d68184-db6d-4e3b-a320-d11f30fd0f84.webp?v=1784531580","width":2000},{"alt":null,"id":27825090527331,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f619becb585d679abff2d3fcc40c423fa12622c_f817cc8b-ddf3-40ba-9cc2-255ec91db203.webp?v=1784531588"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f619becb585d679abff2d3fcc40c423fa12622c_f817cc8b-ddf3-40ba-9cc2-255ec91db203.webp?v=1784531588","width":2000},{"alt":null,"id":27825091117155,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41add4e265d530d86dde15d10a61b0bbaba40e39_f4285d7e-c57c-4f60-9fff-9fbd8ed0d23e.webp?v=1784531592"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41add4e265d530d86dde15d10a61b0bbaba40e39_f4285d7e-c57c-4f60-9fff-9fbd8ed0d23e.webp?v=1784531592","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43756822691939,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"SST01228Z9-AAR03","requires_shipping":true,"taxable":true,"featured_image":{"id":36321142374499,"product_id":7892700659811,"position":10,"created_at":"2026-07-20T15:12:57+08:00","updated_at":"2026-07-20T15:12:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e86a3ef694eddd78dd5414ea9347ee87b96a95c_b3b0a27a-cc9a-4f9b-956f-fe4a641819cb.webp?v=1784531579","variant_ids":[43756822691939]},"available":true,"name":"iPhone 13 mini SolidSuit Aaron Chang Skaterboy - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228Z9-AAR03","featured_media":{"alt":null,"id":27825089904739,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e86a3ef694eddd78dd5414ea9347ee87b96a95c_b3b0a27a-cc9a-4f9b-956f-fe4a641819cb.webp?v=1784531579"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756822724707,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0122852-AAR03","requires_shipping":true,"taxable":true,"featured_image":{"id":36321143586915,"product_id":7892700659811,"position":13,"created_at":"2026-07-20T15:13:09+08:00","updated_at":"2026-07-20T15:13:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41add4e265d530d86dde15d10a61b0bbaba40e39_f4285d7e-c57c-4f60-9fff-9fbd8ed0d23e.webp?v=1784531592","variant_ids":[43756822724707]},"available":true,"name":"iPhone 13 mini SolidSuit Aaron Chang Skaterboy - Black","public_title":"Black","options":["Black"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0122852-AAR03","featured_media":{"alt":null,"id":27825091117155,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/41add4e265d530d86dde15d10a61b0bbaba40e39_f4285d7e-c57c-4f60-9fff-9fbd8ed0d23e.webp?v=1784531592"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756822757475,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"SST01228O8-AAR03","requires_shipping":true,"taxable":true,"featured_image":{"id":36321142636643,"product_id":7892700659811,"position":11,"created_at":"2026-07-20T15:12:58+08:00","updated_at":"2026-07-20T15:13:00+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4357728d3ab9897aae4edbc4cc9d8ed9da14a56_29d68184-db6d-4e3b-a320-d11f30fd0f84.webp?v=1784531580","variant_ids":[43756822757475]},"available":true,"name":"iPhone 13 mini SolidSuit Aaron Chang Skaterboy - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228O8-AAR03","featured_media":{"alt":null,"id":27825090166883,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a4357728d3ab9897aae4edbc4cc9d8ed9da14a56_29d68184-db6d-4e3b-a320-d11f30fd0f84.webp?v=1784531580"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43756822790243,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"SST01228Z8-AAR03","requires_shipping":true,"taxable":true,"featured_image":{"id":36321142997091,"product_id":7892700659811,"position":12,"created_at":"2026-07-20T15:13:06+08:00","updated_at":"2026-07-20T15:13:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f619becb585d679abff2d3fcc40c423fa12622c_f817cc8b-ddf3-40ba-9cc2-255ec91db203.webp?v=1784531588","variant_ids":[43756822790243]},"available":true,"name":"iPhone 13 mini SolidSuit Aaron Chang Skaterboy - Seaweed Green","public_title":"Seaweed Green","options":["Seaweed Green"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228Z8-AAR03","featured_media":{"alt":null,"id":27825090527331,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8f619becb585d679abff2d3fcc40c423fa12622c_f817cc8b-ddf3-40ba-9cc2-255ec91db203.webp?v=1784531588"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43756822691939,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"SST01228Z9-AAR03","requires_shipping":true,"taxable":true,"featured_image":{"id":36321142374499,"product_id":7892700659811,"position":10,"created_at":"2026-07-20T15:12:57+08:00","updated_at":"2026-07-20T15:12:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e86a3ef694eddd78dd5414ea9347ee87b96a95c_b3b0a27a-cc9a-4f9b-956f-fe4a641819cb.webp?v=1784531579","variant_ids":[43756822691939]},"available":true,"name":"iPhone 13 mini SolidSuit Aaron Chang Skaterboy - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01228Z9-AAR03","featured_media":{"alt":null,"id":27825089904739,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2e86a3ef694eddd78dd5414ea9347ee87b96a95c_b3b0a27a-cc9a-4f9b-956f-fe4a641819cb.webp?v=1784531579"}},"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: "停產" }