$product = {"id":7920215752803,"title":"iPhone 15 Plus SolidX Incrediville 怪奇事物所 所長的星際迷航","handle":"iphone-15-plus-solidx-hd71","description":null,"published_at":"2025-11-13T09:53:55+08:00","created_at":"2025-11-10T10:12:48+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-incrediville","device-iPhone 15 Plus","merge","reseller-incrediville"],"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":43827946651747,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-HD71","requires_shipping":true,"taxable":true,"featured_image":{"id":34786151235683,"product_id":7920215752803,"position":15,"created_at":"2025-11-11T09:45:02+08:00","updated_at":"2025-11-11T09:45:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c721864b875c3040dada93f00875506dd4a995fd_aad2a1c0-7633-4c2e-802b-aafabcfea600.webp?v=1762825505","variant_ids":[43827946651747]},"available":true,"name":"iPhone 15 Plus SolidX Incrediville 怪奇事物所 所長的星際迷航 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST012960B-HD71","featured_media":{"alt":null,"id":26351608365155,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c721864b875c3040dada93f00875506dd4a995fd_aad2a1c0-7633-4c2e-802b-aafabcfea600.webp?v=1762825505"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43827949469795,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-HD71","requires_shipping":true,"taxable":true,"featured_image":{"id":34786149498979,"product_id":7920215752803,"position":11,"created_at":"2025-11-11T09:45:00+08:00","updated_at":"2025-11-11T09:45:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ee5eb9bec3468d72668308c86e825800d8e328a_9d096932-f129-48e2-bad9-f79eb82495d0.webp?v=1762825502","variant_ids":[43827949469795]},"available":true,"name":"iPhone 15 Plus SolidX Incrediville 怪奇事物所 所長的星際迷航 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129652-HD71","featured_media":{"alt":null,"id":26351606530147,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ee5eb9bec3468d72668308c86e825800d8e328a_9d096932-f129-48e2-bad9-f79eb82495d0.webp?v=1762825502"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e7bdfcd5ee79a71631cca2d0bf49969c7d938ae.webp?v=1762740775","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e4f8987f6662d63422caa599372b8d084742226.webp?v=1762740776","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7621827a0c0cfb601fa615befabee3e056d96a8b.webp?v=1762740776","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f03de24acb3df0ea101c0ea91e008a5f5fae41cb.webp?v=1762740778","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c721864b875c3040dada93f00875506dd4a995fd.webp?v=1762740778","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7459cd6e39eaf8760e3c954630f9ec0d708b5e4.webp?v=1762740779","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5699e3ef1537f0f242e5694d9f611241c0fe5b3.webp?v=1762740780","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ee5eb9bec3468d72668308c86e825800d8e328a.webp?v=1762740780","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5968978450df692befc416e5340550f94793eb39.webp?v=1762740781","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3e1a67329595a28ab8d58d2150c71be7c7ceb2c.webp?v=1762740782","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ee5eb9bec3468d72668308c86e825800d8e328a_9d096932-f129-48e2-bad9-f79eb82495d0.webp?v=1762825502","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3e1a67329595a28ab8d58d2150c71be7c7ceb2c_16b7af03-4c90-4691-9a37-024c2ddb1b04.webp?v=1762825503","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5968978450df692befc416e5340550f94793eb39_8a5243bd-2a29-4046-92d3-b3ce84b4abeb.webp?v=1762825503","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f03de24acb3df0ea101c0ea91e008a5f5fae41cb_3dac365b-0548-4d0a-98d2-d12f50d5eaa3.webp?v=1762825505","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c721864b875c3040dada93f00875506dd4a995fd_aad2a1c0-7633-4c2e-802b-aafabcfea600.webp?v=1762825505","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e4f8987f6662d63422caa599372b8d084742226_dccafd7a-34ce-43a4-ad8c-cac52b1a7a74.webp?v=1762825505","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e7bdfcd5ee79a71631cca2d0bf49969c7d938ae_3baab4b2-4e1a-443c-9964-e008c0f9696e.webp?v=1762825506","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7621827a0c0cfb601fa615befabee3e056d96a8b_8c5c8606-4ddb-4dde-94d3-23527029a298.webp?v=1762825507","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7459cd6e39eaf8760e3c954630f9ec0d708b5e4_6312bc43-3dd4-42db-91fd-a874b33569f3.webp?v=1762825507","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5699e3ef1537f0f242e5694d9f611241c0fe5b3_5810d64d-8e7b-4c9e-9e60-904fca99b7be.webp?v=1762825508"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e7bdfcd5ee79a71631cca2d0bf49969c7d938ae.webp?v=1762740775","options":["color"],"media":[{"alt":null,"id":26346448945251,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e7bdfcd5ee79a71631cca2d0bf49969c7d938ae.webp?v=1762740775"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e7bdfcd5ee79a71631cca2d0bf49969c7d938ae.webp?v=1762740775","width":2000},{"alt":null,"id":26346449207395,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e4f8987f6662d63422caa599372b8d084742226.webp?v=1762740776"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e4f8987f6662d63422caa599372b8d084742226.webp?v=1762740776","width":2000},{"alt":null,"id":26346449436771,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7621827a0c0cfb601fa615befabee3e056d96a8b.webp?v=1762740776"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7621827a0c0cfb601fa615befabee3e056d96a8b.webp?v=1762740776","width":2000},{"alt":null,"id":26346449698915,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f03de24acb3df0ea101c0ea91e008a5f5fae41cb.webp?v=1762740778"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f03de24acb3df0ea101c0ea91e008a5f5fae41cb.webp?v=1762740778","width":2000},{"alt":null,"id":26346449961059,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c721864b875c3040dada93f00875506dd4a995fd.webp?v=1762740778"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c721864b875c3040dada93f00875506dd4a995fd.webp?v=1762740778","width":2000},{"alt":null,"id":26346450092131,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7459cd6e39eaf8760e3c954630f9ec0d708b5e4.webp?v=1762740779"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7459cd6e39eaf8760e3c954630f9ec0d708b5e4.webp?v=1762740779","width":2000},{"alt":null,"id":26346450223203,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5699e3ef1537f0f242e5694d9f611241c0fe5b3.webp?v=1762740780"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5699e3ef1537f0f242e5694d9f611241c0fe5b3.webp?v=1762740780","width":2000},{"alt":null,"id":26346450419811,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ee5eb9bec3468d72668308c86e825800d8e328a.webp?v=1762740780"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ee5eb9bec3468d72668308c86e825800d8e328a.webp?v=1762740780","width":2000},{"alt":null,"id":26346450616419,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5968978450df692befc416e5340550f94793eb39.webp?v=1762740781"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5968978450df692befc416e5340550f94793eb39.webp?v=1762740781","width":2000},{"alt":null,"id":26346450780259,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3e1a67329595a28ab8d58d2150c71be7c7ceb2c.webp?v=1762740782"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3e1a67329595a28ab8d58d2150c71be7c7ceb2c.webp?v=1762740782","width":2000},{"alt":null,"id":26351606530147,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ee5eb9bec3468d72668308c86e825800d8e328a_9d096932-f129-48e2-bad9-f79eb82495d0.webp?v=1762825502"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ee5eb9bec3468d72668308c86e825800d8e328a_9d096932-f129-48e2-bad9-f79eb82495d0.webp?v=1762825502","width":2000},{"alt":null,"id":26351606923363,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3e1a67329595a28ab8d58d2150c71be7c7ceb2c_16b7af03-4c90-4691-9a37-024c2ddb1b04.webp?v=1762825503"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c3e1a67329595a28ab8d58d2150c71be7c7ceb2c_16b7af03-4c90-4691-9a37-024c2ddb1b04.webp?v=1762825503","width":2000},{"alt":null,"id":26351607480419,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5968978450df692befc416e5340550f94793eb39_8a5243bd-2a29-4046-92d3-b3ce84b4abeb.webp?v=1762825503"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5968978450df692befc416e5340550f94793eb39_8a5243bd-2a29-4046-92d3-b3ce84b4abeb.webp?v=1762825503","width":2000},{"alt":null,"id":26351608004707,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f03de24acb3df0ea101c0ea91e008a5f5fae41cb_3dac365b-0548-4d0a-98d2-d12f50d5eaa3.webp?v=1762825505"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f03de24acb3df0ea101c0ea91e008a5f5fae41cb_3dac365b-0548-4d0a-98d2-d12f50d5eaa3.webp?v=1762825505","width":2000},{"alt":null,"id":26351608365155,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c721864b875c3040dada93f00875506dd4a995fd_aad2a1c0-7633-4c2e-802b-aafabcfea600.webp?v=1762825505"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c721864b875c3040dada93f00875506dd4a995fd_aad2a1c0-7633-4c2e-802b-aafabcfea600.webp?v=1762825505","width":2000},{"alt":null,"id":26351608594531,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e4f8987f6662d63422caa599372b8d084742226_dccafd7a-34ce-43a4-ad8c-cac52b1a7a74.webp?v=1762825505"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4e4f8987f6662d63422caa599372b8d084742226_dccafd7a-34ce-43a4-ad8c-cac52b1a7a74.webp?v=1762825505","width":2000},{"alt":null,"id":26351608823907,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e7bdfcd5ee79a71631cca2d0bf49969c7d938ae_3baab4b2-4e1a-443c-9964-e008c0f9696e.webp?v=1762825506"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e7bdfcd5ee79a71631cca2d0bf49969c7d938ae_3baab4b2-4e1a-443c-9964-e008c0f9696e.webp?v=1762825506","width":2000},{"alt":null,"id":26351608987747,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7621827a0c0cfb601fa615befabee3e056d96a8b_8c5c8606-4ddb-4dde-94d3-23527029a298.webp?v=1762825507"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7621827a0c0cfb601fa615befabee3e056d96a8b_8c5c8606-4ddb-4dde-94d3-23527029a298.webp?v=1762825507","width":2000},{"alt":null,"id":26351609151587,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7459cd6e39eaf8760e3c954630f9ec0d708b5e4_6312bc43-3dd4-42db-91fd-a874b33569f3.webp?v=1762825507"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c7459cd6e39eaf8760e3c954630f9ec0d708b5e4_6312bc43-3dd4-42db-91fd-a874b33569f3.webp?v=1762825507","width":2000},{"alt":null,"id":26351609282659,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5699e3ef1537f0f242e5694d9f611241c0fe5b3_5810d64d-8e7b-4c9e-9e60-904fca99b7be.webp?v=1762825508"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5699e3ef1537f0f242e5694d9f611241c0fe5b3_5810d64d-8e7b-4c9e-9e60-904fca99b7be.webp?v=1762825508","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43827946651747,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-HD71","requires_shipping":true,"taxable":true,"featured_image":{"id":34786151235683,"product_id":7920215752803,"position":15,"created_at":"2025-11-11T09:45:02+08:00","updated_at":"2025-11-11T09:45:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c721864b875c3040dada93f00875506dd4a995fd_aad2a1c0-7633-4c2e-802b-aafabcfea600.webp?v=1762825505","variant_ids":[43827946651747]},"available":true,"name":"iPhone 15 Plus SolidX Incrediville 怪奇事物所 所長的星際迷航 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST012960B-HD71","featured_media":{"alt":null,"id":26351608365155,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c721864b875c3040dada93f00875506dd4a995fd_aad2a1c0-7633-4c2e-802b-aafabcfea600.webp?v=1762825505"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43827949469795,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-HD71","requires_shipping":true,"taxable":true,"featured_image":{"id":34786149498979,"product_id":7920215752803,"position":11,"created_at":"2025-11-11T09:45:00+08:00","updated_at":"2025-11-11T09:45:02+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ee5eb9bec3468d72668308c86e825800d8e328a_9d096932-f129-48e2-bad9-f79eb82495d0.webp?v=1762825502","variant_ids":[43827949469795]},"available":true,"name":"iPhone 15 Plus SolidX Incrediville 怪奇事物所 所長的星際迷航 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129652-HD71","featured_media":{"alt":null,"id":26351606530147,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ee5eb9bec3468d72668308c86e825800d8e328a_9d096932-f129-48e2-bad9-f79eb82495d0.webp?v=1762825502"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43827946651747,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-HD71","requires_shipping":true,"taxable":true,"featured_image":{"id":34786151235683,"product_id":7920215752803,"position":15,"created_at":"2025-11-11T09:45:02+08:00","updated_at":"2025-11-11T09:45:05+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c721864b875c3040dada93f00875506dd4a995fd_aad2a1c0-7633-4c2e-802b-aafabcfea600.webp?v=1762825505","variant_ids":[43827946651747]},"available":true,"name":"iPhone 15 Plus SolidX Incrediville 怪奇事物所 所長的星際迷航 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST012960B-HD71","featured_media":{"alt":null,"id":26351608365155,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c721864b875c3040dada93f00875506dd4a995fd_aad2a1c0-7633-4c2e-802b-aafabcfea600.webp?v=1762825505"}},"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: "停產" }