$product = {"id":7942244532323,"title":"AirPods 3 AirPods Case Seungyoun Kim 黑衣小狗 Pingu Kim","handle":"airpods-3-airpods-case-seu11","description":null,"published_at":"2025-12-23T09:37:27+08:00","created_at":"2025-12-22T17:37:29+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-seungyounkim","device-Airpods 3","merge","reseller-seungyounkim"],"price":75000,"price_min":75000,"price_max":75000,"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":43904094863459,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"ABT01245P2-SEU11","requires_shipping":true,"taxable":true,"featured_image":{"id":34987510661219,"product_id":7942244532323,"position":3,"created_at":"2025-12-22T17:37:50+08:00","updated_at":"2025-12-22T17:37:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ace359139f32cf87d33945877b898807d74a7b2.webp?v=1766396272","variant_ids":[43904094863459]},"available":true,"name":"AirPods 3 AirPods Case Seungyoun Kim 黑衣小狗 Pingu Kim - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01245P2-SEU11","featured_media":{"alt":null,"id":26548528578659,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ace359139f32cf87d33945877b898807d74a7b2.webp?v=1766396272"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904094994531,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"ABT01245O9-SEU11","requires_shipping":true,"taxable":true,"featured_image":{"id":34987510890595,"product_id":7942244532323,"position":5,"created_at":"2025-12-22T17:37:51+08:00","updated_at":"2025-12-22T17:37:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/079d150df9dc668f2b5587fa443fd1e6c2b33aa6.webp?v=1766396272","variant_ids":[43904094994531]},"available":true,"name":"AirPods 3 AirPods Case Seungyoun Kim 黑衣小狗 Pingu Kim - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01245O9-SEU11","featured_media":{"alt":null,"id":26548528808035,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/079d150df9dc668f2b5587fa443fd1e6c2b33aa6.webp?v=1766396272"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904095027299,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"ABT0124552-SEU11","requires_shipping":true,"taxable":true,"featured_image":{"id":34987511119971,"product_id":7942244532323,"position":8,"created_at":"2025-12-22T17:37:52+08:00","updated_at":"2025-12-22T17:37:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b7a27f99e974f838810c82668a64c185cc49e3c.webp?v=1766396274","variant_ids":[43904095027299]},"available":true,"name":"AirPods 3 AirPods Case Seungyoun Kim 黑衣小狗 Pingu Kim - Black","public_title":"Black","options":["Black"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT0124552-SEU11","featured_media":{"alt":null,"id":26548529004643,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b7a27f99e974f838810c82668a64c185cc49e3c.webp?v=1766396274"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904095191139,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"ABT01245O8-SEU11","requires_shipping":true,"taxable":true,"featured_image":{"id":34987510825059,"product_id":7942244532323,"position":4,"created_at":"2025-12-22T17:37:50+08:00","updated_at":"2025-12-22T17:37:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4415f94db9202ab1d5b462f4174b4965e39eea1.webp?v=1766396272","variant_ids":[43904095191139]},"available":true,"name":"AirPods 3 AirPods Case Seungyoun Kim 黑衣小狗 Pingu Kim - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01245O8-SEU11","featured_media":{"alt":null,"id":26548528742499,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4415f94db9202ab1d5b462f4174b4965e39eea1.webp?v=1766396272"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904095289443,"title":"Transparent","option1":"Transparent","option2":null,"option3":null,"sku":"ABT01245R4-SEU11","requires_shipping":true,"taxable":true,"featured_image":{"id":34987509874787,"product_id":7942244532323,"position":1,"created_at":"2025-12-22T17:37:49+08:00","updated_at":"2025-12-22T17:37:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01e590793bf969742ddc073fd344b34bc9559fc4.webp?v=1766396271","variant_ids":[43904095289443]},"available":true,"name":"AirPods 3 AirPods Case Seungyoun Kim 黑衣小狗 Pingu Kim - Transparent","public_title":"Transparent","options":["Transparent"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01245R4-SEU11","featured_media":{"alt":null,"id":26548527759459,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01e590793bf969742ddc073fd344b34bc9559fc4.webp?v=1766396271"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904095387747,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"ABT01245P1-SEU11","requires_shipping":true,"taxable":true,"featured_image":{"id":34987510988899,"product_id":7942244532323,"position":6,"created_at":"2025-12-22T17:37:51+08:00","updated_at":"2025-12-22T17:37:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9b026a011086ad10da6cf9a8e58a569e7c06926.webp?v=1766396273","variant_ids":[43904095387747]},"available":true,"name":"AirPods 3 AirPods Case Seungyoun Kim 黑衣小狗 Pingu Kim - Violet","public_title":"Violet","options":["Violet"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01245P1-SEU11","featured_media":{"alt":null,"id":26548528873571,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9b026a011086ad10da6cf9a8e58a569e7c06926.webp?v=1766396273"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01e590793bf969742ddc073fd344b34bc9559fc4.webp?v=1766396271","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31462c5f9aa8d420a9957e6a90e78ad148e2dcaf.webp?v=1766396271","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ace359139f32cf87d33945877b898807d74a7b2.webp?v=1766396272","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4415f94db9202ab1d5b462f4174b4965e39eea1.webp?v=1766396272","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/079d150df9dc668f2b5587fa443fd1e6c2b33aa6.webp?v=1766396272","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9b026a011086ad10da6cf9a8e58a569e7c06926.webp?v=1766396273","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88f374d37470ae3c592d103511744a02b8ad889a.webp?v=1766396273","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b7a27f99e974f838810c82668a64c185cc49e3c.webp?v=1766396274"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01e590793bf969742ddc073fd344b34bc9559fc4.webp?v=1766396271","options":["color"],"media":[{"alt":null,"id":26548527759459,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01e590793bf969742ddc073fd344b34bc9559fc4.webp?v=1766396271"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01e590793bf969742ddc073fd344b34bc9559fc4.webp?v=1766396271","width":2000},{"alt":null,"id":26548528218211,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31462c5f9aa8d420a9957e6a90e78ad148e2dcaf.webp?v=1766396271"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31462c5f9aa8d420a9957e6a90e78ad148e2dcaf.webp?v=1766396271","width":2000},{"alt":null,"id":26548528578659,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ace359139f32cf87d33945877b898807d74a7b2.webp?v=1766396272"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ace359139f32cf87d33945877b898807d74a7b2.webp?v=1766396272","width":2000},{"alt":null,"id":26548528742499,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4415f94db9202ab1d5b462f4174b4965e39eea1.webp?v=1766396272"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4415f94db9202ab1d5b462f4174b4965e39eea1.webp?v=1766396272","width":2000},{"alt":null,"id":26548528808035,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/079d150df9dc668f2b5587fa443fd1e6c2b33aa6.webp?v=1766396272"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/079d150df9dc668f2b5587fa443fd1e6c2b33aa6.webp?v=1766396272","width":2000},{"alt":null,"id":26548528873571,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9b026a011086ad10da6cf9a8e58a569e7c06926.webp?v=1766396273"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9b026a011086ad10da6cf9a8e58a569e7c06926.webp?v=1766396273","width":2000},{"alt":null,"id":26548528939107,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88f374d37470ae3c592d103511744a02b8ad889a.webp?v=1766396273"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88f374d37470ae3c592d103511744a02b8ad889a.webp?v=1766396273","width":2000},{"alt":null,"id":26548529004643,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b7a27f99e974f838810c82668a64c185cc49e3c.webp?v=1766396274"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b7a27f99e974f838810c82668a64c185cc49e3c.webp?v=1766396274","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43904094863459,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"ABT01245P2-SEU11","requires_shipping":true,"taxable":true,"featured_image":{"id":34987510661219,"product_id":7942244532323,"position":3,"created_at":"2025-12-22T17:37:50+08:00","updated_at":"2025-12-22T17:37:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ace359139f32cf87d33945877b898807d74a7b2.webp?v=1766396272","variant_ids":[43904094863459]},"available":true,"name":"AirPods 3 AirPods Case Seungyoun Kim 黑衣小狗 Pingu Kim - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01245P2-SEU11","featured_media":{"alt":null,"id":26548528578659,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ace359139f32cf87d33945877b898807d74a7b2.webp?v=1766396272"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904094994531,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"ABT01245O9-SEU11","requires_shipping":true,"taxable":true,"featured_image":{"id":34987510890595,"product_id":7942244532323,"position":5,"created_at":"2025-12-22T17:37:51+08:00","updated_at":"2025-12-22T17:37:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/079d150df9dc668f2b5587fa443fd1e6c2b33aa6.webp?v=1766396272","variant_ids":[43904094994531]},"available":true,"name":"AirPods 3 AirPods Case Seungyoun Kim 黑衣小狗 Pingu Kim - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01245O9-SEU11","featured_media":{"alt":null,"id":26548528808035,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/079d150df9dc668f2b5587fa443fd1e6c2b33aa6.webp?v=1766396272"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904095027299,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"ABT0124552-SEU11","requires_shipping":true,"taxable":true,"featured_image":{"id":34987511119971,"product_id":7942244532323,"position":8,"created_at":"2025-12-22T17:37:52+08:00","updated_at":"2025-12-22T17:37:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b7a27f99e974f838810c82668a64c185cc49e3c.webp?v=1766396274","variant_ids":[43904095027299]},"available":true,"name":"AirPods 3 AirPods Case Seungyoun Kim 黑衣小狗 Pingu Kim - Black","public_title":"Black","options":["Black"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT0124552-SEU11","featured_media":{"alt":null,"id":26548529004643,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4b7a27f99e974f838810c82668a64c185cc49e3c.webp?v=1766396274"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904095191139,"title":"Ash Grey","option1":"Ash Grey","option2":null,"option3":null,"sku":"ABT01245O8-SEU11","requires_shipping":true,"taxable":true,"featured_image":{"id":34987510825059,"product_id":7942244532323,"position":4,"created_at":"2025-12-22T17:37:50+08:00","updated_at":"2025-12-22T17:37:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4415f94db9202ab1d5b462f4174b4965e39eea1.webp?v=1766396272","variant_ids":[43904095191139]},"available":true,"name":"AirPods 3 AirPods Case Seungyoun Kim 黑衣小狗 Pingu Kim - Ash Grey","public_title":"Ash Grey","options":["Ash Grey"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01245O8-SEU11","featured_media":{"alt":null,"id":26548528742499,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4415f94db9202ab1d5b462f4174b4965e39eea1.webp?v=1766396272"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904095289443,"title":"Transparent","option1":"Transparent","option2":null,"option3":null,"sku":"ABT01245R4-SEU11","requires_shipping":true,"taxable":true,"featured_image":{"id":34987509874787,"product_id":7942244532323,"position":1,"created_at":"2025-12-22T17:37:49+08:00","updated_at":"2025-12-22T17:37:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01e590793bf969742ddc073fd344b34bc9559fc4.webp?v=1766396271","variant_ids":[43904095289443]},"available":true,"name":"AirPods 3 AirPods Case Seungyoun Kim 黑衣小狗 Pingu Kim - Transparent","public_title":"Transparent","options":["Transparent"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01245R4-SEU11","featured_media":{"alt":null,"id":26548527759459,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/01e590793bf969742ddc073fd344b34bc9559fc4.webp?v=1766396271"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43904095387747,"title":"Violet","option1":"Violet","option2":null,"option3":null,"sku":"ABT01245P1-SEU11","requires_shipping":true,"taxable":true,"featured_image":{"id":34987510988899,"product_id":7942244532323,"position":6,"created_at":"2025-12-22T17:37:51+08:00","updated_at":"2025-12-22T17:37:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9b026a011086ad10da6cf9a8e58a569e7c06926.webp?v=1766396273","variant_ids":[43904095387747]},"available":true,"name":"AirPods 3 AirPods Case Seungyoun Kim 黑衣小狗 Pingu Kim - Violet","public_title":"Violet","options":["Violet"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01245P1-SEU11","featured_media":{"alt":null,"id":26548528873571,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d9b026a011086ad10da6cf9a8e58a569e7c06926.webp?v=1766396273"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43904094863459,"title":"Sage Green","option1":"Sage Green","option2":null,"option3":null,"sku":"ABT01245P2-SEU11","requires_shipping":true,"taxable":true,"featured_image":{"id":34987510661219,"product_id":7942244532323,"position":3,"created_at":"2025-12-22T17:37:50+08:00","updated_at":"2025-12-22T17:37:52+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ace359139f32cf87d33945877b898807d74a7b2.webp?v=1766396272","variant_ids":[43904094863459]},"available":true,"name":"AirPods 3 AirPods Case Seungyoun Kim 黑衣小狗 Pingu Kim - Sage Green","public_title":"Sage Green","options":["Sage Green"],"price":75000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"ABT01245P2-SEU11","featured_media":{"alt":null,"id":26548528578659,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ace359139f32cf87d33945877b898807d74a7b2.webp?v=1766396272"}},"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: "停產"
}