$product = {"id":7981828571235,"title":"iPhone 13 mini SolidSuit 大人の図鑑 兔子編","handle":"iphone-13-mini-solidsuit-classic-lnw72","description":null,"published_at":"2026-03-18T16:57:21+08:00","created_at":"2026-03-18T15:06:56+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-kamio","device-iPhone 13 Mini","merge","reseller-kamio"],"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":44067064381539,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0122852-LNW72","requires_shipping":true,"taxable":true,"featured_image":{"id":36145965760611,"product_id":7981828571235,"position":10,"created_at":"2026-07-01T15:35:20+08:00","updated_at":"2026-07-01T15:35:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f88fba67595adbf6522b053eb099a2b6395e41ab_1ffa88c9-8f12-4cb2-90ce-5fbd9732daba.webp?v=1782891322","variant_ids":[44067064381539]},"available":true,"name":"iPhone 13 mini SolidSuit 大人の図鑑 兔子編 - 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-LNW72","featured_media":{"alt":null,"id":27650852454499,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f88fba67595adbf6522b053eb099a2b6395e41ab_1ffa88c9-8f12-4cb2-90ce-5fbd9732daba.webp?v=1782891322"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44067073917027,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"SST01228Z9-LNW72","requires_shipping":true,"taxable":true,"featured_image":{"id":36145966743651,"product_id":7981828571235,"position":13,"created_at":"2026-07-01T15:35:21+08:00","updated_at":"2026-07-01T15:35:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7c17a14d041fbbbf0d074b78855177c0cdd7dc9_69e79412-b82c-4cd5-9741-8ba11f57a769.webp?v=1782891324","variant_ids":[44067073917027]},"available":true,"name":"iPhone 13 mini SolidSuit 大人の図鑑 兔子編 - 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-LNW72","featured_media":{"alt":null,"id":27650853437539,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7c17a14d041fbbbf0d074b78855177c0cdd7dc9_69e79412-b82c-4cd5-9741-8ba11f57a769.webp?v=1782891324"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44067074506851,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"SST01228Z8-LNW72","requires_shipping":true,"taxable":true,"featured_image":{"id":36145965465699,"product_id":7981828571235,"position":9,"created_at":"2026-07-01T15:35:19+08:00","updated_at":"2026-07-01T15:35:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d2956f356e7c2e6de3f4397e5a9c1cdb145ccbc_7ddafb64-374c-4cf1-b4d5-250daa725af8.webp?v=1782891322","variant_ids":[44067074506851]},"available":true,"name":"iPhone 13 mini SolidSuit 大人の図鑑 兔子編 - 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-LNW72","featured_media":{"alt":null,"id":27650852159587,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d2956f356e7c2e6de3f4397e5a9c1cdb145ccbc_7ddafb64-374c-4cf1-b4d5-250daa725af8.webp?v=1782891322"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44067075293283,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"SST01228O8-LNW72","requires_shipping":true,"taxable":true,"featured_image":{"id":36145966415971,"product_id":7981828571235,"position":12,"created_at":"2026-07-01T15:35:21+08:00","updated_at":"2026-07-01T15:35:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f050b6a605221fb3a16b871d84138ae10a930809_bdc849b8-3cf5-4539-8b90-9b004df5e2e7.webp?v=1782891323","variant_ids":[44067075293283]},"available":true,"name":"iPhone 13 mini SolidSuit 大人の図鑑 兔子編 - 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-LNW72","featured_media":{"alt":null,"id":27650853109859,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f050b6a605221fb3a16b871d84138ae10a930809_bdc849b8-3cf5-4539-8b90-9b004df5e2e7.webp?v=1782891323"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f050b6a605221fb3a16b871d84138ae10a930809.webp?v=1773817644","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d2956f356e7c2e6de3f4397e5a9c1cdb145ccbc.webp?v=1773817644","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3b7c398b26adaf137ba98342c72157b7867cf50.webp?v=1773817645","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9cfa3f4d88c961dc55b0c05dd2bf9a95af8225d.webp?v=1773817646","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f88fba67595adbf6522b053eb099a2b6395e41ab.webp?v=1773817647","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7c17a14d041fbbbf0d074b78855177c0cdd7dc9.webp?v=1773817648","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/629f6f32f2e6534ad916ac450457c1628f5e0421.webp?v=1773817648","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e59eef44175ed2bbba2f2c32384a8f10eea59597.webp?v=1773817649","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d2956f356e7c2e6de3f4397e5a9c1cdb145ccbc_7ddafb64-374c-4cf1-b4d5-250daa725af8.webp?v=1782891322","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f88fba67595adbf6522b053eb099a2b6395e41ab_1ffa88c9-8f12-4cb2-90ce-5fbd9732daba.webp?v=1782891322","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3b7c398b26adaf137ba98342c72157b7867cf50_bad071df-0642-4744-a349-277e118c69ae.webp?v=1782891323","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f050b6a605221fb3a16b871d84138ae10a930809_bdc849b8-3cf5-4539-8b90-9b004df5e2e7.webp?v=1782891323","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7c17a14d041fbbbf0d074b78855177c0cdd7dc9_69e79412-b82c-4cd5-9741-8ba11f57a769.webp?v=1782891324"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f050b6a605221fb3a16b871d84138ae10a930809.webp?v=1773817644","options":["color"],"media":[{"alt":null,"id":27035035304035,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f050b6a605221fb3a16b871d84138ae10a930809.webp?v=1773817644"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f050b6a605221fb3a16b871d84138ae10a930809.webp?v=1773817644","width":2000},{"alt":null,"id":27035035697251,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d2956f356e7c2e6de3f4397e5a9c1cdb145ccbc.webp?v=1773817644"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d2956f356e7c2e6de3f4397e5a9c1cdb145ccbc.webp?v=1773817644","width":2000},{"alt":null,"id":27035036156003,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3b7c398b26adaf137ba98342c72157b7867cf50.webp?v=1773817645"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3b7c398b26adaf137ba98342c72157b7867cf50.webp?v=1773817645","width":2000},{"alt":null,"id":27035036680291,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9cfa3f4d88c961dc55b0c05dd2bf9a95af8225d.webp?v=1773817646"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9cfa3f4d88c961dc55b0c05dd2bf9a95af8225d.webp?v=1773817646","width":2000},{"alt":null,"id":27035037139043,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f88fba67595adbf6522b053eb099a2b6395e41ab.webp?v=1773817647"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f88fba67595adbf6522b053eb099a2b6395e41ab.webp?v=1773817647","width":2000},{"alt":null,"id":27035037696099,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7c17a14d041fbbbf0d074b78855177c0cdd7dc9.webp?v=1773817648"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7c17a14d041fbbbf0d074b78855177c0cdd7dc9.webp?v=1773817648","width":2000},{"alt":null,"id":27035038220387,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/629f6f32f2e6534ad916ac450457c1628f5e0421.webp?v=1773817648"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/629f6f32f2e6534ad916ac450457c1628f5e0421.webp?v=1773817648","width":2000},{"alt":null,"id":27035038875747,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e59eef44175ed2bbba2f2c32384a8f10eea59597.webp?v=1773817649"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e59eef44175ed2bbba2f2c32384a8f10eea59597.webp?v=1773817649","width":2000},{"alt":null,"id":27650852159587,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d2956f356e7c2e6de3f4397e5a9c1cdb145ccbc_7ddafb64-374c-4cf1-b4d5-250daa725af8.webp?v=1782891322"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d2956f356e7c2e6de3f4397e5a9c1cdb145ccbc_7ddafb64-374c-4cf1-b4d5-250daa725af8.webp?v=1782891322","width":2000},{"alt":null,"id":27650852454499,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f88fba67595adbf6522b053eb099a2b6395e41ab_1ffa88c9-8f12-4cb2-90ce-5fbd9732daba.webp?v=1782891322"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f88fba67595adbf6522b053eb099a2b6395e41ab_1ffa88c9-8f12-4cb2-90ce-5fbd9732daba.webp?v=1782891322","width":2000},{"alt":null,"id":27650852749411,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3b7c398b26adaf137ba98342c72157b7867cf50_bad071df-0642-4744-a349-277e118c69ae.webp?v=1782891323"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a3b7c398b26adaf137ba98342c72157b7867cf50_bad071df-0642-4744-a349-277e118c69ae.webp?v=1782891323","width":2000},{"alt":null,"id":27650853109859,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f050b6a605221fb3a16b871d84138ae10a930809_bdc849b8-3cf5-4539-8b90-9b004df5e2e7.webp?v=1782891323"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f050b6a605221fb3a16b871d84138ae10a930809_bdc849b8-3cf5-4539-8b90-9b004df5e2e7.webp?v=1782891323","width":2000},{"alt":null,"id":27650853437539,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7c17a14d041fbbbf0d074b78855177c0cdd7dc9_69e79412-b82c-4cd5-9741-8ba11f57a769.webp?v=1782891324"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7c17a14d041fbbbf0d074b78855177c0cdd7dc9_69e79412-b82c-4cd5-9741-8ba11f57a769.webp?v=1782891324","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44067064381539,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0122852-LNW72","requires_shipping":true,"taxable":true,"featured_image":{"id":36145965760611,"product_id":7981828571235,"position":10,"created_at":"2026-07-01T15:35:20+08:00","updated_at":"2026-07-01T15:35:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f88fba67595adbf6522b053eb099a2b6395e41ab_1ffa88c9-8f12-4cb2-90ce-5fbd9732daba.webp?v=1782891322","variant_ids":[44067064381539]},"available":true,"name":"iPhone 13 mini SolidSuit 大人の図鑑 兔子編 - 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-LNW72","featured_media":{"alt":null,"id":27650852454499,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f88fba67595adbf6522b053eb099a2b6395e41ab_1ffa88c9-8f12-4cb2-90ce-5fbd9732daba.webp?v=1782891322"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44067073917027,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"SST01228Z9-LNW72","requires_shipping":true,"taxable":true,"featured_image":{"id":36145966743651,"product_id":7981828571235,"position":13,"created_at":"2026-07-01T15:35:21+08:00","updated_at":"2026-07-01T15:35:24+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7c17a14d041fbbbf0d074b78855177c0cdd7dc9_69e79412-b82c-4cd5-9741-8ba11f57a769.webp?v=1782891324","variant_ids":[44067073917027]},"available":true,"name":"iPhone 13 mini SolidSuit 大人の図鑑 兔子編 - 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-LNW72","featured_media":{"alt":null,"id":27650853437539,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a7c17a14d041fbbbf0d074b78855177c0cdd7dc9_69e79412-b82c-4cd5-9741-8ba11f57a769.webp?v=1782891324"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44067074506851,"title":"Seaweed Green","option1":"Seaweed Green","option2":null,"option3":null,"sku":"SST01228Z8-LNW72","requires_shipping":true,"taxable":true,"featured_image":{"id":36145965465699,"product_id":7981828571235,"position":9,"created_at":"2026-07-01T15:35:19+08:00","updated_at":"2026-07-01T15:35:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d2956f356e7c2e6de3f4397e5a9c1cdb145ccbc_7ddafb64-374c-4cf1-b4d5-250daa725af8.webp?v=1782891322","variant_ids":[44067074506851]},"available":true,"name":"iPhone 13 mini SolidSuit 大人の図鑑 兔子編 - 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-LNW72","featured_media":{"alt":null,"id":27650852159587,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d2956f356e7c2e6de3f4397e5a9c1cdb145ccbc_7ddafb64-374c-4cf1-b4d5-250daa725af8.webp?v=1782891322"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44067075293283,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"SST01228O8-LNW72","requires_shipping":true,"taxable":true,"featured_image":{"id":36145966415971,"product_id":7981828571235,"position":12,"created_at":"2026-07-01T15:35:21+08:00","updated_at":"2026-07-01T15:35:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f050b6a605221fb3a16b871d84138ae10a930809_bdc849b8-3cf5-4539-8b90-9b004df5e2e7.webp?v=1782891323","variant_ids":[44067075293283]},"available":true,"name":"iPhone 13 mini SolidSuit 大人の図鑑 兔子編 - 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-LNW72","featured_media":{"alt":null,"id":27650853109859,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f050b6a605221fb3a16b871d84138ae10a930809_bdc849b8-3cf5-4539-8b90-9b004df5e2e7.webp?v=1782891323"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44067064381539,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0122852-LNW72","requires_shipping":true,"taxable":true,"featured_image":{"id":36145965760611,"product_id":7981828571235,"position":10,"created_at":"2026-07-01T15:35:20+08:00","updated_at":"2026-07-01T15:35:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f88fba67595adbf6522b053eb099a2b6395e41ab_1ffa88c9-8f12-4cb2-90ce-5fbd9732daba.webp?v=1782891322","variant_ids":[44067064381539]},"available":true,"name":"iPhone 13 mini SolidSuit 大人の図鑑 兔子編 - 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-LNW72","featured_media":{"alt":null,"id":27650852454499,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f88fba67595adbf6522b053eb099a2b6395e41ab_1ffa88c9-8f12-4cb2-90ce-5fbd9732daba.webp?v=1782891322"}},"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: "停產" }