$product = {"id":7411258654819,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - Pattern 星際大戰-Galaxy","handle":"iphone-14-pro-mod-nx-magsafe-printable-pb61","description":null,"published_at":"2024-06-11T17:40:07+08:00","created_at":"2024-05-04T23:55:11+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":41896632909923,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB61","requires_shipping":true,"taxable":true,"featured_image":{"id":31479980458083,"product_id":7411258654819,"position":7,"created_at":"2024-05-04T23:55:28+08:00","updated_at":"2024-05-04T23:55:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb1c52dc792d7ab27c6d010086b7a8513f79f47f_1b2b33ed-556f-42c6-9f43-ba14e57b7072.webp?v=1714838128","variant_ids":[41896632909923]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - Pattern 星際大戰-Galaxy - 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-PB61","featured_media":{"alt":null,"id":23885230899299,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb1c52dc792d7ab27c6d010086b7a8513f79f47f_1b2b33ed-556f-42c6-9f43-ba14e57b7072.webp?v=1714838128"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896633106531,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB61","requires_shipping":true,"taxable":true,"featured_image":{"id":31479979966563,"product_id":7411258654819,"position":6,"created_at":"2024-05-04T23:55:26+08:00","updated_at":"2024-05-04T23:55:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a46c9bcc90715291506855101cb59e9cfe230339_3c82f6da-1924-455f-94b5-e5be27c53212.webp?v=1714838126","variant_ids":[41896633106531]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - Pattern 星際大戰-Galaxy - 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-PB61","featured_media":{"alt":null,"id":23885230440547,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a46c9bcc90715291506855101cb59e9cfe230339_3c82f6da-1924-455f-94b5-e5be27c53212.webp?v=1714838126"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896633794659,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB61","requires_shipping":true,"taxable":true,"featured_image":{"id":31479978557539,"product_id":7411258654819,"position":3,"created_at":"2024-05-04T23:55:19+08:00","updated_at":"2024-05-04T23:55:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/638fe9462e98648e44d005f6ce5a9364da4b8a4c_31549b11-5335-4cee-8832-4f48bbb962fd.webp?v=1714838119","variant_ids":[41896633794659]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - Pattern 星際大戰-Galaxy - 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-PB61","featured_media":{"alt":null,"id":23885228998755,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/638fe9462e98648e44d005f6ce5a9364da4b8a4c_31549b11-5335-4cee-8832-4f48bbb962fd.webp?v=1714838119"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53d515590ec8e051a85593015b24decf31856b54_52c73050-5844-437c-be82-254207de7cf2.webp?v=1714838114","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3a217a1b297b0e7491b4934635735679fbc8337_6adffac6-dd39-4499-b54f-0f82c7c2b37d.webp?v=1714838116","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/638fe9462e98648e44d005f6ce5a9364da4b8a4c_31549b11-5335-4cee-8832-4f48bbb962fd.webp?v=1714838119","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/968b12f3b9beab36cbedd8472f0c35beef72a0ed_ce41b4df-5ea6-4aa3-9444-5355acd9efd2.webp?v=1714838121","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a6c98df9cdb83f9e5250477dd5d1e417cd5938b_a3ff9591-2125-4f1c-a6a6-cb8dc4ac9785.webp?v=1714838124","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a46c9bcc90715291506855101cb59e9cfe230339_3c82f6da-1924-455f-94b5-e5be27c53212.webp?v=1714838126","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb1c52dc792d7ab27c6d010086b7a8513f79f47f_1b2b33ed-556f-42c6-9f43-ba14e57b7072.webp?v=1714838128","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f03741044f38716846c8218a0db978d373562b56_688354ff-7cdb-45e2-a24c-04de39a78605.webp?v=1714838131","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05cc0b3363ec7cc25afb5bade3598379ee4b0b74_a0abdf38-abfa-4599-9f4c-762e4277a606.webp?v=1714838133","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37d79a4d131e8d9e595cc6a2d5568b1275b9fa85_8aaf1032-edde-4ec2-9123-67beb1b1e4f6.webp?v=1714838136"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53d515590ec8e051a85593015b24decf31856b54_52c73050-5844-437c-be82-254207de7cf2.webp?v=1714838114","options":["color"],"media":[{"alt":null,"id":23885227720803,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53d515590ec8e051a85593015b24decf31856b54_52c73050-5844-437c-be82-254207de7cf2.webp?v=1714838114"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53d515590ec8e051a85593015b24decf31856b54_52c73050-5844-437c-be82-254207de7cf2.webp?v=1714838114","width":2000},{"alt":null,"id":23885228441699,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3a217a1b297b0e7491b4934635735679fbc8337_6adffac6-dd39-4499-b54f-0f82c7c2b37d.webp?v=1714838116"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b3a217a1b297b0e7491b4934635735679fbc8337_6adffac6-dd39-4499-b54f-0f82c7c2b37d.webp?v=1714838116","width":2000},{"alt":null,"id":23885228998755,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/638fe9462e98648e44d005f6ce5a9364da4b8a4c_31549b11-5335-4cee-8832-4f48bbb962fd.webp?v=1714838119"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/638fe9462e98648e44d005f6ce5a9364da4b8a4c_31549b11-5335-4cee-8832-4f48bbb962fd.webp?v=1714838119","width":2000},{"alt":null,"id":23885229424739,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/968b12f3b9beab36cbedd8472f0c35beef72a0ed_ce41b4df-5ea6-4aa3-9444-5355acd9efd2.webp?v=1714838121"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/968b12f3b9beab36cbedd8472f0c35beef72a0ed_ce41b4df-5ea6-4aa3-9444-5355acd9efd2.webp?v=1714838121","width":2000},{"alt":null,"id":23885229916259,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a6c98df9cdb83f9e5250477dd5d1e417cd5938b_a3ff9591-2125-4f1c-a6a6-cb8dc4ac9785.webp?v=1714838124"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5a6c98df9cdb83f9e5250477dd5d1e417cd5938b_a3ff9591-2125-4f1c-a6a6-cb8dc4ac9785.webp?v=1714838124","width":2000},{"alt":null,"id":23885230440547,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a46c9bcc90715291506855101cb59e9cfe230339_3c82f6da-1924-455f-94b5-e5be27c53212.webp?v=1714838126"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a46c9bcc90715291506855101cb59e9cfe230339_3c82f6da-1924-455f-94b5-e5be27c53212.webp?v=1714838126","width":2000},{"alt":null,"id":23885230899299,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb1c52dc792d7ab27c6d010086b7a8513f79f47f_1b2b33ed-556f-42c6-9f43-ba14e57b7072.webp?v=1714838128"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb1c52dc792d7ab27c6d010086b7a8513f79f47f_1b2b33ed-556f-42c6-9f43-ba14e57b7072.webp?v=1714838128","width":2000},{"alt":null,"id":23885231554659,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f03741044f38716846c8218a0db978d373562b56_688354ff-7cdb-45e2-a24c-04de39a78605.webp?v=1714838131"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f03741044f38716846c8218a0db978d373562b56_688354ff-7cdb-45e2-a24c-04de39a78605.webp?v=1714838131","width":2000},{"alt":null,"id":23885232078947,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05cc0b3363ec7cc25afb5bade3598379ee4b0b74_a0abdf38-abfa-4599-9f4c-762e4277a606.webp?v=1714838133"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/05cc0b3363ec7cc25afb5bade3598379ee4b0b74_a0abdf38-abfa-4599-9f4c-762e4277a606.webp?v=1714838133","width":2000},{"alt":null,"id":23885232668771,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37d79a4d131e8d9e595cc6a2d5568b1275b9fa85_8aaf1032-edde-4ec2-9123-67beb1b1e4f6.webp?v=1714838136"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/37d79a4d131e8d9e595cc6a2d5568b1275b9fa85_8aaf1032-edde-4ec2-9123-67beb1b1e4f6.webp?v=1714838136","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null};
$isMerge = null;
$variants = [{"id":41896632909923,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB61","requires_shipping":true,"taxable":true,"featured_image":{"id":31479980458083,"product_id":7411258654819,"position":7,"created_at":"2024-05-04T23:55:28+08:00","updated_at":"2024-05-04T23:55:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb1c52dc792d7ab27c6d010086b7a8513f79f47f_1b2b33ed-556f-42c6-9f43-ba14e57b7072.webp?v=1714838128","variant_ids":[41896632909923]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - Pattern 星際大戰-Galaxy - 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-PB61","featured_media":{"alt":null,"id":23885230899299,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb1c52dc792d7ab27c6d010086b7a8513f79f47f_1b2b33ed-556f-42c6-9f43-ba14e57b7072.webp?v=1714838128"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896633106531,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB61","requires_shipping":true,"taxable":true,"featured_image":{"id":31479979966563,"product_id":7411258654819,"position":6,"created_at":"2024-05-04T23:55:26+08:00","updated_at":"2024-05-04T23:55:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a46c9bcc90715291506855101cb59e9cfe230339_3c82f6da-1924-455f-94b5-e5be27c53212.webp?v=1714838126","variant_ids":[41896633106531]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - Pattern 星際大戰-Galaxy - 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-PB61","featured_media":{"alt":null,"id":23885230440547,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a46c9bcc90715291506855101cb59e9cfe230339_3c82f6da-1924-455f-94b5-e5be27c53212.webp?v=1714838126"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896633794659,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB61","requires_shipping":true,"taxable":true,"featured_image":{"id":31479978557539,"product_id":7411258654819,"position":3,"created_at":"2024-05-04T23:55:19+08:00","updated_at":"2024-05-04T23:55:19+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/638fe9462e98648e44d005f6ce5a9364da4b8a4c_31549b11-5335-4cee-8832-4f48bbb962fd.webp?v=1714838119","variant_ids":[41896633794659]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - Pattern 星際大戰-Galaxy - 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-PB61","featured_media":{"alt":null,"id":23885228998755,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/638fe9462e98648e44d005f6ce5a9364da4b8a4c_31549b11-5335-4cee-8832-4f48bbb962fd.webp?v=1714838119"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}];
$defaultVariant = {"id":41896632909923,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB61","requires_shipping":true,"taxable":true,"featured_image":{"id":31479980458083,"product_id":7411258654819,"position":7,"created_at":"2024-05-04T23:55:28+08:00","updated_at":"2024-05-04T23:55:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb1c52dc792d7ab27c6d010086b7a8513f79f47f_1b2b33ed-556f-42c6-9f43-ba14e57b7072.webp?v=1714838128","variant_ids":[41896632909923]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - Pattern 星際大戰-Galaxy - 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-PB61","featured_media":{"alt":null,"id":23885230899299,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/eb1c52dc792d7ab27c6d010086b7a8513f79f47f_1b2b33ed-556f-42c6-9f43-ba14e57b7072.webp?v=1714838128"}},"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: "停產"
}