$product = {"id":7994668384355,"title":"iPhone 13 Pro Max SolidSuit Hello Kitty 千鳥格長腿款","handle":"iphone-13-pro-max-solidsuit-classic-kit108","description":null,"published_at":"2026-04-13T14:59:00+08:00","created_at":"2026-04-13T11:52:13+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-hello-kitty","device-iPhone 13 Pro Max","merge","reseller-hello-kitty"],"price":83000,"price_min":83000,"price_max":83000,"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":44113156538467,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"SST012320E-KIT108","requires_shipping":true,"taxable":true,"featured_image":{"id":35636403535971,"product_id":7994668384355,"position":5,"created_at":"2026-04-13T11:52:51+08:00","updated_at":"2026-04-13T11:52:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2806781ca8f53295da1df1a1a94baf801b5c7fce.webp?v=1776052373","variant_ids":[44113156538467]},"available":true,"name":"iPhone 13 Pro Max SolidSuit Hello Kitty 千鳥格長腿款 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST012320E-KIT108","featured_media":{"alt":null,"id":27165544317027,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2806781ca8f53295da1df1a1a94baf801b5c7fce.webp?v=1776052373"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44113165385827,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"SST012320C-KIT108","requires_shipping":true,"taxable":true,"featured_image":{"id":35636402847843,"product_id":7994668384355,"position":3,"created_at":"2026-04-13T11:52:49+08:00","updated_at":"2026-04-13T11:52:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87acdc00d9e94489b10493eefd29214c54d6d56d.webp?v=1776052371","variant_ids":[44113165385827]},"available":true,"name":"iPhone 13 Pro Max SolidSuit Hello Kitty 千鳥格長腿款 - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST012320C-KIT108","featured_media":{"alt":null,"id":27165543628899,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87acdc00d9e94489b10493eefd29214c54d6d56d.webp?v=1776052371"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44113165975651,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"SST012320B-KIT108","requires_shipping":true,"taxable":true,"featured_image":{"id":35636404125795,"product_id":7994668384355,"position":7,"created_at":"2026-04-13T11:52:52+08:00","updated_at":"2026-04-13T11:52:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ea2ede5e04fd0ec411420971ea76966d861aacc.webp?v=1776052374","variant_ids":[44113165975651]},"available":true,"name":"iPhone 13 Pro Max SolidSuit Hello Kitty 千鳥格長腿款 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST012320B-KIT108","featured_media":{"alt":null,"id":27165544906851,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ea2ede5e04fd0ec411420971ea76966d861aacc.webp?v=1776052374"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44113166434403,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"SST01232Z9-KIT108","requires_shipping":true,"taxable":true,"featured_image":{"id":35636404387939,"product_id":7994668384355,"position":8,"created_at":"2026-04-13T11:52:53+08:00","updated_at":"2026-04-13T11:52:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d688f2db585f4c6288381434015ba9241a26d05e.webp?v=1776052375","variant_ids":[44113166434403]},"available":true,"name":"iPhone 13 Pro Max SolidSuit Hello Kitty 千鳥格長腿款 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01232Z9-KIT108","featured_media":{"alt":null,"id":27165545168995,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d688f2db585f4c6288381434015ba9241a26d05e.webp?v=1776052375"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44113166860387,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"SST01232O9-KIT108","requires_shipping":true,"taxable":true,"featured_image":{"id":35636403863651,"product_id":7994668384355,"position":6,"created_at":"2026-04-13T11:52:51+08:00","updated_at":"2026-04-13T11:52:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a4b8e9260196c56e180fc967dffa08515776ae3.webp?v=1776052373","variant_ids":[44113166860387]},"available":true,"name":"iPhone 13 Pro Max SolidSuit Hello Kitty 千鳥格長腿款 - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01232O9-KIT108","featured_media":{"alt":null,"id":27165544611939,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a4b8e9260196c56e180fc967dffa08515776ae3.webp?v=1776052373"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44113167384675,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0123252-KIT108","requires_shipping":true,"taxable":true,"featured_image":{"id":35636402290787,"product_id":7994668384355,"position":2,"created_at":"2026-04-13T11:52:48+08:00","updated_at":"2026-04-13T11:52:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0552e333cbfe7ab94b731a26e7498420a614b123.webp?v=1776052370","variant_ids":[44113167384675]},"available":true,"name":"iPhone 13 Pro Max SolidSuit Hello Kitty 千鳥格長腿款 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0123252-KIT108","featured_media":{"alt":null,"id":27165543071843,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0552e333cbfe7ab94b731a26e7498420a614b123.webp?v=1776052370"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fd3f0fb46abf29caaacd5c92a4de9c0b0ff2b66.webp?v=1776052370","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0552e333cbfe7ab94b731a26e7498420a614b123.webp?v=1776052370","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87acdc00d9e94489b10493eefd29214c54d6d56d.webp?v=1776052371","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c2b1a30ea8ceb9c8622cd2952ef4bccd105537a.webp?v=1776052372","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2806781ca8f53295da1df1a1a94baf801b5c7fce.webp?v=1776052373","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a4b8e9260196c56e180fc967dffa08515776ae3.webp?v=1776052373","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ea2ede5e04fd0ec411420971ea76966d861aacc.webp?v=1776052374","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d688f2db585f4c6288381434015ba9241a26d05e.webp?v=1776052375"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fd3f0fb46abf29caaacd5c92a4de9c0b0ff2b66.webp?v=1776052370","options":["color"],"media":[{"alt":null,"id":27165542613091,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fd3f0fb46abf29caaacd5c92a4de9c0b0ff2b66.webp?v=1776052370"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fd3f0fb46abf29caaacd5c92a4de9c0b0ff2b66.webp?v=1776052370","width":2000},{"alt":null,"id":27165543071843,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0552e333cbfe7ab94b731a26e7498420a614b123.webp?v=1776052370"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0552e333cbfe7ab94b731a26e7498420a614b123.webp?v=1776052370","width":2000},{"alt":null,"id":27165543628899,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87acdc00d9e94489b10493eefd29214c54d6d56d.webp?v=1776052371"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87acdc00d9e94489b10493eefd29214c54d6d56d.webp?v=1776052371","width":2000},{"alt":null,"id":27165543956579,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c2b1a30ea8ceb9c8622cd2952ef4bccd105537a.webp?v=1776052372"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9c2b1a30ea8ceb9c8622cd2952ef4bccd105537a.webp?v=1776052372","width":2000},{"alt":null,"id":27165544317027,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2806781ca8f53295da1df1a1a94baf801b5c7fce.webp?v=1776052373"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2806781ca8f53295da1df1a1a94baf801b5c7fce.webp?v=1776052373","width":2000},{"alt":null,"id":27165544611939,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a4b8e9260196c56e180fc967dffa08515776ae3.webp?v=1776052373"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a4b8e9260196c56e180fc967dffa08515776ae3.webp?v=1776052373","width":2000},{"alt":null,"id":27165544906851,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ea2ede5e04fd0ec411420971ea76966d861aacc.webp?v=1776052374"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ea2ede5e04fd0ec411420971ea76966d861aacc.webp?v=1776052374","width":2000},{"alt":null,"id":27165545168995,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d688f2db585f4c6288381434015ba9241a26d05e.webp?v=1776052375"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d688f2db585f4c6288381434015ba9241a26d05e.webp?v=1776052375","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":44113156538467,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"SST012320E-KIT108","requires_shipping":true,"taxable":true,"featured_image":{"id":35636403535971,"product_id":7994668384355,"position":5,"created_at":"2026-04-13T11:52:51+08:00","updated_at":"2026-04-13T11:52:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2806781ca8f53295da1df1a1a94baf801b5c7fce.webp?v=1776052373","variant_ids":[44113156538467]},"available":true,"name":"iPhone 13 Pro Max SolidSuit Hello Kitty 千鳥格長腿款 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST012320E-KIT108","featured_media":{"alt":null,"id":27165544317027,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2806781ca8f53295da1df1a1a94baf801b5c7fce.webp?v=1776052373"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44113165385827,"title":"Classic Blue","option1":"Classic Blue","option2":null,"option3":null,"sku":"SST012320C-KIT108","requires_shipping":true,"taxable":true,"featured_image":{"id":35636402847843,"product_id":7994668384355,"position":3,"created_at":"2026-04-13T11:52:49+08:00","updated_at":"2026-04-13T11:52:51+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87acdc00d9e94489b10493eefd29214c54d6d56d.webp?v=1776052371","variant_ids":[44113165385827]},"available":true,"name":"iPhone 13 Pro Max SolidSuit Hello Kitty 千鳥格長腿款 - Classic Blue","public_title":"Classic Blue","options":["Classic Blue"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST012320C-KIT108","featured_media":{"alt":null,"id":27165543628899,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/87acdc00d9e94489b10493eefd29214c54d6d56d.webp?v=1776052371"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44113165975651,"title":"Shell Beige","option1":"Shell Beige","option2":null,"option3":null,"sku":"SST012320B-KIT108","requires_shipping":true,"taxable":true,"featured_image":{"id":35636404125795,"product_id":7994668384355,"position":7,"created_at":"2026-04-13T11:52:52+08:00","updated_at":"2026-04-13T11:52:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ea2ede5e04fd0ec411420971ea76966d861aacc.webp?v=1776052374","variant_ids":[44113165975651]},"available":true,"name":"iPhone 13 Pro Max SolidSuit Hello Kitty 千鳥格長腿款 - Shell Beige","public_title":"Shell Beige","options":["Shell Beige"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST012320B-KIT108","featured_media":{"alt":null,"id":27165544906851,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1ea2ede5e04fd0ec411420971ea76966d861aacc.webp?v=1776052374"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44113166434403,"title":"Tide Blue","option1":"Tide Blue","option2":null,"option3":null,"sku":"SST01232Z9-KIT108","requires_shipping":true,"taxable":true,"featured_image":{"id":35636404387939,"product_id":7994668384355,"position":8,"created_at":"2026-04-13T11:52:53+08:00","updated_at":"2026-04-13T11:52:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d688f2db585f4c6288381434015ba9241a26d05e.webp?v=1776052375","variant_ids":[44113166434403]},"available":true,"name":"iPhone 13 Pro Max SolidSuit Hello Kitty 千鳥格長腿款 - Tide Blue","public_title":"Tide Blue","options":["Tide Blue"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01232Z9-KIT108","featured_media":{"alt":null,"id":27165545168995,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d688f2db585f4c6288381434015ba9241a26d05e.webp?v=1776052375"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44113166860387,"title":"Cobalt Blue","option1":"Cobalt Blue","option2":null,"option3":null,"sku":"SST01232O9-KIT108","requires_shipping":true,"taxable":true,"featured_image":{"id":35636403863651,"product_id":7994668384355,"position":6,"created_at":"2026-04-13T11:52:51+08:00","updated_at":"2026-04-13T11:52:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a4b8e9260196c56e180fc967dffa08515776ae3.webp?v=1776052373","variant_ids":[44113166860387]},"available":true,"name":"iPhone 13 Pro Max SolidSuit Hello Kitty 千鳥格長腿款 - Cobalt Blue","public_title":"Cobalt Blue","options":["Cobalt Blue"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST01232O9-KIT108","featured_media":{"alt":null,"id":27165544611939,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a4b8e9260196c56e180fc967dffa08515776ae3.webp?v=1776052373"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":44113167384675,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"SST0123252-KIT108","requires_shipping":true,"taxable":true,"featured_image":{"id":35636402290787,"product_id":7994668384355,"position":2,"created_at":"2026-04-13T11:52:48+08:00","updated_at":"2026-04-13T11:52:50+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0552e333cbfe7ab94b731a26e7498420a614b123.webp?v=1776052370","variant_ids":[44113167384675]},"available":true,"name":"iPhone 13 Pro Max SolidSuit Hello Kitty 千鳥格長腿款 - Black","public_title":"Black","options":["Black"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST0123252-KIT108","featured_media":{"alt":null,"id":27165543071843,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0552e333cbfe7ab94b731a26e7498420a614b123.webp?v=1776052370"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":44113156538467,"title":"Parakeet Green","option1":"Parakeet Green","option2":null,"option3":null,"sku":"SST012320E-KIT108","requires_shipping":true,"taxable":true,"featured_image":{"id":35636403535971,"product_id":7994668384355,"position":5,"created_at":"2026-04-13T11:52:51+08:00","updated_at":"2026-04-13T11:52:53+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2806781ca8f53295da1df1a1a94baf801b5c7fce.webp?v=1776052373","variant_ids":[44113156538467]},"available":true,"name":"iPhone 13 Pro Max SolidSuit Hello Kitty 千鳥格長腿款 - Parakeet Green","public_title":"Parakeet Green","options":["Parakeet Green"],"price":83000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"SST012320E-KIT108","featured_media":{"alt":null,"id":27165544317027,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2806781ca8f53295da1df1a1a94baf801b5c7fce.webp?v=1776052373"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}};
$device_handle = null;
$type = "";
var sellingStatus
if ($isMerge) {
$(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: "停產"
}