$product = {"id":7411237093475,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 路克\u0026莉亞公主-電影海報","handle":"iphone-14-pro-mod-nx-magsafe-printable-pb102","description":null,"published_at":"2024-06-11T17:39:33+08:00","created_at":"2024-05-04T23:51:07+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-star-wars","Top50","type-Mod NX Printable MagSafe Printable"],"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":41896360640611,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB102","requires_shipping":true,"taxable":true,"featured_image":{"id":31479924457571,"product_id":7411237093475,"position":2,"created_at":"2024-05-04T23:51:12+08:00","updated_at":"2024-05-04T23:51:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7963ae462508ac0ecba9bfb66119c4c370d38dc9_61fe1d7d-d427-448c-a041-faae487ed655.webp?v=1714837872","variant_ids":[41896360640611]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 路克\u0026莉亞公主-電影海報 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PB102","featured_media":{"alt":null,"id":23885174833251,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7963ae462508ac0ecba9bfb66119c4c370d38dc9_61fe1d7d-d427-448c-a041-faae487ed655.webp?v=1714837872"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896360706147,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB102","requires_shipping":true,"taxable":true,"featured_image":{"id":31479927832675,"product_id":7411237093475,"position":8,"created_at":"2024-05-04T23:51:27+08:00","updated_at":"2024-05-04T23:51:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed793bcd1987df458aba93dc834c477347bb50b4_3aff5bbc-1f14-4406-ade1-91c2abf9996d.webp?v=1714837887","variant_ids":[41896360706147]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 路克\u0026莉亞公主-電影海報 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-PB102","featured_media":{"alt":null,"id":23885178208355,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed793bcd1987df458aba93dc834c477347bb50b4_3aff5bbc-1f14-4406-ade1-91c2abf9996d.webp?v=1714837887"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896360968291,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB102","requires_shipping":true,"taxable":true,"featured_image":{"id":31479926030435,"product_id":7411237093475,"position":5,"created_at":"2024-05-04T23:51:19+08:00","updated_at":"2024-05-04T23:51:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d438f420531e036867459a5aebb98231161d7d2d_d5f34825-1098-48a1-8dde-1051efcac1ec.webp?v=1714837879","variant_ids":[41896360968291]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 路克\u0026莉亞公主-電影海報 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-PB102","featured_media":{"alt":null,"id":23885176471651,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d438f420531e036867459a5aebb98231161d7d2d_d5f34825-1098-48a1-8dde-1051efcac1ec.webp?v=1714837879"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6705bbc13586c0f42ece274f203840524f7560df_3e832a27-67df-4da2-b5cf-9de5a9ff0f85.webp?v=1714837870","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7963ae462508ac0ecba9bfb66119c4c370d38dc9_61fe1d7d-d427-448c-a041-faae487ed655.webp?v=1714837872","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61092d8eb9631a156dde46f72091f27e71ec999d_7f192d3c-a2bb-41cd-84a6-c5df331b9214.webp?v=1714837874","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e033077326daa561cf324cb7dd4b7a93ec2c8c5_1938059b-a358-4fc0-9ff1-607d4b13f896.webp?v=1714837877","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d438f420531e036867459a5aebb98231161d7d2d_d5f34825-1098-48a1-8dde-1051efcac1ec.webp?v=1714837879","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba8311b12b9296786f96d323c4521cfcbe44b525_6c1bf8b3-50a6-4d25-a3d1-f3f7601a778f.webp?v=1714837882","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73e3c76f63a484fe81bea89e7b8aaa84fdbf5c09_e0b9f3c9-2628-41d0-9a1e-e20325a7dcaf.webp?v=1714837884","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed793bcd1987df458aba93dc834c477347bb50b4_3aff5bbc-1f14-4406-ade1-91c2abf9996d.webp?v=1714837887","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b48fcab04f17b5052f46c23877e125585021a5fd_ffbf7ead-48f6-4dc2-a582-1e771cb210cc.webp?v=1714837889","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6816954be0bfc1f164c87cd46c076c31726efd12_4268fcb5-86bf-45b6-bb6f-170f6c116ce8.webp?v=1714837891"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6705bbc13586c0f42ece274f203840524f7560df_3e832a27-67df-4da2-b5cf-9de5a9ff0f85.webp?v=1714837870","options":["color"],"media":[{"alt":null,"id":23885174407267,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6705bbc13586c0f42ece274f203840524f7560df_3e832a27-67df-4da2-b5cf-9de5a9ff0f85.webp?v=1714837870"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6705bbc13586c0f42ece274f203840524f7560df_3e832a27-67df-4da2-b5cf-9de5a9ff0f85.webp?v=1714837870","width":2000},{"alt":null,"id":23885174833251,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7963ae462508ac0ecba9bfb66119c4c370d38dc9_61fe1d7d-d427-448c-a041-faae487ed655.webp?v=1714837872"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7963ae462508ac0ecba9bfb66119c4c370d38dc9_61fe1d7d-d427-448c-a041-faae487ed655.webp?v=1714837872","width":2000},{"alt":null,"id":23885175423075,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61092d8eb9631a156dde46f72091f27e71ec999d_7f192d3c-a2bb-41cd-84a6-c5df331b9214.webp?v=1714837874"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61092d8eb9631a156dde46f72091f27e71ec999d_7f192d3c-a2bb-41cd-84a6-c5df331b9214.webp?v=1714837874","width":2000},{"alt":null,"id":23885175849059,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e033077326daa561cf324cb7dd4b7a93ec2c8c5_1938059b-a358-4fc0-9ff1-607d4b13f896.webp?v=1714837877"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3e033077326daa561cf324cb7dd4b7a93ec2c8c5_1938059b-a358-4fc0-9ff1-607d4b13f896.webp?v=1714837877","width":2000},{"alt":null,"id":23885176471651,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d438f420531e036867459a5aebb98231161d7d2d_d5f34825-1098-48a1-8dde-1051efcac1ec.webp?v=1714837879"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d438f420531e036867459a5aebb98231161d7d2d_d5f34825-1098-48a1-8dde-1051efcac1ec.webp?v=1714837879","width":2000},{"alt":null,"id":23885176930403,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba8311b12b9296786f96d323c4521cfcbe44b525_6c1bf8b3-50a6-4d25-a3d1-f3f7601a778f.webp?v=1714837882"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba8311b12b9296786f96d323c4521cfcbe44b525_6c1bf8b3-50a6-4d25-a3d1-f3f7601a778f.webp?v=1714837882","width":2000},{"alt":null,"id":23885177651299,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73e3c76f63a484fe81bea89e7b8aaa84fdbf5c09_e0b9f3c9-2628-41d0-9a1e-e20325a7dcaf.webp?v=1714837884"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/73e3c76f63a484fe81bea89e7b8aaa84fdbf5c09_e0b9f3c9-2628-41d0-9a1e-e20325a7dcaf.webp?v=1714837884","width":2000},{"alt":null,"id":23885178208355,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed793bcd1987df458aba93dc834c477347bb50b4_3aff5bbc-1f14-4406-ade1-91c2abf9996d.webp?v=1714837887"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed793bcd1987df458aba93dc834c477347bb50b4_3aff5bbc-1f14-4406-ade1-91c2abf9996d.webp?v=1714837887","width":2000},{"alt":null,"id":23885178896483,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b48fcab04f17b5052f46c23877e125585021a5fd_ffbf7ead-48f6-4dc2-a582-1e771cb210cc.webp?v=1714837889"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b48fcab04f17b5052f46c23877e125585021a5fd_ffbf7ead-48f6-4dc2-a582-1e771cb210cc.webp?v=1714837889","width":2000},{"alt":null,"id":23885179289699,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6816954be0bfc1f164c87cd46c076c31726efd12_4268fcb5-86bf-45b6-bb6f-170f6c116ce8.webp?v=1714837891"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6816954be0bfc1f164c87cd46c076c31726efd12_4268fcb5-86bf-45b6-bb6f-170f6c116ce8.webp?v=1714837891","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41896360640611,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB102","requires_shipping":true,"taxable":true,"featured_image":{"id":31479924457571,"product_id":7411237093475,"position":2,"created_at":"2024-05-04T23:51:12+08:00","updated_at":"2024-05-04T23:51:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7963ae462508ac0ecba9bfb66119c4c370d38dc9_61fe1d7d-d427-448c-a041-faae487ed655.webp?v=1714837872","variant_ids":[41896360640611]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 路克\u0026莉亞公主-電影海報 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PB102","featured_media":{"alt":null,"id":23885174833251,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7963ae462508ac0ecba9bfb66119c4c370d38dc9_61fe1d7d-d427-448c-a041-faae487ed655.webp?v=1714837872"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896360706147,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB102","requires_shipping":true,"taxable":true,"featured_image":{"id":31479927832675,"product_id":7411237093475,"position":8,"created_at":"2024-05-04T23:51:27+08:00","updated_at":"2024-05-04T23:51:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed793bcd1987df458aba93dc834c477347bb50b4_3aff5bbc-1f14-4406-ade1-91c2abf9996d.webp?v=1714837887","variant_ids":[41896360706147]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 路克\u0026莉亞公主-電影海報 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-PB102","featured_media":{"alt":null,"id":23885178208355,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ed793bcd1987df458aba93dc834c477347bb50b4_3aff5bbc-1f14-4406-ade1-91c2abf9996d.webp?v=1714837887"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896360968291,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB102","requires_shipping":true,"taxable":true,"featured_image":{"id":31479926030435,"product_id":7411237093475,"position":5,"created_at":"2024-05-04T23:51:19+08:00","updated_at":"2024-05-04T23:51:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d438f420531e036867459a5aebb98231161d7d2d_d5f34825-1098-48a1-8dde-1051efcac1ec.webp?v=1714837879","variant_ids":[41896360968291]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 路克\u0026莉亞公主-電影海報 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-PB102","featured_media":{"alt":null,"id":23885176471651,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d438f420531e036867459a5aebb98231161d7d2d_d5f34825-1098-48a1-8dde-1051efcac1ec.webp?v=1714837879"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41896360640611,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB102","requires_shipping":true,"taxable":true,"featured_image":{"id":31479924457571,"product_id":7411237093475,"position":2,"created_at":"2024-05-04T23:51:12+08:00","updated_at":"2024-05-04T23:51:12+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7963ae462508ac0ecba9bfb66119c4c370d38dc9_61fe1d7d-d427-448c-a041-faae487ed655.webp?v=1714837872","variant_ids":[41896360640611]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 路克\u0026莉亞公主-電影海報 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PB102","featured_media":{"alt":null,"id":23885174833251,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7963ae462508ac0ecba9bfb66119c4c370d38dc9_61fe1d7d-d427-448c-a041-faae487ed655.webp?v=1714837872"}},"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: "停產"
}