Home
›
iPhone 15 Plus SolidX (MagSafe 兼容) 【獨家設計】 We TAIWAN : a-We a-Weeeee
$product = {"id":7829130215523,"title":"iPhone 15 Plus SolidX (MagSafe 兼容) 【獨家設計】 We TAIWAN : a-We a-Weeeee","handle":"iphone-15-plus-solidx-magsafe-bumper-back-original-design-do08","description":null,"published_at":"2025-07-31T09:41:41+08:00","created_at":"2025-06-30T16:37:11+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer-we-taiwan-a-we-collection","device-iPhone 15 Plus","discountable-item","merge","original-design","reseller-we-taiwan-a-we-collection"],"price":145000,"price_min":145000,"price_max":145000,"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":43503172255843,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MNS012960A-DO08","requires_shipping":true,"taxable":true,"featured_image":{"id":34100485161059,"product_id":7829130215523,"position":6,"created_at":"2025-06-30T16:37:17+08:00","updated_at":"2025-06-30T16:37:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01d7c154795b6a6d75c764333582b817140e2458_8bd33be4-2bd8-4cf8-a8a8-6cd20a896223.webp?v=1751272639","variant_ids":[43503172255843]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) 【獨家設計】 We TAIWAN : a-We a-Weeeee - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS012960A-DO08","featured_media":{"alt":null,"id":25756710469731,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01d7c154795b6a6d75c764333582b817140e2458_8bd33be4-2bd8-4cf8-a8a8-6cd20a896223.webp?v=1751272639"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43503172288611,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0129652-DO08","requires_shipping":true,"taxable":true,"featured_image":{"id":34100487028835,"product_id":7829130215523,"position":8,"created_at":"2025-06-30T16:37:19+08:00","updated_at":"2025-06-30T16:37:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d37e203d55bfee4509a2c994d49979b07a630201_9b2e2624-1e8d-4674-a95a-2b2eddfb02c3.webp?v=1751272641","variant_ids":[43503172288611]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) 【獨家設計】 We TAIWAN : a-We a-Weeeee - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0129652-DO08","featured_media":{"alt":null,"id":25756711288931,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d37e203d55bfee4509a2c994d49979b07a630201_9b2e2624-1e8d-4674-a95a-2b2eddfb02c3.webp?v=1751272641"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43503172321379,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01296O8-DO08","requires_shipping":true,"taxable":true,"featured_image":{"id":34100483719267,"product_id":7829130215523,"position":4,"created_at":"2025-06-30T16:37:16+08:00","updated_at":"2025-06-30T16:37:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d272a9863a37a6eb779bb902a233a7a3b6f25727_fa13fe55-296e-4efa-9ec2-e81ec3db848f.webp?v=1751272638","variant_ids":[43503172321379]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) 【獨家設計】 We TAIWAN : a-We a-Weeeee - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01296O8-DO08","featured_media":{"alt":null,"id":25756709847139,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d272a9863a37a6eb779bb902a233a7a3b6f25727_fa13fe55-296e-4efa-9ec2-e81ec3db848f.webp?v=1751272638"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43503172386915,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS01296Z7-DO08","requires_shipping":true,"taxable":true,"featured_image":{"id":34100481622115,"product_id":7829130215523,"position":1,"created_at":"2025-06-30T16:37:15+08:00","updated_at":"2025-06-30T16:37:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8228542f35d136806c077352a048540ed4da2f1_6bafdbba-7e70-4d34-8df4-0b710a3f83cf.webp?v=1751272637","variant_ids":[43503172386915]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) 【獨家設計】 We TAIWAN : a-We a-Weeeee - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01296Z7-DO08","featured_media":{"alt":null,"id":25756708798563,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8228542f35d136806c077352a048540ed4da2f1_6bafdbba-7e70-4d34-8df4-0b710a3f83cf.webp?v=1751272637"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8228542f35d136806c077352a048540ed4da2f1_6bafdbba-7e70-4d34-8df4-0b710a3f83cf.webp?v=1751272637","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e23bcc67cbfba1e773e80138824579d4b87879c_ca0da746-a9ce-47fb-8ef4-4726f66af666.webp?v=1751272637","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd7c5008aaef58f73984d606acdfca258e6155e6_61f73216-46c8-4f71-a0b0-9cab0f56cb43.webp?v=1751272638","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d272a9863a37a6eb779bb902a233a7a3b6f25727_fa13fe55-296e-4efa-9ec2-e81ec3db848f.webp?v=1751272638","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9a88c85080610b502befe3376ff6557e49cd3d2_75d23b2e-7295-4a48-b10e-5db924018274.webp?v=1751272639","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01d7c154795b6a6d75c764333582b817140e2458_8bd33be4-2bd8-4cf8-a8a8-6cd20a896223.webp?v=1751272639","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/184f1cd73ecfc9797942204a559e02ae49c18820_470d52bd-5261-4ca8-9e88-3ccab4c5a36e.webp?v=1751272640","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d37e203d55bfee4509a2c994d49979b07a630201_9b2e2624-1e8d-4674-a95a-2b2eddfb02c3.webp?v=1751272641","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8b2bbe256dc4a870fb5f20a04e84513e8b7e364_7d3fb84a-0c0c-4c34-b7d3-ef601eafe0a4.webp?v=1751272641","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf9b255a432a6b7cda6bab684b26b400747b4afc_0b988ddc-6ec0-40a5-9cc3-db45bb1c2254.webp?v=1751272642"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8228542f35d136806c077352a048540ed4da2f1_6bafdbba-7e70-4d34-8df4-0b710a3f83cf.webp?v=1751272637","options":["color"],"media":[{"alt":null,"id":25756708798563,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8228542f35d136806c077352a048540ed4da2f1_6bafdbba-7e70-4d34-8df4-0b710a3f83cf.webp?v=1751272637"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8228542f35d136806c077352a048540ed4da2f1_6bafdbba-7e70-4d34-8df4-0b710a3f83cf.webp?v=1751272637","width":2000},{"alt":null,"id":25756709126243,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e23bcc67cbfba1e773e80138824579d4b87879c_ca0da746-a9ce-47fb-8ef4-4726f66af666.webp?v=1751272637"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6e23bcc67cbfba1e773e80138824579d4b87879c_ca0da746-a9ce-47fb-8ef4-4726f66af666.webp?v=1751272637","width":2000},{"alt":null,"id":25756709421155,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd7c5008aaef58f73984d606acdfca258e6155e6_61f73216-46c8-4f71-a0b0-9cab0f56cb43.webp?v=1751272638"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd7c5008aaef58f73984d606acdfca258e6155e6_61f73216-46c8-4f71-a0b0-9cab0f56cb43.webp?v=1751272638","width":2000},{"alt":null,"id":25756709847139,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d272a9863a37a6eb779bb902a233a7a3b6f25727_fa13fe55-296e-4efa-9ec2-e81ec3db848f.webp?v=1751272638"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d272a9863a37a6eb779bb902a233a7a3b6f25727_fa13fe55-296e-4efa-9ec2-e81ec3db848f.webp?v=1751272638","width":2000},{"alt":null,"id":25756710207587,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9a88c85080610b502befe3376ff6557e49cd3d2_75d23b2e-7295-4a48-b10e-5db924018274.webp?v=1751272639"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9a88c85080610b502befe3376ff6557e49cd3d2_75d23b2e-7295-4a48-b10e-5db924018274.webp?v=1751272639","width":2000},{"alt":null,"id":25756710469731,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01d7c154795b6a6d75c764333582b817140e2458_8bd33be4-2bd8-4cf8-a8a8-6cd20a896223.webp?v=1751272639"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01d7c154795b6a6d75c764333582b817140e2458_8bd33be4-2bd8-4cf8-a8a8-6cd20a896223.webp?v=1751272639","width":2000},{"alt":null,"id":25756710895715,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/184f1cd73ecfc9797942204a559e02ae49c18820_470d52bd-5261-4ca8-9e88-3ccab4c5a36e.webp?v=1751272640"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/184f1cd73ecfc9797942204a559e02ae49c18820_470d52bd-5261-4ca8-9e88-3ccab4c5a36e.webp?v=1751272640","width":2000},{"alt":null,"id":25756711288931,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d37e203d55bfee4509a2c994d49979b07a630201_9b2e2624-1e8d-4674-a95a-2b2eddfb02c3.webp?v=1751272641"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d37e203d55bfee4509a2c994d49979b07a630201_9b2e2624-1e8d-4674-a95a-2b2eddfb02c3.webp?v=1751272641","width":2000},{"alt":null,"id":25756711682147,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8b2bbe256dc4a870fb5f20a04e84513e8b7e364_7d3fb84a-0c0c-4c34-b7d3-ef601eafe0a4.webp?v=1751272641"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d8b2bbe256dc4a870fb5f20a04e84513e8b7e364_7d3fb84a-0c0c-4c34-b7d3-ef601eafe0a4.webp?v=1751272641","width":2000},{"alt":null,"id":25756711977059,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf9b255a432a6b7cda6bab684b26b400747b4afc_0b988ddc-6ec0-40a5-9cc3-db45bb1c2254.webp?v=1751272642"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cf9b255a432a6b7cda6bab684b26b400747b4afc_0b988ddc-6ec0-40a5-9cc3-db45bb1c2254.webp?v=1751272642","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43503172255843,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MNS012960A-DO08","requires_shipping":true,"taxable":true,"featured_image":{"id":34100485161059,"product_id":7829130215523,"position":6,"created_at":"2025-06-30T16:37:17+08:00","updated_at":"2025-06-30T16:37:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01d7c154795b6a6d75c764333582b817140e2458_8bd33be4-2bd8-4cf8-a8a8-6cd20a896223.webp?v=1751272639","variant_ids":[43503172255843]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) 【獨家設計】 We TAIWAN : a-We a-Weeeee - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS012960A-DO08","featured_media":{"alt":null,"id":25756710469731,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01d7c154795b6a6d75c764333582b817140e2458_8bd33be4-2bd8-4cf8-a8a8-6cd20a896223.webp?v=1751272639"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43503172288611,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MNS0129652-DO08","requires_shipping":true,"taxable":true,"featured_image":{"id":34100487028835,"product_id":7829130215523,"position":8,"created_at":"2025-06-30T16:37:19+08:00","updated_at":"2025-06-30T16:37:21+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d37e203d55bfee4509a2c994d49979b07a630201_9b2e2624-1e8d-4674-a95a-2b2eddfb02c3.webp?v=1751272641","variant_ids":[43503172288611]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) 【獨家設計】 We TAIWAN : a-We a-Weeeee - Black","public_title":"Black","options":["Black"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS0129652-DO08","featured_media":{"alt":null,"id":25756711288931,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d37e203d55bfee4509a2c994d49979b07a630201_9b2e2624-1e8d-4674-a95a-2b2eddfb02c3.webp?v=1751272641"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43503172321379,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"MNS01296O8-DO08","requires_shipping":true,"taxable":true,"featured_image":{"id":34100483719267,"product_id":7829130215523,"position":4,"created_at":"2025-06-30T16:37:16+08:00","updated_at":"2025-06-30T16:37:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d272a9863a37a6eb779bb902a233a7a3b6f25727_fa13fe55-296e-4efa-9ec2-e81ec3db848f.webp?v=1751272638","variant_ids":[43503172321379]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) 【獨家設計】 We TAIWAN : a-We a-Weeeee - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01296O8-DO08","featured_media":{"alt":null,"id":25756709847139,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d272a9863a37a6eb779bb902a233a7a3b6f25727_fa13fe55-296e-4efa-9ec2-e81ec3db848f.webp?v=1751272638"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43503172386915,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"MNS01296Z7-DO08","requires_shipping":true,"taxable":true,"featured_image":{"id":34100481622115,"product_id":7829130215523,"position":1,"created_at":"2025-06-30T16:37:15+08:00","updated_at":"2025-06-30T16:37:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8228542f35d136806c077352a048540ed4da2f1_6bafdbba-7e70-4d34-8df4-0b710a3f83cf.webp?v=1751272637","variant_ids":[43503172386915]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) 【獨家設計】 We TAIWAN : a-We a-Weeeee - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS01296Z7-DO08","featured_media":{"alt":null,"id":25756708798563,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c8228542f35d136806c077352a048540ed4da2f1_6bafdbba-7e70-4d34-8df4-0b710a3f83cf.webp?v=1751272637"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43503172255843,"title":"Ocean Blue","option1":"Ocean Blue","option2":null,"option3":null,"sku":"MNS012960A-DO08","requires_shipping":true,"taxable":true,"featured_image":{"id":34100485161059,"product_id":7829130215523,"position":6,"created_at":"2025-06-30T16:37:17+08:00","updated_at":"2025-06-30T16:37:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01d7c154795b6a6d75c764333582b817140e2458_8bd33be4-2bd8-4cf8-a8a8-6cd20a896223.webp?v=1751272639","variant_ids":[43503172255843]},"available":true,"name":"iPhone 15 Plus SolidX (MagSafe 兼容) 【獨家設計】 We TAIWAN : a-We a-Weeeee - Ocean Blue","public_title":"Ocean Blue","options":["Ocean Blue"],"price":145000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MNS012960A-DO08","featured_media":{"alt":null,"id":25756710469731,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01d7c154795b6a6d75c764333582b817140e2458_8bd33be4-2bd8-4cf8-a8a8-6cd20a896223.webp?v=1751272639"}},"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: "停產"
}