$product = {"id":7920401809507,"title":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 小貓貓們 Little Cattos Little Cattos","handle":"iphone-14-plus-solidsuit-classic-magsafe-ltc04","description":null,"published_at":"2025-11-11T09:17:11+08:00","created_at":"2025-11-10T11:17:49+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-littlecattos","device-iPhone 14 Plus","merge","reseller-littlecattos"],"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":43828496138339,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MST012610F-LTC04","requires_shipping":true,"taxable":true,"featured_image":{"id":34780932309091,"product_id":7920401809507,"position":2,"created_at":"2025-11-10T11:17:51+08:00","updated_at":"2025-11-10T11:17:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27b0b5ac6b8774d723880c9e8f71dc700ca1a6d5.webp?v=1762744673","variant_ids":[43828496138339]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 小貓貓們 Little Cattos Little Cattos - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012610F-LTC04","featured_media":{"alt":null,"id":26347067900003,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27b0b5ac6b8774d723880c9e8f71dc700ca1a6d5.webp?v=1762744673"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828498399331,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"MST012610D-LTC04","requires_shipping":true,"taxable":true,"featured_image":{"id":34780932669539,"product_id":7920401809507,"position":4,"created_at":"2025-11-10T11:17:52+08:00","updated_at":"2025-11-10T11:17:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df41556b76de0a26bacb9c81770484c51207d73f.webp?v=1762744674","variant_ids":[43828498399331]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 小貓貓們 Little Cattos Little Cattos - Bordeaux Red","public_title":"Bordeaux Red","options":["Bordeaux Red"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012610D-LTC04","featured_media":{"alt":null,"id":26347068260451,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df41556b76de0a26bacb9c81770484c51207d73f.webp?v=1762744674"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828498432099,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"MST0126157-LTC04","requires_shipping":true,"taxable":true,"featured_image":{"id":34780932112483,"product_id":7920401809507,"position":1,"created_at":"2025-11-10T11:17:50+08:00","updated_at":"2025-11-10T11:17:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d1202a513a44fef123ffc2bf02c6ef5d03b5bd0.webp?v=1762744672","variant_ids":[43828498432099]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 小貓貓們 Little Cattos Little Cattos - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126157-LTC04","featured_media":{"alt":null,"id":26347067736163,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d1202a513a44fef123ffc2bf02c6ef5d03b5bd0.webp?v=1762744672"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828498464867,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"MST01261O9-LTC04","requires_shipping":true,"taxable":true,"featured_image":{"id":34780932931683,"product_id":7920401809507,"position":5,"created_at":"2025-11-10T11:17:53+08:00","updated_at":"2025-11-10T11:17:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4c56fa535d4b5e438f5f2b01ab7d679bcd2e96a.webp?v=1762744674","variant_ids":[43828498464867]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 小貓貓們 Little Cattos Little Cattos - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01261O9-LTC04","featured_media":{"alt":null,"id":26347068555363,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4c56fa535d4b5e438f5f2b01ab7d679bcd2e96a.webp?v=1762744674"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828498530403,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"MST012610C-LTC04","requires_shipping":true,"taxable":true,"featured_image":{"id":34780932571235,"product_id":7920401809507,"position":3,"created_at":"2025-11-10T11:17:51+08:00","updated_at":"2025-11-10T11:17:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/835e51e4932b5c41896bcedc56fdfcd45d160130.webp?v=1762744673","variant_ids":[43828498530403]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 小貓貓們 Little Cattos Little Cattos - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012610C-LTC04","featured_media":{"alt":null,"id":26347068129379,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/835e51e4932b5c41896bcedc56fdfcd45d160130.webp?v=1762744673"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828498563171,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0126152-LTC04","requires_shipping":true,"taxable":true,"featured_image":{"id":34780933259363,"product_id":7920401809507,"position":6,"created_at":"2025-11-10T11:17:53+08:00","updated_at":"2025-11-10T11:17:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a61ec1c9911e92fa46bae3cefee4382ac3fc065.webp?v=1762744675","variant_ids":[43828498563171]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 小貓貓們 Little Cattos Little Cattos - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126152-LTC04","featured_media":{"alt":null,"id":26347068883043,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a61ec1c9911e92fa46bae3cefee4382ac3fc065.webp?v=1762744675"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d1202a513a44fef123ffc2bf02c6ef5d03b5bd0.webp?v=1762744672","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27b0b5ac6b8774d723880c9e8f71dc700ca1a6d5.webp?v=1762744673","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/835e51e4932b5c41896bcedc56fdfcd45d160130.webp?v=1762744673","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df41556b76de0a26bacb9c81770484c51207d73f.webp?v=1762744674","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4c56fa535d4b5e438f5f2b01ab7d679bcd2e96a.webp?v=1762744674","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a61ec1c9911e92fa46bae3cefee4382ac3fc065.webp?v=1762744675","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39609a0aaf5d165dd583d062e07038ed1190f60b.webp?v=1762744676"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d1202a513a44fef123ffc2bf02c6ef5d03b5bd0.webp?v=1762744672","options":["color"],"media":[{"alt":null,"id":26347067736163,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d1202a513a44fef123ffc2bf02c6ef5d03b5bd0.webp?v=1762744672"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d1202a513a44fef123ffc2bf02c6ef5d03b5bd0.webp?v=1762744672","width":2000},{"alt":null,"id":26347067900003,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27b0b5ac6b8774d723880c9e8f71dc700ca1a6d5.webp?v=1762744673"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27b0b5ac6b8774d723880c9e8f71dc700ca1a6d5.webp?v=1762744673","width":2000},{"alt":null,"id":26347068129379,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/835e51e4932b5c41896bcedc56fdfcd45d160130.webp?v=1762744673"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/835e51e4932b5c41896bcedc56fdfcd45d160130.webp?v=1762744673","width":2000},{"alt":null,"id":26347068260451,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df41556b76de0a26bacb9c81770484c51207d73f.webp?v=1762744674"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df41556b76de0a26bacb9c81770484c51207d73f.webp?v=1762744674","width":2000},{"alt":null,"id":26347068555363,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4c56fa535d4b5e438f5f2b01ab7d679bcd2e96a.webp?v=1762744674"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4c56fa535d4b5e438f5f2b01ab7d679bcd2e96a.webp?v=1762744674","width":2000},{"alt":null,"id":26347068883043,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a61ec1c9911e92fa46bae3cefee4382ac3fc065.webp?v=1762744675"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a61ec1c9911e92fa46bae3cefee4382ac3fc065.webp?v=1762744675","width":2000},{"alt":null,"id":26347069177955,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39609a0aaf5d165dd583d062e07038ed1190f60b.webp?v=1762744676"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39609a0aaf5d165dd583d062e07038ed1190f60b.webp?v=1762744676","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":43828496138339,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MST012610F-LTC04","requires_shipping":true,"taxable":true,"featured_image":{"id":34780932309091,"product_id":7920401809507,"position":2,"created_at":"2025-11-10T11:17:51+08:00","updated_at":"2025-11-10T11:17:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27b0b5ac6b8774d723880c9e8f71dc700ca1a6d5.webp?v=1762744673","variant_ids":[43828496138339]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 小貓貓們 Little Cattos Little Cattos - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012610F-LTC04","featured_media":{"alt":null,"id":26347067900003,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27b0b5ac6b8774d723880c9e8f71dc700ca1a6d5.webp?v=1762744673"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828498399331,"title":"Bordeaux Red","option1":"Bordeaux Red","option2":null,"option3":null,"sku":"MST012610D-LTC04","requires_shipping":true,"taxable":true,"featured_image":{"id":34780932669539,"product_id":7920401809507,"position":4,"created_at":"2025-11-10T11:17:52+08:00","updated_at":"2025-11-10T11:17:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df41556b76de0a26bacb9c81770484c51207d73f.webp?v=1762744674","variant_ids":[43828498399331]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 小貓貓們 Little Cattos Little Cattos - Bordeaux Red","public_title":"Bordeaux Red","options":["Bordeaux Red"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012610D-LTC04","featured_media":{"alt":null,"id":26347068260451,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/df41556b76de0a26bacb9c81770484c51207d73f.webp?v=1762744674"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828498432099,"title":"Blush Pink","option1":"Blush Pink","option2":null,"option3":null,"sku":"MST0126157-LTC04","requires_shipping":true,"taxable":true,"featured_image":{"id":34780932112483,"product_id":7920401809507,"position":1,"created_at":"2025-11-10T11:17:50+08:00","updated_at":"2025-11-10T11:17:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d1202a513a44fef123ffc2bf02c6ef5d03b5bd0.webp?v=1762744672","variant_ids":[43828498432099]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 小貓貓們 Little Cattos Little Cattos - Blush Pink","public_title":"Blush Pink","options":["Blush Pink"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126157-LTC04","featured_media":{"alt":null,"id":26347067736163,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2d1202a513a44fef123ffc2bf02c6ef5d03b5bd0.webp?v=1762744672"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828498464867,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"MST01261O9-LTC04","requires_shipping":true,"taxable":true,"featured_image":{"id":34780932931683,"product_id":7920401809507,"position":5,"created_at":"2025-11-10T11:17:53+08:00","updated_at":"2025-11-10T11:17:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4c56fa535d4b5e438f5f2b01ab7d679bcd2e96a.webp?v=1762744674","variant_ids":[43828498464867]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 小貓貓們 Little Cattos Little Cattos - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST01261O9-LTC04","featured_media":{"alt":null,"id":26347068555363,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4c56fa535d4b5e438f5f2b01ab7d679bcd2e96a.webp?v=1762744674"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828498530403,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"MST012610C-LTC04","requires_shipping":true,"taxable":true,"featured_image":{"id":34780932571235,"product_id":7920401809507,"position":3,"created_at":"2025-11-10T11:17:51+08:00","updated_at":"2025-11-10T11:17:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/835e51e4932b5c41896bcedc56fdfcd45d160130.webp?v=1762744673","variant_ids":[43828498530403]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 小貓貓們 Little Cattos Little Cattos - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012610C-LTC04","featured_media":{"alt":null,"id":26347068129379,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/835e51e4932b5c41896bcedc56fdfcd45d160130.webp?v=1762744673"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43828498563171,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MST0126152-LTC04","requires_shipping":true,"taxable":true,"featured_image":{"id":34780933259363,"product_id":7920401809507,"position":6,"created_at":"2025-11-10T11:17:53+08:00","updated_at":"2025-11-10T11:17:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a61ec1c9911e92fa46bae3cefee4382ac3fc065.webp?v=1762744675","variant_ids":[43828498563171]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 小貓貓們 Little Cattos Little Cattos - Black","public_title":"Black","options":["Black"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST0126152-LTC04","featured_media":{"alt":null,"id":26347068883043,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3a61ec1c9911e92fa46bae3cefee4382ac3fc065.webp?v=1762744675"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":43828496138339,"title":"Neon Orange","option1":"Neon Orange","option2":null,"option3":null,"sku":"MST012610F-LTC04","requires_shipping":true,"taxable":true,"featured_image":{"id":34780932309091,"product_id":7920401809507,"position":2,"created_at":"2025-11-10T11:17:51+08:00","updated_at":"2025-11-10T11:17:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27b0b5ac6b8774d723880c9e8f71dc700ca1a6d5.webp?v=1762744673","variant_ids":[43828496138339]},"available":true,"name":"iPhone 14 Plus SolidSuit (MagSafe 兼容) 小貓貓們 Little Cattos Little Cattos - Neon Orange","public_title":"Neon Orange","options":["Neon Orange"],"price":125000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MST012610F-LTC04","featured_media":{"alt":null,"id":26347067900003,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/27b0b5ac6b8774d723880c9e8f71dc700ca1a6d5.webp?v=1762744673"}},"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: "停產" }