$product = {"id":8104566292579,"title":"iPhone 18 Pro Max AirX 柴語錄 一起宅在家","handle":"iphone-18-pro-max-airx-magsafe-fz47","description":null,"published_at":"2026-09-14T20:51:44+08:00","created_at":"2026-08-11T15:18:55+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-shiba-says","device-iPhone 18 Pro Max","merge","reseller-shiba-says"],"price":195000,"price_min":195000,"price_max":195000,"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":44464569253987,"title":"Ashen Violet","option1":"Ashen Violet","option2":null,"option3":null,"sku":"MAR013956C-FZ47","requires_shipping":true,"taxable":true,"featured_image":{"id":36541627826275,"product_id":8104566292579,"position":4,"created_at":"2026-08-11T15:19:22+08:00","updated_at":"2026-08-11T15:19:24+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79c6ece22b5c5bb2329981e07bc1c27df8b1b0ff_66ee8785-ea21-48eb-99d4-958401065acb.webp?v=1786432764","variant_ids":[44464569253987]},"available":true,"name":"iPhone 18 Pro Max AirX 柴語錄 一起宅在家 - Ashen Violet","public_title":"Ashen Violet","options":["Ashen Violet"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013956C-FZ47","featured_media":{"alt":null,"id":28044810616931,"position":4,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79c6ece22b5c5bb2329981e07bc1c27df8b1b0ff_66ee8785-ea21-48eb-99d4-958401065acb.webp?v=1786432764"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44464575283299,"title":"Vero Black","option1":"Vero Black","option2":null,"option3":null,"sku":"MAR013954E-FZ47","requires_shipping":true,"taxable":true,"featured_image":{"id":36541627400291,"product_id":8104566292579,"position":3,"created_at":"2026-08-11T15:19:20+08:00","updated_at":"2026-08-11T15:19:22+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43df9c12742007efe89b09866cd5be1706de9aef.webp?v=1786432762","variant_ids":[44464575283299]},"available":true,"name":"iPhone 18 Pro Max AirX 柴語錄 一起宅在家 - Vero Black","public_title":"Vero Black","options":["Vero Black"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013954E-FZ47","featured_media":{"alt":null,"id":28044810289251,"position":3,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43df9c12742007efe89b09866cd5be1706de9aef.webp?v=1786432762"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44464575709283,"title":"Flux Gray","option1":"Flux Gray","option2":null,"option3":null,"sku":"MAR013954F-FZ47","requires_shipping":true,"taxable":true,"featured_image":{"id":36541628252259,"product_id":8104566292579,"position":5,"created_at":"2026-08-11T15:19:24+08:00","updated_at":"2026-08-11T15:19:26+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/518353812c3bcb8219309a872d42b5a6816b2efb.webp?v=1786432766","variant_ids":[44464575709283]},"available":true,"name":"iPhone 18 Pro Max AirX 柴語錄 一起宅在家 - Flux Gray","public_title":"Flux Gray","options":["Flux Gray"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013954F-FZ47","featured_media":{"alt":null,"id":28044810977379,"position":5,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/518353812c3bcb8219309a872d42b5a6816b2efb.webp?v=1786432766"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44464576233571,"title":"Ridgeline Gray","option1":"Ridgeline Gray","option2":null,"option3":null,"sku":"MAR013956D-FZ47","requires_shipping":true,"taxable":true,"featured_image":{"id":36541625925731,"product_id":8104566292579,"position":1,"created_at":"2026-08-11T15:19:11+08:00","updated_at":"2026-08-11T15:19:13+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aeba3bd3c4d82253e8b4173f62ecc73046e8b4b0_60b937c5-b6b1-44aa-b758-b90710f98230.webp?v=1786432753","variant_ids":[44464576233571]},"available":true,"name":"iPhone 18 Pro Max AirX 柴語錄 一起宅在家 - Ridgeline Gray","public_title":"Ridgeline Gray","options":["Ridgeline Gray"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013956D-FZ47","featured_media":{"alt":null,"id":28044808683619,"position":1,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aeba3bd3c4d82253e8b4173f62ecc73046e8b4b0_60b937c5-b6b1-44aa-b758-b90710f98230.webp?v=1786432753"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44464576725091,"title":"Trailhead Green","option1":"Trailhead Green","option2":null,"option3":null,"sku":"MAR013956E-FZ47","requires_shipping":true,"taxable":true,"featured_image":{"id":36541626941539,"product_id":8104566292579,"position":2,"created_at":"2026-08-11T15:19:18+08:00","updated_at":"2026-08-11T15:19:19+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/782c983f4bdd2bb86dd981574d08ac6b650d6927_6913513d-d330-47a8-813d-7263926c7730.webp?v=1786432759","variant_ids":[44464576725091]},"available":true,"name":"iPhone 18 Pro Max AirX 柴語錄 一起宅在家 - Trailhead Green","public_title":"Trailhead Green","options":["Trailhead Green"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013956E-FZ47","featured_media":{"alt":null,"id":28044809732195,"position":2,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/782c983f4bdd2bb86dd981574d08ac6b650d6927_6913513d-d330-47a8-813d-7263926c7730.webp?v=1786432759"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":67605579956323,"title":"Misted Gray","option1":"Misted Gray","option2":null,"option3":null,"sku":"MAR013957G-FZ47","requires_shipping":true,"taxable":true,"featured_image":{"id":43138784264291,"product_id":8104566292579,"position":6,"created_at":"2026-09-30T11:14:21+08:00","updated_at":"2026-09-30T11:14:23+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MAR013957G-FZ47_0f79cf4a-a7a8-43c3-8d70-9074ab3adf0c.webp?v=1790738063","variant_ids":[67605579956323]},"available":true,"name":"iPhone 18 Pro Max AirX 柴語錄 一起宅在家 - Misted Gray","public_title":"Misted Gray","options":["Misted Gray"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013957G-FZ47","featured_media":{"alt":null,"id":46254283587683,"position":6,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MAR013957G-FZ47_0f79cf4a-a7a8-43c3-8d70-9074ab3adf0c.webp?v=1790738063"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aeba3bd3c4d82253e8b4173f62ecc73046e8b4b0_60b937c5-b6b1-44aa-b758-b90710f98230.webp?v=1786432753","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/782c983f4bdd2bb86dd981574d08ac6b650d6927_6913513d-d330-47a8-813d-7263926c7730.webp?v=1786432759","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43df9c12742007efe89b09866cd5be1706de9aef.webp?v=1786432762","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79c6ece22b5c5bb2329981e07bc1c27df8b1b0ff_66ee8785-ea21-48eb-99d4-958401065acb.webp?v=1786432764","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/518353812c3bcb8219309a872d42b5a6816b2efb.webp?v=1786432766","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MAR013957G-FZ47_0f79cf4a-a7a8-43c3-8d70-9074ab3adf0c.webp?v=1790738063"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aeba3bd3c4d82253e8b4173f62ecc73046e8b4b0_60b937c5-b6b1-44aa-b758-b90710f98230.webp?v=1786432753","options":["color"],"media":[{"alt":null,"id":28044808683619,"position":1,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aeba3bd3c4d82253e8b4173f62ecc73046e8b4b0_60b937c5-b6b1-44aa-b758-b90710f98230.webp?v=1786432753"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aeba3bd3c4d82253e8b4173f62ecc73046e8b4b0_60b937c5-b6b1-44aa-b758-b90710f98230.webp?v=1786432753","width":550},{"alt":null,"id":28044809732195,"position":2,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/782c983f4bdd2bb86dd981574d08ac6b650d6927_6913513d-d330-47a8-813d-7263926c7730.webp?v=1786432759"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/782c983f4bdd2bb86dd981574d08ac6b650d6927_6913513d-d330-47a8-813d-7263926c7730.webp?v=1786432759","width":550},{"alt":null,"id":28044810289251,"position":3,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43df9c12742007efe89b09866cd5be1706de9aef.webp?v=1786432762"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43df9c12742007efe89b09866cd5be1706de9aef.webp?v=1786432762","width":550},{"alt":null,"id":28044810616931,"position":4,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79c6ece22b5c5bb2329981e07bc1c27df8b1b0ff_66ee8785-ea21-48eb-99d4-958401065acb.webp?v=1786432764"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79c6ece22b5c5bb2329981e07bc1c27df8b1b0ff_66ee8785-ea21-48eb-99d4-958401065acb.webp?v=1786432764","width":550},{"alt":null,"id":28044810977379,"position":5,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/518353812c3bcb8219309a872d42b5a6816b2efb.webp?v=1786432766"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/518353812c3bcb8219309a872d42b5a6816b2efb.webp?v=1786432766","width":550},{"alt":null,"id":46254283587683,"position":6,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MAR013957G-FZ47_0f79cf4a-a7a8-43c3-8d70-9074ab3adf0c.webp?v=1790738063"},"aspect_ratio":1.0,"height":550,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MAR013957G-FZ47_0f79cf4a-a7a8-43c3-8d70-9074ab3adf0c.webp?v=1790738063","width":550}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44464569253987,"title":"Ashen Violet","option1":"Ashen Violet","option2":null,"option3":null,"sku":"MAR013956C-FZ47","requires_shipping":true,"taxable":true,"featured_image":{"id":36541627826275,"product_id":8104566292579,"position":4,"created_at":"2026-08-11T15:19:22+08:00","updated_at":"2026-08-11T15:19:24+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79c6ece22b5c5bb2329981e07bc1c27df8b1b0ff_66ee8785-ea21-48eb-99d4-958401065acb.webp?v=1786432764","variant_ids":[44464569253987]},"available":true,"name":"iPhone 18 Pro Max AirX 柴語錄 一起宅在家 - Ashen Violet","public_title":"Ashen Violet","options":["Ashen Violet"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013956C-FZ47","featured_media":{"alt":null,"id":28044810616931,"position":4,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79c6ece22b5c5bb2329981e07bc1c27df8b1b0ff_66ee8785-ea21-48eb-99d4-958401065acb.webp?v=1786432764"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44464575283299,"title":"Vero Black","option1":"Vero Black","option2":null,"option3":null,"sku":"MAR013954E-FZ47","requires_shipping":true,"taxable":true,"featured_image":{"id":36541627400291,"product_id":8104566292579,"position":3,"created_at":"2026-08-11T15:19:20+08:00","updated_at":"2026-08-11T15:19:22+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43df9c12742007efe89b09866cd5be1706de9aef.webp?v=1786432762","variant_ids":[44464575283299]},"available":true,"name":"iPhone 18 Pro Max AirX 柴語錄 一起宅在家 - Vero Black","public_title":"Vero Black","options":["Vero Black"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013954E-FZ47","featured_media":{"alt":null,"id":28044810289251,"position":3,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/43df9c12742007efe89b09866cd5be1706de9aef.webp?v=1786432762"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44464575709283,"title":"Flux Gray","option1":"Flux Gray","option2":null,"option3":null,"sku":"MAR013954F-FZ47","requires_shipping":true,"taxable":true,"featured_image":{"id":36541628252259,"product_id":8104566292579,"position":5,"created_at":"2026-08-11T15:19:24+08:00","updated_at":"2026-08-11T15:19:26+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/518353812c3bcb8219309a872d42b5a6816b2efb.webp?v=1786432766","variant_ids":[44464575709283]},"available":true,"name":"iPhone 18 Pro Max AirX 柴語錄 一起宅在家 - Flux Gray","public_title":"Flux Gray","options":["Flux Gray"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013954F-FZ47","featured_media":{"alt":null,"id":28044810977379,"position":5,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/518353812c3bcb8219309a872d42b5a6816b2efb.webp?v=1786432766"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44464576233571,"title":"Ridgeline Gray","option1":"Ridgeline Gray","option2":null,"option3":null,"sku":"MAR013956D-FZ47","requires_shipping":true,"taxable":true,"featured_image":{"id":36541625925731,"product_id":8104566292579,"position":1,"created_at":"2026-08-11T15:19:11+08:00","updated_at":"2026-08-11T15:19:13+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aeba3bd3c4d82253e8b4173f62ecc73046e8b4b0_60b937c5-b6b1-44aa-b758-b90710f98230.webp?v=1786432753","variant_ids":[44464576233571]},"available":true,"name":"iPhone 18 Pro Max AirX 柴語錄 一起宅在家 - Ridgeline Gray","public_title":"Ridgeline Gray","options":["Ridgeline Gray"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013956D-FZ47","featured_media":{"alt":null,"id":28044808683619,"position":1,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/aeba3bd3c4d82253e8b4173f62ecc73046e8b4b0_60b937c5-b6b1-44aa-b758-b90710f98230.webp?v=1786432753"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44464576725091,"title":"Trailhead Green","option1":"Trailhead Green","option2":null,"option3":null,"sku":"MAR013956E-FZ47","requires_shipping":true,"taxable":true,"featured_image":{"id":36541626941539,"product_id":8104566292579,"position":2,"created_at":"2026-08-11T15:19:18+08:00","updated_at":"2026-08-11T15:19:19+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/782c983f4bdd2bb86dd981574d08ac6b650d6927_6913513d-d330-47a8-813d-7263926c7730.webp?v=1786432759","variant_ids":[44464576725091]},"available":true,"name":"iPhone 18 Pro Max AirX 柴語錄 一起宅在家 - Trailhead Green","public_title":"Trailhead Green","options":["Trailhead Green"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013956E-FZ47","featured_media":{"alt":null,"id":28044809732195,"position":2,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/782c983f4bdd2bb86dd981574d08ac6b650d6927_6913513d-d330-47a8-813d-7263926c7730.webp?v=1786432759"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":67605579956323,"title":"Misted Gray","option1":"Misted Gray","option2":null,"option3":null,"sku":"MAR013957G-FZ47","requires_shipping":true,"taxable":true,"featured_image":{"id":43138784264291,"product_id":8104566292579,"position":6,"created_at":"2026-09-30T11:14:21+08:00","updated_at":"2026-09-30T11:14:23+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MAR013957G-FZ47_0f79cf4a-a7a8-43c3-8d70-9074ab3adf0c.webp?v=1790738063","variant_ids":[67605579956323]},"available":true,"name":"iPhone 18 Pro Max AirX 柴語錄 一起宅在家 - Misted Gray","public_title":"Misted Gray","options":["Misted Gray"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013957G-FZ47","featured_media":{"alt":null,"id":46254283587683,"position":6,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/MAR013957G-FZ47_0f79cf4a-a7a8-43c3-8d70-9074ab3adf0c.webp?v=1790738063"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44464569253987,"title":"Ashen Violet","option1":"Ashen Violet","option2":null,"option3":null,"sku":"MAR013956C-FZ47","requires_shipping":true,"taxable":true,"featured_image":{"id":36541627826275,"product_id":8104566292579,"position":4,"created_at":"2026-08-11T15:19:22+08:00","updated_at":"2026-08-11T15:19:24+08:00","alt":null,"width":550,"height":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79c6ece22b5c5bb2329981e07bc1c27df8b1b0ff_66ee8785-ea21-48eb-99d4-958401065acb.webp?v=1786432764","variant_ids":[44464569253987]},"available":true,"name":"iPhone 18 Pro Max AirX 柴語錄 一起宅在家 - Ashen Violet","public_title":"Ashen Violet","options":["Ashen Violet"],"price":195000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MAR013956C-FZ47","featured_media":{"alt":null,"id":28044810616931,"position":4,"preview_image":{"aspect_ratio":1.0,"height":550,"width":550,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/79c6ece22b5c5bb2329981e07bc1c27df8b1b0ff_66ee8785-ea21-48eb-99d4-958401065acb.webp?v=1786432764"}},"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: "停產"
}