$product = {"id":7968474529891,"title":"Galaxy S26 Ultra SolidX ilovedoodle Slophisticated 樹懶","handle":"samsung-galaxy-s26-ultra-solidx-xf14","description":null,"published_at":"2026-02-25T13:56:29+08:00","created_at":"2026-02-24T11:05:48+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Samsung","designer","designer-ilovedoodle","device-Galaxy S26 Ultra","merge","reseller-ilovedoodle"],"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":44020877787235,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0337452-XF14","requires_shipping":true,"taxable":true,"featured_image":{"id":35581596303459,"product_id":7968474529891,"position":10,"created_at":"2026-04-02T14:49:06+08:00","updated_at":"2026-04-02T14:49:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69221f4557297399d2d9476eb2df4121104b3a8f_2717b3b6-a50a-4edd-90d2-e24f531b5212.webp?v=1775112548","variant_ids":[44020877787235]},"available":true,"name":"Galaxy S26 Ultra SolidX ilovedoodle Slophisticated 樹懶 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0337452-XF14","featured_media":{"alt":null,"id":27114216423523,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69221f4557297399d2d9476eb2df4121104b3a8f_2717b3b6-a50a-4edd-90d2-e24f531b5212.webp?v=1775112548"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44020898463843,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST033740B-XF14","requires_shipping":true,"taxable":true,"featured_image":{"id":35581596762211,"product_id":7968474529891,"position":12,"created_at":"2026-04-02T14:49:07+08:00","updated_at":"2026-04-02T14:49:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d25cc6b1ddb09a726f5c3b12b927cc03bf08be9_c37bc94a-833d-4106-861e-b6098b66e5f9.webp?v=1775112549","variant_ids":[44020898463843]},"available":true,"name":"Galaxy S26 Ultra SolidX ilovedoodle Slophisticated 樹懶 - 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":"NST033740B-XF14","featured_media":{"alt":null,"id":27114216882275,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d25cc6b1ddb09a726f5c3b12b927cc03bf08be9_c37bc94a-833d-4106-861e-b6098b66e5f9.webp?v=1775112549"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44020899741795,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST03374O8-XF14","requires_shipping":true,"taxable":true,"featured_image":{"id":35581596041315,"product_id":7968474529891,"position":9,"created_at":"2026-04-02T14:49:05+08:00","updated_at":"2026-04-02T14:49:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d318980ce0b5e4f05950b37e32fa6e24af766ce_04be5e7c-18c5-4bbf-b67e-835db052af2d.webp?v=1775112547","variant_ids":[44020899741795]},"available":true,"name":"Galaxy S26 Ultra SolidX ilovedoodle Slophisticated 樹懶 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST03374O8-XF14","featured_media":{"alt":null,"id":27114216194147,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d318980ce0b5e4f05950b37e32fa6e24af766ce_04be5e7c-18c5-4bbf-b67e-835db052af2d.webp?v=1775112547"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44020902592611,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"NST033740C-XF14","requires_shipping":true,"taxable":true,"featured_image":{"id":35581596565603,"product_id":7968474529891,"position":11,"created_at":"2026-04-02T14:49:07+08:00","updated_at":"2026-04-02T14:49:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cebf51948bd9ae994af2c66a274758ba273c345e_ba3c80c0-2d26-4cfd-a42f-388ab5758363.webp?v=1775112548","variant_ids":[44020902592611]},"available":true,"name":"Galaxy S26 Ultra SolidX ilovedoodle Slophisticated 樹懶 - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST033740C-XF14","featured_media":{"alt":null,"id":27114216685667,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cebf51948bd9ae994af2c66a274758ba273c345e_ba3c80c0-2d26-4cfd-a42f-388ab5758363.webp?v=1775112548"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d25cc6b1ddb09a726f5c3b12b927cc03bf08be9.webp?v=1771902364","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69221f4557297399d2d9476eb2df4121104b3a8f.webp?v=1771902364","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cebf51948bd9ae994af2c66a274758ba273c345e.webp?v=1771902365","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d318980ce0b5e4f05950b37e32fa6e24af766ce.webp?v=1771902365","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69221f4557297399d2d9476eb2df4121104b3a8f_2e09c2bc-d17e-4857-b9a4-da3e83430cb5.webp?v=1774937366","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d25cc6b1ddb09a726f5c3b12b927cc03bf08be9_b146248a-3586-4885-8b50-445e8ec4856f.webp?v=1774937367","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cebf51948bd9ae994af2c66a274758ba273c345e_d124d5a6-4c74-4b4f-8cfc-cc80fcca0590.webp?v=1774937367","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d318980ce0b5e4f05950b37e32fa6e24af766ce_59515cf9-3400-4c68-99f1-960664b02f6b.webp?v=1774937368","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d318980ce0b5e4f05950b37e32fa6e24af766ce_04be5e7c-18c5-4bbf-b67e-835db052af2d.webp?v=1775112547","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69221f4557297399d2d9476eb2df4121104b3a8f_2717b3b6-a50a-4edd-90d2-e24f531b5212.webp?v=1775112548","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cebf51948bd9ae994af2c66a274758ba273c345e_ba3c80c0-2d26-4cfd-a42f-388ab5758363.webp?v=1775112548","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d25cc6b1ddb09a726f5c3b12b927cc03bf08be9_c37bc94a-833d-4106-861e-b6098b66e5f9.webp?v=1775112549"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d25cc6b1ddb09a726f5c3b12b927cc03bf08be9.webp?v=1771902364","options":["color"],"media":[{"alt":null,"id":26877634871395,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d25cc6b1ddb09a726f5c3b12b927cc03bf08be9.webp?v=1771902364"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d25cc6b1ddb09a726f5c3b12b927cc03bf08be9.webp?v=1771902364","width":2000},{"alt":null,"id":26877635625059,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69221f4557297399d2d9476eb2df4121104b3a8f.webp?v=1771902364"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69221f4557297399d2d9476eb2df4121104b3a8f.webp?v=1771902364","width":2000},{"alt":null,"id":26877636444259,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cebf51948bd9ae994af2c66a274758ba273c345e.webp?v=1771902365"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cebf51948bd9ae994af2c66a274758ba273c345e.webp?v=1771902365","width":2000},{"alt":null,"id":26877637623907,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d318980ce0b5e4f05950b37e32fa6e24af766ce.webp?v=1771902365"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d318980ce0b5e4f05950b37e32fa6e24af766ce.webp?v=1771902365","width":2000},{"alt":null,"id":27101590028387,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69221f4557297399d2d9476eb2df4121104b3a8f_2e09c2bc-d17e-4857-b9a4-da3e83430cb5.webp?v=1774937366"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69221f4557297399d2d9476eb2df4121104b3a8f_2e09c2bc-d17e-4857-b9a4-da3e83430cb5.webp?v=1774937366","width":2000},{"alt":null,"id":27101590192227,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d25cc6b1ddb09a726f5c3b12b927cc03bf08be9_b146248a-3586-4885-8b50-445e8ec4856f.webp?v=1774937367"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d25cc6b1ddb09a726f5c3b12b927cc03bf08be9_b146248a-3586-4885-8b50-445e8ec4856f.webp?v=1774937367","width":2000},{"alt":null,"id":27101590356067,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cebf51948bd9ae994af2c66a274758ba273c345e_d124d5a6-4c74-4b4f-8cfc-cc80fcca0590.webp?v=1774937367"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cebf51948bd9ae994af2c66a274758ba273c345e_d124d5a6-4c74-4b4f-8cfc-cc80fcca0590.webp?v=1774937367","width":2000},{"alt":null,"id":27101590552675,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d318980ce0b5e4f05950b37e32fa6e24af766ce_59515cf9-3400-4c68-99f1-960664b02f6b.webp?v=1774937368"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d318980ce0b5e4f05950b37e32fa6e24af766ce_59515cf9-3400-4c68-99f1-960664b02f6b.webp?v=1774937368","width":2000},{"alt":null,"id":27114216194147,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d318980ce0b5e4f05950b37e32fa6e24af766ce_04be5e7c-18c5-4bbf-b67e-835db052af2d.webp?v=1775112547"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d318980ce0b5e4f05950b37e32fa6e24af766ce_04be5e7c-18c5-4bbf-b67e-835db052af2d.webp?v=1775112547","width":2000},{"alt":null,"id":27114216423523,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69221f4557297399d2d9476eb2df4121104b3a8f_2717b3b6-a50a-4edd-90d2-e24f531b5212.webp?v=1775112548"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69221f4557297399d2d9476eb2df4121104b3a8f_2717b3b6-a50a-4edd-90d2-e24f531b5212.webp?v=1775112548","width":2000},{"alt":null,"id":27114216685667,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cebf51948bd9ae994af2c66a274758ba273c345e_ba3c80c0-2d26-4cfd-a42f-388ab5758363.webp?v=1775112548"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cebf51948bd9ae994af2c66a274758ba273c345e_ba3c80c0-2d26-4cfd-a42f-388ab5758363.webp?v=1775112548","width":2000},{"alt":null,"id":27114216882275,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d25cc6b1ddb09a726f5c3b12b927cc03bf08be9_c37bc94a-833d-4106-861e-b6098b66e5f9.webp?v=1775112549"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d25cc6b1ddb09a726f5c3b12b927cc03bf08be9_c37bc94a-833d-4106-861e-b6098b66e5f9.webp?v=1775112549","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":44020877787235,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0337452-XF14","requires_shipping":true,"taxable":true,"featured_image":{"id":35581596303459,"product_id":7968474529891,"position":10,"created_at":"2026-04-02T14:49:06+08:00","updated_at":"2026-04-02T14:49:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69221f4557297399d2d9476eb2df4121104b3a8f_2717b3b6-a50a-4edd-90d2-e24f531b5212.webp?v=1775112548","variant_ids":[44020877787235]},"available":true,"name":"Galaxy S26 Ultra SolidX ilovedoodle Slophisticated 樹懶 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0337452-XF14","featured_media":{"alt":null,"id":27114216423523,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69221f4557297399d2d9476eb2df4121104b3a8f_2717b3b6-a50a-4edd-90d2-e24f531b5212.webp?v=1775112548"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44020898463843,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST033740B-XF14","requires_shipping":true,"taxable":true,"featured_image":{"id":35581596762211,"product_id":7968474529891,"position":12,"created_at":"2026-04-02T14:49:07+08:00","updated_at":"2026-04-02T14:49:09+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d25cc6b1ddb09a726f5c3b12b927cc03bf08be9_c37bc94a-833d-4106-861e-b6098b66e5f9.webp?v=1775112549","variant_ids":[44020898463843]},"available":true,"name":"Galaxy S26 Ultra SolidX ilovedoodle Slophisticated 樹懶 - 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":"NST033740B-XF14","featured_media":{"alt":null,"id":27114216882275,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4d25cc6b1ddb09a726f5c3b12b927cc03bf08be9_c37bc94a-833d-4106-861e-b6098b66e5f9.webp?v=1775112549"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44020899741795,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST03374O8-XF14","requires_shipping":true,"taxable":true,"featured_image":{"id":35581596041315,"product_id":7968474529891,"position":9,"created_at":"2026-04-02T14:49:05+08:00","updated_at":"2026-04-02T14:49:07+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d318980ce0b5e4f05950b37e32fa6e24af766ce_04be5e7c-18c5-4bbf-b67e-835db052af2d.webp?v=1775112547","variant_ids":[44020899741795]},"available":true,"name":"Galaxy S26 Ultra SolidX ilovedoodle Slophisticated 樹懶 - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST03374O8-XF14","featured_media":{"alt":null,"id":27114216194147,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3d318980ce0b5e4f05950b37e32fa6e24af766ce_04be5e7c-18c5-4bbf-b67e-835db052af2d.webp?v=1775112547"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44020902592611,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"NST033740C-XF14","requires_shipping":true,"taxable":true,"featured_image":{"id":35581596565603,"product_id":7968474529891,"position":11,"created_at":"2026-04-02T14:49:07+08:00","updated_at":"2026-04-02T14:49:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cebf51948bd9ae994af2c66a274758ba273c345e_ba3c80c0-2d26-4cfd-a42f-388ab5758363.webp?v=1775112548","variant_ids":[44020902592611]},"available":true,"name":"Galaxy S26 Ultra SolidX ilovedoodle Slophisticated 樹懶 - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST033740C-XF14","featured_media":{"alt":null,"id":27114216685667,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cebf51948bd9ae994af2c66a274758ba273c345e_ba3c80c0-2d26-4cfd-a42f-388ab5758363.webp?v=1775112548"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":44020877787235,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0337452-XF14","requires_shipping":true,"taxable":true,"featured_image":{"id":35581596303459,"product_id":7968474529891,"position":10,"created_at":"2026-04-02T14:49:06+08:00","updated_at":"2026-04-02T14:49:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69221f4557297399d2d9476eb2df4121104b3a8f_2717b3b6-a50a-4edd-90d2-e24f531b5212.webp?v=1775112548","variant_ids":[44020877787235]},"available":true,"name":"Galaxy S26 Ultra SolidX ilovedoodle Slophisticated 樹懶 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0337452-XF14","featured_media":{"alt":null,"id":27114216423523,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/69221f4557297399d2d9476eb2df4121104b3a8f_2717b3b6-a50a-4edd-90d2-e24f531b5212.webp?v=1775112548"}},"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: "停產" }