$product = {"id":7921144463459,"title":"iPhone 15 Plus SolidX Incrediville 怪奇事物所 公園裡的格爾尼卡","handle":"iphone-15-plus-solidx-hd72","description":null,"published_at":"2025-11-13T09:47:44+08:00","created_at":"2025-11-11T09:49:10+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":43830938108003,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-HD72","requires_shipping":true,"taxable":true,"featured_image":{"id":34793930915939,"product_id":7921144463459,"position":15,"created_at":"2025-11-13T09:28:20+08:00","updated_at":"2025-11-13T09:28:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb91af2afd62c84791374f2396328b53408805bb_26c7ef99-aab2-473d-bba8-966c2fb194e8.webp?v=1762997302","variant_ids":[43830938108003]},"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-HD72","featured_media":{"alt":null,"id":26359351214179,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb91af2afd62c84791374f2396328b53408805bb_26c7ef99-aab2-473d-bba8-966c2fb194e8.webp?v=1762997302"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43830940565603,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-HD72","requires_shipping":true,"taxable":true,"featured_image":{"id":34793931178083,"product_id":7921144463459,"position":16,"created_at":"2025-11-13T09:28:21+08:00","updated_at":"2025-11-13T09:28:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/901d24190f8f5a8d6b7932b81610549449a8b4f5_815790c1-3f57-4725-b6ca-5d767f192d37.webp?v=1762997303","variant_ids":[43830940565603]},"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-HD72","featured_media":{"alt":null,"id":26359351476323,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/901d24190f8f5a8d6b7932b81610549449a8b4f5_815790c1-3f57-4725-b6ca-5d767f192d37.webp?v=1762997303"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa4f8640884a94585d279ffd443b4a7b1b13d692.webp?v=1762825757","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/754d855c98516e395552c332db918783dd2e70ec.webp?v=1762825758","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/307e754a2cdb39ddd753a276a4e1b0fabbee7d41.webp?v=1762825758","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f03b6da069a092cc32a55dff6c8758daeb50a08f.webp?v=1762825759","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/901d24190f8f5a8d6b7932b81610549449a8b4f5.webp?v=1762825759","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6edf90749e4bc1f25d8d6ebad69b3803662daa0.webp?v=1762825761","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb91af2afd62c84791374f2396328b53408805bb.webp?v=1762825761","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44fc7edc9a59a429b79d32ffccc739d8471b0cf6.webp?v=1762825762","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5d51cdcf2fdbbedca7d06e52cfb969b1d66b8c5.webp?v=1762825763","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0aecff1ff3e6c25456d03a0c9078589d4d487da.webp?v=1762825763","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa4f8640884a94585d279ffd443b4a7b1b13d692_7826dc34-cb39-476b-97d6-9cafcb758ef7.webp?v=1762997299","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5d51cdcf2fdbbedca7d06e52cfb969b1d66b8c5_c9f0497e-01c0-473a-9d88-e090aedc09d8.webp?v=1762997300","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6edf90749e4bc1f25d8d6ebad69b3803662daa0_e3c2bcb5-b41c-46c2-8660-bdf5933ecbb4.webp?v=1762997300","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44fc7edc9a59a429b79d32ffccc739d8471b0cf6_568741d1-1c87-4b70-b9c1-8c8eeff55793.webp?v=1762997301","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb91af2afd62c84791374f2396328b53408805bb_26c7ef99-aab2-473d-bba8-966c2fb194e8.webp?v=1762997302","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/901d24190f8f5a8d6b7932b81610549449a8b4f5_815790c1-3f57-4725-b6ca-5d767f192d37.webp?v=1762997303","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/307e754a2cdb39ddd753a276a4e1b0fabbee7d41_ad745530-0e9c-445a-bd1a-0b36075dc1e8.webp?v=1762997303","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f03b6da069a092cc32a55dff6c8758daeb50a08f_65b416d5-922d-433a-9d70-d3d933eb5ee5.webp?v=1762997304","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0aecff1ff3e6c25456d03a0c9078589d4d487da_80eebe83-2dac-475d-8620-513713858c32.webp?v=1762997305","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/754d855c98516e395552c332db918783dd2e70ec_0557423b-f5a5-4b7f-9bca-aa8a43e2725b.webp?v=1762997306"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa4f8640884a94585d279ffd443b4a7b1b13d692.webp?v=1762825757","options":["color"],"media":[{"alt":null,"id":26351697887331,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa4f8640884a94585d279ffd443b4a7b1b13d692.webp?v=1762825757"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa4f8640884a94585d279ffd443b4a7b1b13d692.webp?v=1762825757","width":2000},{"alt":null,"id":26351698051171,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/754d855c98516e395552c332db918783dd2e70ec.webp?v=1762825758"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/754d855c98516e395552c332db918783dd2e70ec.webp?v=1762825758","width":2000},{"alt":null,"id":26351698215011,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/307e754a2cdb39ddd753a276a4e1b0fabbee7d41.webp?v=1762825758"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/307e754a2cdb39ddd753a276a4e1b0fabbee7d41.webp?v=1762825758","width":2000},{"alt":null,"id":26351698346083,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f03b6da069a092cc32a55dff6c8758daeb50a08f.webp?v=1762825759"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f03b6da069a092cc32a55dff6c8758daeb50a08f.webp?v=1762825759","width":2000},{"alt":null,"id":26351698640995,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/901d24190f8f5a8d6b7932b81610549449a8b4f5.webp?v=1762825759"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/901d24190f8f5a8d6b7932b81610549449a8b4f5.webp?v=1762825759","width":2000},{"alt":null,"id":26351699198051,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6edf90749e4bc1f25d8d6ebad69b3803662daa0.webp?v=1762825761"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6edf90749e4bc1f25d8d6ebad69b3803662daa0.webp?v=1762825761","width":2000},{"alt":null,"id":26351699329123,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb91af2afd62c84791374f2396328b53408805bb.webp?v=1762825761"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb91af2afd62c84791374f2396328b53408805bb.webp?v=1762825761","width":2000},{"alt":null,"id":26351699525731,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44fc7edc9a59a429b79d32ffccc739d8471b0cf6.webp?v=1762825762"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44fc7edc9a59a429b79d32ffccc739d8471b0cf6.webp?v=1762825762","width":2000},{"alt":null,"id":26351699689571,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5d51cdcf2fdbbedca7d06e52cfb969b1d66b8c5.webp?v=1762825763"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5d51cdcf2fdbbedca7d06e52cfb969b1d66b8c5.webp?v=1762825763","width":2000},{"alt":null,"id":26351699820643,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0aecff1ff3e6c25456d03a0c9078589d4d487da.webp?v=1762825763"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0aecff1ff3e6c25456d03a0c9078589d4d487da.webp?v=1762825763","width":2000},{"alt":null,"id":26359350722659,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa4f8640884a94585d279ffd443b4a7b1b13d692_7826dc34-cb39-476b-97d6-9cafcb758ef7.webp?v=1762997299"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fa4f8640884a94585d279ffd443b4a7b1b13d692_7826dc34-cb39-476b-97d6-9cafcb758ef7.webp?v=1762997299","width":2000},{"alt":null,"id":26359350820963,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5d51cdcf2fdbbedca7d06e52cfb969b1d66b8c5_c9f0497e-01c0-473a-9d88-e090aedc09d8.webp?v=1762997300"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c5d51cdcf2fdbbedca7d06e52cfb969b1d66b8c5_c9f0497e-01c0-473a-9d88-e090aedc09d8.webp?v=1762997300","width":2000},{"alt":null,"id":26359350952035,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6edf90749e4bc1f25d8d6ebad69b3803662daa0_e3c2bcb5-b41c-46c2-8660-bdf5933ecbb4.webp?v=1762997300"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d6edf90749e4bc1f25d8d6ebad69b3803662daa0_e3c2bcb5-b41c-46c2-8660-bdf5933ecbb4.webp?v=1762997300","width":2000},{"alt":null,"id":26359351050339,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44fc7edc9a59a429b79d32ffccc739d8471b0cf6_568741d1-1c87-4b70-b9c1-8c8eeff55793.webp?v=1762997301"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/44fc7edc9a59a429b79d32ffccc739d8471b0cf6_568741d1-1c87-4b70-b9c1-8c8eeff55793.webp?v=1762997301","width":2000},{"alt":null,"id":26359351214179,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb91af2afd62c84791374f2396328b53408805bb_26c7ef99-aab2-473d-bba8-966c2fb194e8.webp?v=1762997302"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb91af2afd62c84791374f2396328b53408805bb_26c7ef99-aab2-473d-bba8-966c2fb194e8.webp?v=1762997302","width":2000},{"alt":null,"id":26359351476323,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/901d24190f8f5a8d6b7932b81610549449a8b4f5_815790c1-3f57-4725-b6ca-5d767f192d37.webp?v=1762997303"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/901d24190f8f5a8d6b7932b81610549449a8b4f5_815790c1-3f57-4725-b6ca-5d767f192d37.webp?v=1762997303","width":2000},{"alt":null,"id":26359351771235,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/307e754a2cdb39ddd753a276a4e1b0fabbee7d41_ad745530-0e9c-445a-bd1a-0b36075dc1e8.webp?v=1762997303"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/307e754a2cdb39ddd753a276a4e1b0fabbee7d41_ad745530-0e9c-445a-bd1a-0b36075dc1e8.webp?v=1762997303","width":2000},{"alt":null,"id":26359352033379,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f03b6da069a092cc32a55dff6c8758daeb50a08f_65b416d5-922d-433a-9d70-d3d933eb5ee5.webp?v=1762997304"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f03b6da069a092cc32a55dff6c8758daeb50a08f_65b416d5-922d-433a-9d70-d3d933eb5ee5.webp?v=1762997304","width":2000},{"alt":null,"id":26359352295523,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0aecff1ff3e6c25456d03a0c9078589d4d487da_80eebe83-2dac-475d-8620-513713858c32.webp?v=1762997305"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f0aecff1ff3e6c25456d03a0c9078589d4d487da_80eebe83-2dac-475d-8620-513713858c32.webp?v=1762997305","width":2000},{"alt":null,"id":26359352655971,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/754d855c98516e395552c332db918783dd2e70ec_0557423b-f5a5-4b7f-9bca-aa8a43e2725b.webp?v=1762997306"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/754d855c98516e395552c332db918783dd2e70ec_0557423b-f5a5-4b7f-9bca-aa8a43e2725b.webp?v=1762997306","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43830938108003,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-HD72","requires_shipping":true,"taxable":true,"featured_image":{"id":34793930915939,"product_id":7921144463459,"position":15,"created_at":"2025-11-13T09:28:20+08:00","updated_at":"2025-11-13T09:28:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb91af2afd62c84791374f2396328b53408805bb_26c7ef99-aab2-473d-bba8-966c2fb194e8.webp?v=1762997302","variant_ids":[43830938108003]},"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-HD72","featured_media":{"alt":null,"id":26359351214179,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb91af2afd62c84791374f2396328b53408805bb_26c7ef99-aab2-473d-bba8-966c2fb194e8.webp?v=1762997302"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43830940565603,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-HD72","requires_shipping":true,"taxable":true,"featured_image":{"id":34793931178083,"product_id":7921144463459,"position":16,"created_at":"2025-11-13T09:28:21+08:00","updated_at":"2025-11-13T09:28:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/901d24190f8f5a8d6b7932b81610549449a8b4f5_815790c1-3f57-4725-b6ca-5d767f192d37.webp?v=1762997303","variant_ids":[43830940565603]},"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-HD72","featured_media":{"alt":null,"id":26359351476323,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/901d24190f8f5a8d6b7932b81610549449a8b4f5_815790c1-3f57-4725-b6ca-5d767f192d37.webp?v=1762997303"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43830938108003,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-HD72","requires_shipping":true,"taxable":true,"featured_image":{"id":34793930915939,"product_id":7921144463459,"position":15,"created_at":"2025-11-13T09:28:20+08:00","updated_at":"2025-11-13T09:28:22+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb91af2afd62c84791374f2396328b53408805bb_26c7ef99-aab2-473d-bba8-966c2fb194e8.webp?v=1762997302","variant_ids":[43830938108003]},"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-HD72","featured_media":{"alt":null,"id":26359351214179,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bb91af2afd62c84791374f2396328b53408805bb_26c7ef99-aab2-473d-bba8-966c2fb194e8.webp?v=1762997302"}},"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: "停產" }