$product = {"id":7959200628835,"title":"iPhone 15 Plus SolidX Disney - Classics 迪士尼經典電影 101忠狗 - 小犬","handle":"iphone-15-plus-solidx-oy47","description":null,"published_at":"2026-02-04T12:14:32+08:00","created_at":"2026-02-04T11:22:50+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-disney-classics","device-iPhone 15 Plus","merge","reseller-disney-classics"],"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":43984857497699,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-OY47","requires_shipping":true,"taxable":true,"featured_image":{"id":35186296651875,"product_id":7959200628835,"position":9,"created_at":"2026-02-04T11:35:41+08:00","updated_at":"2026-02-04T11:35:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8902605b096b3bdf219d11010c351f30f214bfe6_65c05062-42ec-4a71-843a-e9376a122e8b.webp?v=1770176143","variant_ids":[43984857497699]},"available":true,"name":"iPhone 15 Plus SolidX Disney - Classics 迪士尼經典電影 101忠狗 - 小犬 - 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-OY47","featured_media":{"alt":null,"id":26738629148771,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8902605b096b3bdf219d11010c351f30f214bfe6_65c05062-42ec-4a71-843a-e9376a122e8b.webp?v=1770176143"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43984858611811,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-OY47","requires_shipping":true,"taxable":true,"featured_image":{"id":35186297700451,"product_id":7959200628835,"position":15,"created_at":"2026-02-04T11:35:44+08:00","updated_at":"2026-02-04T11:35:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0782471dfed70a6b6aaf3cf600c325f4850b4455_6e441837-0f75-48bb-9b38-6cdee1a7ffd2.webp?v=1770176145","variant_ids":[43984858611811]},"available":true,"name":"iPhone 15 Plus SolidX Disney - Classics 迪士尼經典電影 101忠狗 - 小犬 - 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-OY47","featured_media":{"alt":null,"id":26738630197347,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0782471dfed70a6b6aaf3cf600c325f4850b4455_6e441837-0f75-48bb-9b38-6cdee1a7ffd2.webp?v=1770176145"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43984858906723,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01296O8-OY47","requires_shipping":true,"taxable":true,"featured_image":{"id":35186297733219,"product_id":7959200628835,"position":16,"created_at":"2026-02-04T11:35:44+08:00","updated_at":"2026-02-04T11:35:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ea8f62410c2d5623e1d52670bf2275d275f3279_d68dc74a-5614-4b8f-bcb3-7ea83400f014.webp?v=1770176146","variant_ids":[43984858906723]},"available":true,"name":"iPhone 15 Plus SolidX Disney - Classics 迪士尼經典電影 101忠狗 - 小犬 - 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":"NST01296O8-OY47","featured_media":{"alt":null,"id":26738630230115,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ea8f62410c2d5623e1d52670bf2275d275f3279_d68dc74a-5614-4b8f-bcb3-7ea83400f014.webp?v=1770176146"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8902605b096b3bdf219d11010c351f30f214bfe6.webp?v=1770175402","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9621f86e90b3995894cfd4278e8c951f4d45fbf7.webp?v=1770175402","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18944bea7ffdf29895ebc44c12f7cda2bf74eeac.webp?v=1770175402","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d39f03db51f9854a3c08cd79b926e2d571cdfb11.webp?v=1770175403","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f746a0bd18a4dfe3548db83fbb0dcf3f8f1850cb.webp?v=1770175404","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68483c1b695becba546e3bfa3392c7bf7b43be13.webp?v=1770175404","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0782471dfed70a6b6aaf3cf600c325f4850b4455.webp?v=1770175405","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ea8f62410c2d5623e1d52670bf2275d275f3279.webp?v=1770175405","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8902605b096b3bdf219d11010c351f30f214bfe6_65c05062-42ec-4a71-843a-e9376a122e8b.webp?v=1770176143","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9621f86e90b3995894cfd4278e8c951f4d45fbf7_8b8ffe5e-7502-40a6-ae44-c9d2fad72db3.webp?v=1770176143","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18944bea7ffdf29895ebc44c12f7cda2bf74eeac_7e15585e-8e7f-4749-8cb3-9c4dc59accd7.webp?v=1770176144","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d39f03db51f9854a3c08cd79b926e2d571cdfb11_6c72980a-3758-4f79-8dad-0b04a374781f.webp?v=1770176144","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f746a0bd18a4dfe3548db83fbb0dcf3f8f1850cb_cdee012b-ffc5-4811-99a0-0efa839d6378.webp?v=1770176145","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68483c1b695becba546e3bfa3392c7bf7b43be13_abc86e01-459b-4173-8ede-f4808adfb5e2.webp?v=1770176145","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0782471dfed70a6b6aaf3cf600c325f4850b4455_6e441837-0f75-48bb-9b38-6cdee1a7ffd2.webp?v=1770176145","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ea8f62410c2d5623e1d52670bf2275d275f3279_d68dc74a-5614-4b8f-bcb3-7ea83400f014.webp?v=1770176146"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8902605b096b3bdf219d11010c351f30f214bfe6.webp?v=1770175402","options":["color"],"media":[{"alt":null,"id":26738404327523,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8902605b096b3bdf219d11010c351f30f214bfe6.webp?v=1770175402"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8902605b096b3bdf219d11010c351f30f214bfe6.webp?v=1770175402","width":2000},{"alt":null,"id":26738404589667,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9621f86e90b3995894cfd4278e8c951f4d45fbf7.webp?v=1770175402"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9621f86e90b3995894cfd4278e8c951f4d45fbf7.webp?v=1770175402","width":2000},{"alt":null,"id":26738404720739,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18944bea7ffdf29895ebc44c12f7cda2bf74eeac.webp?v=1770175402"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18944bea7ffdf29895ebc44c12f7cda2bf74eeac.webp?v=1770175402","width":2000},{"alt":null,"id":26738404917347,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d39f03db51f9854a3c08cd79b926e2d571cdfb11.webp?v=1770175403"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d39f03db51f9854a3c08cd79b926e2d571cdfb11.webp?v=1770175403","width":2000},{"alt":null,"id":26738405146723,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f746a0bd18a4dfe3548db83fbb0dcf3f8f1850cb.webp?v=1770175404"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f746a0bd18a4dfe3548db83fbb0dcf3f8f1850cb.webp?v=1770175404","width":2000},{"alt":null,"id":26738405343331,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68483c1b695becba546e3bfa3392c7bf7b43be13.webp?v=1770175404"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68483c1b695becba546e3bfa3392c7bf7b43be13.webp?v=1770175404","width":2000},{"alt":null,"id":26738405441635,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0782471dfed70a6b6aaf3cf600c325f4850b4455.webp?v=1770175405"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0782471dfed70a6b6aaf3cf600c325f4850b4455.webp?v=1770175405","width":2000},{"alt":null,"id":26738405638243,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ea8f62410c2d5623e1d52670bf2275d275f3279.webp?v=1770175405"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ea8f62410c2d5623e1d52670bf2275d275f3279.webp?v=1770175405","width":2000},{"alt":null,"id":26738629148771,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8902605b096b3bdf219d11010c351f30f214bfe6_65c05062-42ec-4a71-843a-e9376a122e8b.webp?v=1770176143"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8902605b096b3bdf219d11010c351f30f214bfe6_65c05062-42ec-4a71-843a-e9376a122e8b.webp?v=1770176143","width":2000},{"alt":null,"id":26738629574755,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9621f86e90b3995894cfd4278e8c951f4d45fbf7_8b8ffe5e-7502-40a6-ae44-c9d2fad72db3.webp?v=1770176143"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9621f86e90b3995894cfd4278e8c951f4d45fbf7_8b8ffe5e-7502-40a6-ae44-c9d2fad72db3.webp?v=1770176143","width":2000},{"alt":null,"id":26738629804131,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18944bea7ffdf29895ebc44c12f7cda2bf74eeac_7e15585e-8e7f-4749-8cb3-9c4dc59accd7.webp?v=1770176144"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/18944bea7ffdf29895ebc44c12f7cda2bf74eeac_7e15585e-8e7f-4749-8cb3-9c4dc59accd7.webp?v=1770176144","width":2000},{"alt":null,"id":26738629935203,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d39f03db51f9854a3c08cd79b926e2d571cdfb11_6c72980a-3758-4f79-8dad-0b04a374781f.webp?v=1770176144"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d39f03db51f9854a3c08cd79b926e2d571cdfb11_6c72980a-3758-4f79-8dad-0b04a374781f.webp?v=1770176144","width":2000},{"alt":null,"id":26738630099043,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f746a0bd18a4dfe3548db83fbb0dcf3f8f1850cb_cdee012b-ffc5-4811-99a0-0efa839d6378.webp?v=1770176145"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f746a0bd18a4dfe3548db83fbb0dcf3f8f1850cb_cdee012b-ffc5-4811-99a0-0efa839d6378.webp?v=1770176145","width":2000},{"alt":null,"id":26738630131811,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68483c1b695becba546e3bfa3392c7bf7b43be13_abc86e01-459b-4173-8ede-f4808adfb5e2.webp?v=1770176145"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/68483c1b695becba546e3bfa3392c7bf7b43be13_abc86e01-459b-4173-8ede-f4808adfb5e2.webp?v=1770176145","width":2000},{"alt":null,"id":26738630197347,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0782471dfed70a6b6aaf3cf600c325f4850b4455_6e441837-0f75-48bb-9b38-6cdee1a7ffd2.webp?v=1770176145"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0782471dfed70a6b6aaf3cf600c325f4850b4455_6e441837-0f75-48bb-9b38-6cdee1a7ffd2.webp?v=1770176145","width":2000},{"alt":null,"id":26738630230115,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ea8f62410c2d5623e1d52670bf2275d275f3279_d68dc74a-5614-4b8f-bcb3-7ea83400f014.webp?v=1770176146"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ea8f62410c2d5623e1d52670bf2275d275f3279_d68dc74a-5614-4b8f-bcb3-7ea83400f014.webp?v=1770176146","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43984857497699,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-OY47","requires_shipping":true,"taxable":true,"featured_image":{"id":35186296651875,"product_id":7959200628835,"position":9,"created_at":"2026-02-04T11:35:41+08:00","updated_at":"2026-02-04T11:35:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8902605b096b3bdf219d11010c351f30f214bfe6_65c05062-42ec-4a71-843a-e9376a122e8b.webp?v=1770176143","variant_ids":[43984857497699]},"available":true,"name":"iPhone 15 Plus SolidX Disney - Classics 迪士尼經典電影 101忠狗 - 小犬 - 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-OY47","featured_media":{"alt":null,"id":26738629148771,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8902605b096b3bdf219d11010c351f30f214bfe6_65c05062-42ec-4a71-843a-e9376a122e8b.webp?v=1770176143"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43984858611811,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-OY47","requires_shipping":true,"taxable":true,"featured_image":{"id":35186297700451,"product_id":7959200628835,"position":15,"created_at":"2026-02-04T11:35:44+08:00","updated_at":"2026-02-04T11:35:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0782471dfed70a6b6aaf3cf600c325f4850b4455_6e441837-0f75-48bb-9b38-6cdee1a7ffd2.webp?v=1770176145","variant_ids":[43984858611811]},"available":true,"name":"iPhone 15 Plus SolidX Disney - Classics 迪士尼經典電影 101忠狗 - 小犬 - 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-OY47","featured_media":{"alt":null,"id":26738630197347,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0782471dfed70a6b6aaf3cf600c325f4850b4455_6e441837-0f75-48bb-9b38-6cdee1a7ffd2.webp?v=1770176145"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43984858906723,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01296O8-OY47","requires_shipping":true,"taxable":true,"featured_image":{"id":35186297733219,"product_id":7959200628835,"position":16,"created_at":"2026-02-04T11:35:44+08:00","updated_at":"2026-02-04T11:35:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ea8f62410c2d5623e1d52670bf2275d275f3279_d68dc74a-5614-4b8f-bcb3-7ea83400f014.webp?v=1770176146","variant_ids":[43984858906723]},"available":true,"name":"iPhone 15 Plus SolidX Disney - Classics 迪士尼經典電影 101忠狗 - 小犬 - 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":"NST01296O8-OY47","featured_media":{"alt":null,"id":26738630230115,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8ea8f62410c2d5623e1d52670bf2275d275f3279_d68dc74a-5614-4b8f-bcb3-7ea83400f014.webp?v=1770176146"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43984857497699,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-OY47","requires_shipping":true,"taxable":true,"featured_image":{"id":35186296651875,"product_id":7959200628835,"position":9,"created_at":"2026-02-04T11:35:41+08:00","updated_at":"2026-02-04T11:35:43+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8902605b096b3bdf219d11010c351f30f214bfe6_65c05062-42ec-4a71-843a-e9376a122e8b.webp?v=1770176143","variant_ids":[43984857497699]},"available":true,"name":"iPhone 15 Plus SolidX Disney - Classics 迪士尼經典電影 101忠狗 - 小犬 - 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-OY47","featured_media":{"alt":null,"id":26738629148771,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8902605b096b3bdf219d11010c351f30f214bfe6_65c05062-42ec-4a71-843a-e9376a122e8b.webp?v=1770176143"}},"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: "停產" }