$product = {"id":7903397478499,"title":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 五星吉海底餐廳","handle":"iphone-12-pro-mod-nx-magsafe-printable-it37","description":null,"published_at":"2025-10-20T09:48:36+08:00","created_at":"2025-10-20T09:20:23+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"","tags":["10%","20%","30%","40%","50%","brand-Apple","designer","designer-godgwawa","device-iPhone 12 Pro","merge","reseller-godgwawa"],"price":110000,"price_min":110000,"price_max":110000,"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":43786506272867,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"MPB01185C1-IT37","requires_shipping":true,"taxable":true,"featured_image":{"id":34672800497763,"product_id":7903397478499,"position":7,"created_at":"2025-10-20T09:20:33+08:00","updated_at":"2025-10-20T09:20:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cdadaea3b4ed1ff507b2ac86c8450ebae77fd67.webp?v=1760923236","variant_ids":[43786506272867]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 五星吉海底餐廳 - Lavender","public_title":"Lavender","options":["Lavender"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01185C1-IT37","featured_media":{"alt":null,"id":26242059436131,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cdadaea3b4ed1ff507b2ac86c8450ebae77fd67.webp?v=1760923236"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43786509615203,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"MPB0118569-IT37","requires_shipping":true,"taxable":true,"featured_image":{"id":34672800759907,"product_id":7903397478499,"position":8,"created_at":"2025-10-20T09:20:34+08:00","updated_at":"2025-10-20T09:20:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/631ab85913e9308d5ab863189214a52d06e9056a.webp?v=1760923236","variant_ids":[43786509615203]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 五星吉海底餐廳 - Graphite","public_title":"Graphite","options":["Graphite"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118569-IT37","featured_media":{"alt":null,"id":26242059698275,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/631ab85913e9308d5ab863189214a52d06e9056a.webp?v=1760923236"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43786509844579,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0118504-IT37","requires_shipping":true,"taxable":true,"featured_image":{"id":34672799842403,"product_id":7903397478499,"position":3,"created_at":"2025-10-20T09:20:31+08:00","updated_at":"2025-10-20T09:20:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fd0f332f4b5a24d5503bd6c42f9d13eda924749.webp?v=1760923233","variant_ids":[43786509844579]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 五星吉海底餐廳 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118504-IT37","featured_media":{"alt":null,"id":26242058780771,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fd0f332f4b5a24d5503bd6c42f9d13eda924749.webp?v=1760923233"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43786509877347,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01185J5-IT37","requires_shipping":true,"taxable":true,"featured_image":{"id":34672801218659,"product_id":7903397478499,"position":11,"created_at":"2025-10-20T09:20:36+08:00","updated_at":"2025-10-20T09:20:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b52a0008181008aaa186fd25eabeaceb582b7bbe.webp?v=1760923238","variant_ids":[43786509877347]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 五星吉海底餐廳 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01185J5-IT37","featured_media":{"alt":null,"id":26242060157027,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b52a0008181008aaa186fd25eabeaceb582b7bbe.webp?v=1760923238"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43786509910115,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118524-IT37","requires_shipping":true,"taxable":true,"featured_image":{"id":34672800202851,"product_id":7903397478499,"position":5,"created_at":"2025-10-20T09:20:32+08:00","updated_at":"2025-10-20T09:20:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93b60b7e9dcc0feba8edc5933f144e33dfc18ac2.webp?v=1760923234","variant_ids":[43786509910115]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 五星吉海底餐廳 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118524-IT37","featured_media":{"alt":null,"id":26242059141219,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93b60b7e9dcc0feba8edc5933f144e33dfc18ac2.webp?v=1760923234"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4aeab754e2b190ae16aff16cd2f2dc7e36f5e503.webp?v=1760923232","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c1a6491a153181c8c38b239a7bda663cef442fe.webp?v=1760923232","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fd0f332f4b5a24d5503bd6c42f9d13eda924749.webp?v=1760923233","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4df7ea4e334381c9d13a350e40216542f425a08.webp?v=1760923233","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93b60b7e9dcc0feba8edc5933f144e33dfc18ac2.webp?v=1760923234","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88bda5b03b116109ef83d66aeea69ea7bad1d413.webp?v=1760923235","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cdadaea3b4ed1ff507b2ac86c8450ebae77fd67.webp?v=1760923236","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/631ab85913e9308d5ab863189214a52d06e9056a.webp?v=1760923236","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fb9367aaae42594a2cf31f61ef1887f003cdf5b.webp?v=1760923237","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a66e1920b936555f059bbef9f43b67584c5ca73.webp?v=1760923237","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b52a0008181008aaa186fd25eabeaceb582b7bbe.webp?v=1760923238"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4aeab754e2b190ae16aff16cd2f2dc7e36f5e503.webp?v=1760923232","options":["color"],"media":[{"alt":null,"id":26242058322019,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4aeab754e2b190ae16aff16cd2f2dc7e36f5e503.webp?v=1760923232"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4aeab754e2b190ae16aff16cd2f2dc7e36f5e503.webp?v=1760923232","width":2000},{"alt":null,"id":26242058551395,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c1a6491a153181c8c38b239a7bda663cef442fe.webp?v=1760923232"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c1a6491a153181c8c38b239a7bda663cef442fe.webp?v=1760923232","width":2000},{"alt":null,"id":26242058780771,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fd0f332f4b5a24d5503bd6c42f9d13eda924749.webp?v=1760923233"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fd0f332f4b5a24d5503bd6c42f9d13eda924749.webp?v=1760923233","width":2000},{"alt":null,"id":26242059042915,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4df7ea4e334381c9d13a350e40216542f425a08.webp?v=1760923233"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b4df7ea4e334381c9d13a350e40216542f425a08.webp?v=1760923233","width":2000},{"alt":null,"id":26242059141219,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93b60b7e9dcc0feba8edc5933f144e33dfc18ac2.webp?v=1760923234"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93b60b7e9dcc0feba8edc5933f144e33dfc18ac2.webp?v=1760923234","width":2000},{"alt":null,"id":26242059305059,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88bda5b03b116109ef83d66aeea69ea7bad1d413.webp?v=1760923235"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88bda5b03b116109ef83d66aeea69ea7bad1d413.webp?v=1760923235","width":2000},{"alt":null,"id":26242059436131,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cdadaea3b4ed1ff507b2ac86c8450ebae77fd67.webp?v=1760923236"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cdadaea3b4ed1ff507b2ac86c8450ebae77fd67.webp?v=1760923236","width":2000},{"alt":null,"id":26242059698275,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/631ab85913e9308d5ab863189214a52d06e9056a.webp?v=1760923236"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/631ab85913e9308d5ab863189214a52d06e9056a.webp?v=1760923236","width":2000},{"alt":null,"id":26242059862115,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fb9367aaae42594a2cf31f61ef1887f003cdf5b.webp?v=1760923237"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/2fb9367aaae42594a2cf31f61ef1887f003cdf5b.webp?v=1760923237","width":2000},{"alt":null,"id":26242060058723,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a66e1920b936555f059bbef9f43b67584c5ca73.webp?v=1760923237"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8a66e1920b936555f059bbef9f43b67584c5ca73.webp?v=1760923237","width":2000},{"alt":null,"id":26242060157027,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b52a0008181008aaa186fd25eabeaceb582b7bbe.webp?v=1760923238"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b52a0008181008aaa186fd25eabeaceb582b7bbe.webp?v=1760923238","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":43786506272867,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"MPB01185C1-IT37","requires_shipping":true,"taxable":true,"featured_image":{"id":34672800497763,"product_id":7903397478499,"position":7,"created_at":"2025-10-20T09:20:33+08:00","updated_at":"2025-10-20T09:20:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cdadaea3b4ed1ff507b2ac86c8450ebae77fd67.webp?v=1760923236","variant_ids":[43786506272867]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 五星吉海底餐廳 - Lavender","public_title":"Lavender","options":["Lavender"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01185C1-IT37","featured_media":{"alt":null,"id":26242059436131,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cdadaea3b4ed1ff507b2ac86c8450ebae77fd67.webp?v=1760923236"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43786509615203,"title":"Graphite","option1":"Graphite","option2":null,"option3":null,"sku":"MPB0118569-IT37","requires_shipping":true,"taxable":true,"featured_image":{"id":34672800759907,"product_id":7903397478499,"position":8,"created_at":"2025-10-20T09:20:34+08:00","updated_at":"2025-10-20T09:20:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/631ab85913e9308d5ab863189214a52d06e9056a.webp?v=1760923236","variant_ids":[43786509615203]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 五星吉海底餐廳 - Graphite","public_title":"Graphite","options":["Graphite"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118569-IT37","featured_media":{"alt":null,"id":26242059698275,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/631ab85913e9308d5ab863189214a52d06e9056a.webp?v=1760923236"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43786509844579,"title":"White","option1":"White","option2":null,"option3":null,"sku":"MPB0118504-IT37","requires_shipping":true,"taxable":true,"featured_image":{"id":34672799842403,"product_id":7903397478499,"position":3,"created_at":"2025-10-20T09:20:31+08:00","updated_at":"2025-10-20T09:20:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fd0f332f4b5a24d5503bd6c42f9d13eda924749.webp?v=1760923233","variant_ids":[43786509844579]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 五星吉海底餐廳 - White","public_title":"White","options":["White"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118504-IT37","featured_media":{"alt":null,"id":26242058780771,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7fd0f332f4b5a24d5503bd6c42f9d13eda924749.webp?v=1760923233"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43786509877347,"title":"Navy Blue","option1":"Navy Blue","option2":null,"option3":null,"sku":"MPB01185J5-IT37","requires_shipping":true,"taxable":true,"featured_image":{"id":34672801218659,"product_id":7903397478499,"position":11,"created_at":"2025-10-20T09:20:36+08:00","updated_at":"2025-10-20T09:20:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b52a0008181008aaa186fd25eabeaceb582b7bbe.webp?v=1760923238","variant_ids":[43786509877347]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 五星吉海底餐廳 - Navy Blue","public_title":"Navy Blue","options":["Navy Blue"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01185J5-IT37","featured_media":{"alt":null,"id":26242060157027,"position":11,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b52a0008181008aaa186fd25eabeaceb582b7bbe.webp?v=1760923238"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":43786509910115,"title":"Black","option1":"Black","option2":null,"option3":null,"sku":"MPB0118524-IT37","requires_shipping":true,"taxable":true,"featured_image":{"id":34672800202851,"product_id":7903397478499,"position":5,"created_at":"2025-10-20T09:20:32+08:00","updated_at":"2025-10-20T09:20:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93b60b7e9dcc0feba8edc5933f144e33dfc18ac2.webp?v=1760923234","variant_ids":[43786509910115]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 五星吉海底餐廳 - Black","public_title":"Black","options":["Black"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0118524-IT37","featured_media":{"alt":null,"id":26242059141219,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/93b60b7e9dcc0feba8edc5933f144e33dfc18ac2.webp?v=1760923234"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":43786506272867,"title":"Lavender","option1":"Lavender","option2":null,"option3":null,"sku":"MPB01185C1-IT37","requires_shipping":true,"taxable":true,"featured_image":{"id":34672800497763,"product_id":7903397478499,"position":7,"created_at":"2025-10-20T09:20:33+08:00","updated_at":"2025-10-20T09:20:36+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cdadaea3b4ed1ff507b2ac86c8450ebae77fd67.webp?v=1760923236","variant_ids":[43786506272867]},"available":true,"name":"iPhone 12 \/ 12 Pro Mod NX (MagSafe 兼容) 變種吉娃娃 Godgwawa 五星吉海底餐廳 - Lavender","public_title":"Lavender","options":["Lavender"],"price":110000,"weight":0,"compare_at_price":null,"inventory_quantity":0,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01185C1-IT37","featured_media":{"alt":null,"id":26242059436131,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8cdadaea3b4ed1ff507b2ac86c8450ebae77fd67.webp?v=1760923236"}},"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: "停產"
}