$product = {"id":7855500460131,"title":"iPhone 15 Plus SolidX 寶可夢 多彩系列-皮卡丘大集合","handle":"iphone-15-plus-solidx-pe72","description":null,"published_at":"2025-08-13T14:52:02+08:00","created_at":"2025-08-13T14:31:40+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-pokemon","device-iPhone 15 Plus","merge","reseller-pokemon"],"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":43588170317923,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-PE72","requires_shipping":true,"taxable":true,"featured_image":{"id":34389955641443,"product_id":7855500460131,"position":13,"created_at":"2025-08-27T16:29:31+08:00","updated_at":"2025-08-27T16:29:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b6460247b1247a6f4bd3b4c50d2d26b5ae07ab_2e86f52a-5abb-4968-9c0f-e405e1ab1336.webp?v=1756283373","variant_ids":[43588170317923]},"available":true,"name":"iPhone 15 Plus SolidX 寶可夢 多彩系列-皮卡丘大集合 - 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-PE72","featured_media":{"alt":null,"id":25964024954979,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b6460247b1247a6f4bd3b4c50d2d26b5ae07ab_2e86f52a-5abb-4968-9c0f-e405e1ab1336.webp?v=1756283373"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43588172382307,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-PE72","requires_shipping":true,"taxable":true,"featured_image":{"id":34389957378147,"product_id":7855500460131,"position":20,"created_at":"2025-08-27T16:29:36+08:00","updated_at":"2025-08-27T16:29:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60300c81c6560f707bc9c30a52db6d1ae29db667_d5c20b37-8d6b-4206-8f02-bafdac0d4aa1.webp?v=1756283378","variant_ids":[43588172382307]},"available":true,"name":"iPhone 15 Plus SolidX 寶可夢 多彩系列-皮卡丘大集合 - 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-PE72","featured_media":{"alt":null,"id":25964026691683,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60300c81c6560f707bc9c30a52db6d1ae29db667_d5c20b37-8d6b-4206-8f02-bafdac0d4aa1.webp?v=1756283378"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edb39f1e1f46d25f02262eaf2ff999c13ad5515f.webp?v=1755066706","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60300c81c6560f707bc9c30a52db6d1ae29db667.webp?v=1755066707","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f92957e224b3416958dbaedc0677fce5ccbf7b2.webp?v=1755066707","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4196b4b50e824d284124260f8c568d2778bb906b.webp?v=1755066708","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15efb0384def7d83f7482a6fff3460ce5cafa70e.webp?v=1755066709","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a035cb0c4c47b9cc84c51daee6f9d32fedb82672.webp?v=1755066709","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c6d95be34253dab68b463b7971cfe37f0247324.webp?v=1755066710","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a5d4def4d301990b03028c2fcf7d35758343d27.webp?v=1755066710","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b6460247b1247a6f4bd3b4c50d2d26b5ae07ab.webp?v=1755066711","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59639e9228ea12641f16ec4d91ed92345dabb78c.webp?v=1755066712","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59639e9228ea12641f16ec4d91ed92345dabb78c_0b93221c-2e6a-4ba6-8db6-b0bb263abdfb.webp?v=1756283371","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a035cb0c4c47b9cc84c51daee6f9d32fedb82672_a9298204-98c5-4045-8f2f-1770ab4588e4.webp?v=1756283372","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b6460247b1247a6f4bd3b4c50d2d26b5ae07ab_2e86f52a-5abb-4968-9c0f-e405e1ab1336.webp?v=1756283373","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15efb0384def7d83f7482a6fff3460ce5cafa70e_d627e0b5-a5b0-43db-b036-8fcbbccee8e4.webp?v=1756283373","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f92957e224b3416958dbaedc0677fce5ccbf7b2_3a28dcdc-3a10-456d-bfdb-d3cddcafdf69.webp?v=1756283374","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4196b4b50e824d284124260f8c568d2778bb906b_e05fff5d-35a2-4556-b8eb-3e7f0e0d309f.webp?v=1756283375","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c6d95be34253dab68b463b7971cfe37f0247324_e5ddc29f-c176-44fc-a4f7-29a768a6c114.webp?v=1756283376","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edb39f1e1f46d25f02262eaf2ff999c13ad5515f_844a27aa-0cbd-4aa5-b242-96943c379a43.webp?v=1756283376","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a5d4def4d301990b03028c2fcf7d35758343d27_ab5bc018-568a-40f9-bda1-1efdeef15562.webp?v=1756283377","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60300c81c6560f707bc9c30a52db6d1ae29db667_d5c20b37-8d6b-4206-8f02-bafdac0d4aa1.webp?v=1756283378"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edb39f1e1f46d25f02262eaf2ff999c13ad5515f.webp?v=1755066706","options":["color"],"media":[{"alt":null,"id":25908051017827,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edb39f1e1f46d25f02262eaf2ff999c13ad5515f.webp?v=1755066706"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edb39f1e1f46d25f02262eaf2ff999c13ad5515f.webp?v=1755066706","width":2000},{"alt":null,"id":25908051214435,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60300c81c6560f707bc9c30a52db6d1ae29db667.webp?v=1755066707"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60300c81c6560f707bc9c30a52db6d1ae29db667.webp?v=1755066707","width":2000},{"alt":null,"id":25908051443811,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f92957e224b3416958dbaedc0677fce5ccbf7b2.webp?v=1755066707"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f92957e224b3416958dbaedc0677fce5ccbf7b2.webp?v=1755066707","width":2000},{"alt":null,"id":25908051640419,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4196b4b50e824d284124260f8c568d2778bb906b.webp?v=1755066708"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4196b4b50e824d284124260f8c568d2778bb906b.webp?v=1755066708","width":2000},{"alt":null,"id":25908051771491,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15efb0384def7d83f7482a6fff3460ce5cafa70e.webp?v=1755066709"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15efb0384def7d83f7482a6fff3460ce5cafa70e.webp?v=1755066709","width":2000},{"alt":null,"id":25908051869795,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a035cb0c4c47b9cc84c51daee6f9d32fedb82672.webp?v=1755066709"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a035cb0c4c47b9cc84c51daee6f9d32fedb82672.webp?v=1755066709","width":2000},{"alt":null,"id":25908052131939,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c6d95be34253dab68b463b7971cfe37f0247324.webp?v=1755066710"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c6d95be34253dab68b463b7971cfe37f0247324.webp?v=1755066710","width":2000},{"alt":null,"id":25908052230243,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a5d4def4d301990b03028c2fcf7d35758343d27.webp?v=1755066710"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a5d4def4d301990b03028c2fcf7d35758343d27.webp?v=1755066710","width":2000},{"alt":null,"id":25908052394083,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b6460247b1247a6f4bd3b4c50d2d26b5ae07ab.webp?v=1755066711"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b6460247b1247a6f4bd3b4c50d2d26b5ae07ab.webp?v=1755066711","width":2000},{"alt":null,"id":25908052885603,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59639e9228ea12641f16ec4d91ed92345dabb78c.webp?v=1755066712"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59639e9228ea12641f16ec4d91ed92345dabb78c.webp?v=1755066712","width":2000},{"alt":null,"id":25964024430691,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59639e9228ea12641f16ec4d91ed92345dabb78c_0b93221c-2e6a-4ba6-8db6-b0bb263abdfb.webp?v=1756283371"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59639e9228ea12641f16ec4d91ed92345dabb78c_0b93221c-2e6a-4ba6-8db6-b0bb263abdfb.webp?v=1756283371","width":2000},{"alt":null,"id":25964024692835,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a035cb0c4c47b9cc84c51daee6f9d32fedb82672_a9298204-98c5-4045-8f2f-1770ab4588e4.webp?v=1756283372"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a035cb0c4c47b9cc84c51daee6f9d32fedb82672_a9298204-98c5-4045-8f2f-1770ab4588e4.webp?v=1756283372","width":2000},{"alt":null,"id":25964024954979,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b6460247b1247a6f4bd3b4c50d2d26b5ae07ab_2e86f52a-5abb-4968-9c0f-e405e1ab1336.webp?v=1756283373"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b6460247b1247a6f4bd3b4c50d2d26b5ae07ab_2e86f52a-5abb-4968-9c0f-e405e1ab1336.webp?v=1756283373","width":2000},{"alt":null,"id":25964025184355,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15efb0384def7d83f7482a6fff3460ce5cafa70e_d627e0b5-a5b0-43db-b036-8fcbbccee8e4.webp?v=1756283373"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/15efb0384def7d83f7482a6fff3460ce5cafa70e_d627e0b5-a5b0-43db-b036-8fcbbccee8e4.webp?v=1756283373","width":2000},{"alt":null,"id":25964025380963,"position":15,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f92957e224b3416958dbaedc0677fce5ccbf7b2_3a28dcdc-3a10-456d-bfdb-d3cddcafdf69.webp?v=1756283374"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2f92957e224b3416958dbaedc0677fce5ccbf7b2_3a28dcdc-3a10-456d-bfdb-d3cddcafdf69.webp?v=1756283374","width":2000},{"alt":null,"id":25964025643107,"position":16,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4196b4b50e824d284124260f8c568d2778bb906b_e05fff5d-35a2-4556-b8eb-3e7f0e0d309f.webp?v=1756283375"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4196b4b50e824d284124260f8c568d2778bb906b_e05fff5d-35a2-4556-b8eb-3e7f0e0d309f.webp?v=1756283375","width":2000},{"alt":null,"id":25964025938019,"position":17,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c6d95be34253dab68b463b7971cfe37f0247324_e5ddc29f-c176-44fc-a4f7-29a768a6c114.webp?v=1756283376"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c6d95be34253dab68b463b7971cfe37f0247324_e5ddc29f-c176-44fc-a4f7-29a768a6c114.webp?v=1756283376","width":2000},{"alt":null,"id":25964026232931,"position":18,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edb39f1e1f46d25f02262eaf2ff999c13ad5515f_844a27aa-0cbd-4aa5-b242-96943c379a43.webp?v=1756283376"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/edb39f1e1f46d25f02262eaf2ff999c13ad5515f_844a27aa-0cbd-4aa5-b242-96943c379a43.webp?v=1756283376","width":2000},{"alt":null,"id":25964026495075,"position":19,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a5d4def4d301990b03028c2fcf7d35758343d27_ab5bc018-568a-40f9-bda1-1efdeef15562.webp?v=1756283377"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a5d4def4d301990b03028c2fcf7d35758343d27_ab5bc018-568a-40f9-bda1-1efdeef15562.webp?v=1756283377","width":2000},{"alt":null,"id":25964026691683,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60300c81c6560f707bc9c30a52db6d1ae29db667_d5c20b37-8d6b-4206-8f02-bafdac0d4aa1.webp?v=1756283378"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60300c81c6560f707bc9c30a52db6d1ae29db667_d5c20b37-8d6b-4206-8f02-bafdac0d4aa1.webp?v=1756283378","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43588170317923,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-PE72","requires_shipping":true,"taxable":true,"featured_image":{"id":34389955641443,"product_id":7855500460131,"position":13,"created_at":"2025-08-27T16:29:31+08:00","updated_at":"2025-08-27T16:29:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b6460247b1247a6f4bd3b4c50d2d26b5ae07ab_2e86f52a-5abb-4968-9c0f-e405e1ab1336.webp?v=1756283373","variant_ids":[43588170317923]},"available":true,"name":"iPhone 15 Plus SolidX 寶可夢 多彩系列-皮卡丘大集合 - 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-PE72","featured_media":{"alt":null,"id":25964024954979,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b6460247b1247a6f4bd3b4c50d2d26b5ae07ab_2e86f52a-5abb-4968-9c0f-e405e1ab1336.webp?v=1756283373"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43588172382307,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129652-PE72","requires_shipping":true,"taxable":true,"featured_image":{"id":34389957378147,"product_id":7855500460131,"position":20,"created_at":"2025-08-27T16:29:36+08:00","updated_at":"2025-08-27T16:29:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60300c81c6560f707bc9c30a52db6d1ae29db667_d5c20b37-8d6b-4206-8f02-bafdac0d4aa1.webp?v=1756283378","variant_ids":[43588172382307]},"available":true,"name":"iPhone 15 Plus SolidX 寶可夢 多彩系列-皮卡丘大集合 - 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-PE72","featured_media":{"alt":null,"id":25964026691683,"position":20,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/60300c81c6560f707bc9c30a52db6d1ae29db667_d5c20b37-8d6b-4206-8f02-bafdac0d4aa1.webp?v=1756283378"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43588170317923,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"NST012960B-PE72","requires_shipping":true,"taxable":true,"featured_image":{"id":34389955641443,"product_id":7855500460131,"position":13,"created_at":"2025-08-27T16:29:31+08:00","updated_at":"2025-08-27T16:29:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b6460247b1247a6f4bd3b4c50d2d26b5ae07ab_2e86f52a-5abb-4968-9c0f-e405e1ab1336.webp?v=1756283373","variant_ids":[43588170317923]},"available":true,"name":"iPhone 15 Plus SolidX 寶可夢 多彩系列-皮卡丘大集合 - 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-PE72","featured_media":{"alt":null,"id":25964024954979,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a8b6460247b1247a6f4bd3b4c50d2d26b5ae07ab_2e86f52a-5abb-4968-9c0f-e405e1ab1336.webp?v=1756283373"}},"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: "停產" }