$product = {"id":7823725658211,"title":"iPhone 15 Pro Max SolidX 1G 右看看","handle":"iphone-15-pro-max-solidx-iv04","description":null,"published_at":"2025-07-01T19:25:34+08:00","created_at":"2025-06-20T10:18:38+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-1chun","device-iPhone 15 Pro Max","merge","reseller-1chun"],"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":43472414933091,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-IV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36323025846371,"product_id":7823725658211,"position":13,"created_at":"2026-07-20T18:32:17+08:00","updated_at":"2026-07-20T18:32:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/188f4f2651c3450c3b0459334db68399d6c31d3f_cec57005-352b-484d-b142-0d7f1cc23c04.webp?v=1784543539","variant_ids":[43472414933091]},"available":true,"name":"iPhone 15 Pro Max SolidX 1G 右看看 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-IV04","featured_media":{"alt":null,"id":27826933596259,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/188f4f2651c3450c3b0459334db68399d6c31d3f_cec57005-352b-484d-b142-0d7f1cc23c04.webp?v=1784543539"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472418111587,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-IV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36323024797795,"product_id":7823725658211,"position":10,"created_at":"2026-07-20T18:32:14+08:00","updated_at":"2026-07-20T18:32:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/207e2ff48e99ba29c2910842c85c79c1b71a6e04_694fe53c-bd55-47b5-beb1-0e8942517a17.webp?v=1784543535","variant_ids":[43472418111587]},"available":true,"name":"iPhone 15 Pro Max SolidX 1G 右看看 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129853-IV04","featured_media":{"alt":null,"id":27826932514915,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/207e2ff48e99ba29c2910842c85c79c1b71a6e04_694fe53c-bd55-47b5-beb1-0e8942517a17.webp?v=1784543535"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472418209891,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01298O8-IV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36323025289315,"product_id":7823725658211,"position":11,"created_at":"2026-07-20T18:32:15+08:00","updated_at":"2026-07-20T18:32:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0af7c88ea00c7c0c6573c3ac5d377f2298f4184a_59d97c2c-9a2d-4e3a-9f30-a0b5760385c4.webp?v=1784543537","variant_ids":[43472418209891]},"available":true,"name":"iPhone 15 Pro Max SolidX 1G 右看看 - 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":"NST01298O8-IV04","featured_media":{"alt":null,"id":27826933039203,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0af7c88ea00c7c0c6573c3ac5d377f2298f4184a_59d97c2c-9a2d-4e3a-9f30-a0b5760385c4.webp?v=1784543537"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472418242659,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST01298Z7-IV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36323025715299,"product_id":7823725658211,"position":12,"created_at":"2026-07-20T18:32:16+08:00","updated_at":"2026-07-20T18:32:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e059ea4d9967d1a9ccfedd039be9b9f7d65494cf_27e89e9a-a123-4ed3-9931-f4378727cdb6.webp?v=1784543538","variant_ids":[43472418242659]},"available":true,"name":"iPhone 15 Pro Max SolidX 1G 右看看 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01298Z7-IV04","featured_media":{"alt":null,"id":27826933399651,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e059ea4d9967d1a9ccfedd039be9b9f7d65494cf_27e89e9a-a123-4ed3-9931-f4378727cdb6.webp?v=1784543538"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-IV04.png?v=1750385920","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-IV04_78a4c4ad-499e-457b-ae38-fd80dae73dc5.png?v=1750832270","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa750158e78010852a6f88c9d29cb0879c661033.webp?v=1782883251","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0af7c88ea00c7c0c6573c3ac5d377f2298f4184a.webp?v=1782883252","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3eb9321727c56a3da530931920d2fe60fe4a7e4.webp?v=1782883253","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/188f4f2651c3450c3b0459334db68399d6c31d3f.webp?v=1782883253","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7acf8e597ee593113ac08004a9fcfdbb5bb57d1.webp?v=1782883254","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/207e2ff48e99ba29c2910842c85c79c1b71a6e04.webp?v=1782883255","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e059ea4d9967d1a9ccfedd039be9b9f7d65494cf.webp?v=1782883255","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/207e2ff48e99ba29c2910842c85c79c1b71a6e04_694fe53c-bd55-47b5-beb1-0e8942517a17.webp?v=1784543535","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0af7c88ea00c7c0c6573c3ac5d377f2298f4184a_59d97c2c-9a2d-4e3a-9f30-a0b5760385c4.webp?v=1784543537","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e059ea4d9967d1a9ccfedd039be9b9f7d65494cf_27e89e9a-a123-4ed3-9931-f4378727cdb6.webp?v=1784543538","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/188f4f2651c3450c3b0459334db68399d6c31d3f_cec57005-352b-484d-b142-0d7f1cc23c04.webp?v=1784543539","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7acf8e597ee593113ac08004a9fcfdbb5bb57d1_d36415a0-32ac-4939-bc5c-4444052c81d2.webp?v=1784543539"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-IV04.png?v=1750385920","options":["color"],"media":[{"alt":null,"id":25720272584803,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-IV04.png?v=1750385920"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-298-IV04.png?v=1750385920","width":2000},{"alt":null,"id":25736370749539,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-IV04_78a4c4ad-499e-457b-ae38-fd80dae73dc5.png?v=1750832270"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/SolidX-52-295-IV04_78a4c4ad-499e-457b-ae38-fd80dae73dc5.png?v=1750832270","width":2000},{"alt":null,"id":27647806636131,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa750158e78010852a6f88c9d29cb0879c661033.webp?v=1782883251"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aa750158e78010852a6f88c9d29cb0879c661033.webp?v=1782883251","width":2000},{"alt":null,"id":27647806898275,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0af7c88ea00c7c0c6573c3ac5d377f2298f4184a.webp?v=1782883252"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0af7c88ea00c7c0c6573c3ac5d377f2298f4184a.webp?v=1782883252","width":2000},{"alt":null,"id":27647807160419,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3eb9321727c56a3da530931920d2fe60fe4a7e4.webp?v=1782883253"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d3eb9321727c56a3da530931920d2fe60fe4a7e4.webp?v=1782883253","width":2000},{"alt":null,"id":27647807357027,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/188f4f2651c3450c3b0459334db68399d6c31d3f.webp?v=1782883253"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/188f4f2651c3450c3b0459334db68399d6c31d3f.webp?v=1782883253","width":2000},{"alt":null,"id":27647807586403,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7acf8e597ee593113ac08004a9fcfdbb5bb57d1.webp?v=1782883254"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7acf8e597ee593113ac08004a9fcfdbb5bb57d1.webp?v=1782883254","width":2000},{"alt":null,"id":27647807717475,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/207e2ff48e99ba29c2910842c85c79c1b71a6e04.webp?v=1782883255"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/207e2ff48e99ba29c2910842c85c79c1b71a6e04.webp?v=1782883255","width":2000},{"alt":null,"id":27647807881315,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e059ea4d9967d1a9ccfedd039be9b9f7d65494cf.webp?v=1782883255"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e059ea4d9967d1a9ccfedd039be9b9f7d65494cf.webp?v=1782883255","width":2000},{"alt":null,"id":27826932514915,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/207e2ff48e99ba29c2910842c85c79c1b71a6e04_694fe53c-bd55-47b5-beb1-0e8942517a17.webp?v=1784543535"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/207e2ff48e99ba29c2910842c85c79c1b71a6e04_694fe53c-bd55-47b5-beb1-0e8942517a17.webp?v=1784543535","width":2000},{"alt":null,"id":27826933039203,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0af7c88ea00c7c0c6573c3ac5d377f2298f4184a_59d97c2c-9a2d-4e3a-9f30-a0b5760385c4.webp?v=1784543537"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0af7c88ea00c7c0c6573c3ac5d377f2298f4184a_59d97c2c-9a2d-4e3a-9f30-a0b5760385c4.webp?v=1784543537","width":2000},{"alt":null,"id":27826933399651,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e059ea4d9967d1a9ccfedd039be9b9f7d65494cf_27e89e9a-a123-4ed3-9931-f4378727cdb6.webp?v=1784543538"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e059ea4d9967d1a9ccfedd039be9b9f7d65494cf_27e89e9a-a123-4ed3-9931-f4378727cdb6.webp?v=1784543538","width":2000},{"alt":null,"id":27826933596259,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/188f4f2651c3450c3b0459334db68399d6c31d3f_cec57005-352b-484d-b142-0d7f1cc23c04.webp?v=1784543539"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/188f4f2651c3450c3b0459334db68399d6c31d3f_cec57005-352b-484d-b142-0d7f1cc23c04.webp?v=1784543539","width":2000},{"alt":null,"id":27826933792867,"position":14,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7acf8e597ee593113ac08004a9fcfdbb5bb57d1_d36415a0-32ac-4939-bc5c-4444052c81d2.webp?v=1784543539"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d7acf8e597ee593113ac08004a9fcfdbb5bb57d1_d36415a0-32ac-4939-bc5c-4444052c81d2.webp?v=1784543539","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43472414933091,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-IV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36323025846371,"product_id":7823725658211,"position":13,"created_at":"2026-07-20T18:32:17+08:00","updated_at":"2026-07-20T18:32:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/188f4f2651c3450c3b0459334db68399d6c31d3f_cec57005-352b-484d-b142-0d7f1cc23c04.webp?v=1784543539","variant_ids":[43472414933091]},"available":true,"name":"iPhone 15 Pro Max SolidX 1G 右看看 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-IV04","featured_media":{"alt":null,"id":27826933596259,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/188f4f2651c3450c3b0459334db68399d6c31d3f_cec57005-352b-484d-b142-0d7f1cc23c04.webp?v=1784543539"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472418111587,"title":"White","option1":"White","option2":null,"option3":null,"sku":"NST0129853-IV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36323024797795,"product_id":7823725658211,"position":10,"created_at":"2026-07-20T18:32:14+08:00","updated_at":"2026-07-20T18:32:15+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/207e2ff48e99ba29c2910842c85c79c1b71a6e04_694fe53c-bd55-47b5-beb1-0e8942517a17.webp?v=1784543535","variant_ids":[43472418111587]},"available":true,"name":"iPhone 15 Pro Max SolidX 1G 右看看 - White","public_title":"White","options":["White"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129853-IV04","featured_media":{"alt":null,"id":27826932514915,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/207e2ff48e99ba29c2910842c85c79c1b71a6e04_694fe53c-bd55-47b5-beb1-0e8942517a17.webp?v=1784543535"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472418209891,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"NST01298O8-IV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36323025289315,"product_id":7823725658211,"position":11,"created_at":"2026-07-20T18:32:15+08:00","updated_at":"2026-07-20T18:32:17+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0af7c88ea00c7c0c6573c3ac5d377f2298f4184a_59d97c2c-9a2d-4e3a-9f30-a0b5760385c4.webp?v=1784543537","variant_ids":[43472418209891]},"available":true,"name":"iPhone 15 Pro Max SolidX 1G 右看看 - 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":"NST01298O8-IV04","featured_media":{"alt":null,"id":27826933039203,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0af7c88ea00c7c0c6573c3ac5d377f2298f4184a_59d97c2c-9a2d-4e3a-9f30-a0b5760385c4.webp?v=1784543537"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43472418242659,"title":"Glacier Blue","option1":"Glacier Blue","option2":null,"option3":null,"sku":"NST01298Z7-IV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36323025715299,"product_id":7823725658211,"position":12,"created_at":"2026-07-20T18:32:16+08:00","updated_at":"2026-07-20T18:32:18+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e059ea4d9967d1a9ccfedd039be9b9f7d65494cf_27e89e9a-a123-4ed3-9931-f4378727cdb6.webp?v=1784543538","variant_ids":[43472418242659]},"available":true,"name":"iPhone 15 Pro Max SolidX 1G 右看看 - Glacier Blue","public_title":"Glacier Blue","options":["Glacier Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST01298Z7-IV04","featured_media":{"alt":null,"id":27826933399651,"position":12,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e059ea4d9967d1a9ccfedd039be9b9f7d65494cf_27e89e9a-a123-4ed3-9931-f4378727cdb6.webp?v=1784543538"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43472414933091,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"NST0129852-IV04","requires_shipping":true,"taxable":true,"featured_image":{"id":36323025846371,"product_id":7823725658211,"position":13,"created_at":"2026-07-20T18:32:17+08:00","updated_at":"2026-07-20T18:32:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/188f4f2651c3450c3b0459334db68399d6c31d3f_cec57005-352b-484d-b142-0d7f1cc23c04.webp?v=1784543539","variant_ids":[43472414933091]},"available":true,"name":"iPhone 15 Pro Max SolidX 1G 右看看 - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"NST0129852-IV04","featured_media":{"alt":null,"id":27826933596259,"position":13,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/188f4f2651c3450c3b0459334db68399d6c31d3f_cec57005-352b-484d-b142-0d7f1cc23c04.webp?v=1784543539"}},"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: "停產"
}