$product = {"id":7408097460323,"title":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 伊沃克人2-塗鴉藝術","handle":"iphone-13-mini-mod-nx-printable-pb39","description":null,"published_at":"2024-06-11T16:31:19+08:00","created_at":"2024-05-03T11:59:24+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 13 mini","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-star-wars","Top50","type-Mod NX Printable"],"price":90000,"price_min":90000,"price_max":90000,"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":41882646937699,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB39","requires_shipping":true,"taxable":true,"featured_image":{"id":31471186673763,"product_id":7408097460323,"position":5,"created_at":"2024-05-03T11:59:35+08:00","updated_at":"2024-05-03T11:59:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca3bad2007a6a73009e192578f96829044d0a785_ef63434b-befb-498f-a6c6-2cfcdaa9bd70.webp?v=1714708775","variant_ids":[41882646937699]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 伊沃克人2-塗鴉藝術 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-PB39","featured_media":{"alt":null,"id":23876091904099,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca3bad2007a6a73009e192578f96829044d0a785_ef63434b-befb-498f-a6c6-2cfcdaa9bd70.webp?v=1714708775"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882647134307,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB39","requires_shipping":true,"taxable":true,"featured_image":{"id":31471188836451,"product_id":7408097460323,"position":10,"created_at":"2024-05-03T11:59:46+08:00","updated_at":"2024-05-03T11:59:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a90023ae84857a872494bd97ac5c6c2922160cfc_494b61e9-cbec-423c-835b-c75dc27094d0.webp?v=1714708787","variant_ids":[41882647134307]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 伊沃克人2-塗鴉藝術 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-PB39","featured_media":{"alt":null,"id":23876094066787,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a90023ae84857a872494bd97ac5c6c2922160cfc_494b61e9-cbec-423c-835b-c75dc27094d0.webp?v=1714708787"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882647625827,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB39","requires_shipping":true,"taxable":true,"featured_image":{"id":31471187951715,"product_id":7408097460323,"position":8,"created_at":"2024-05-03T11:59:42+08:00","updated_at":"2024-05-03T11:59:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b22ae5af83a862e1b18a25a64228057a025acb6b_a5a9622f-1736-4ae6-bec8-b5f075762281.webp?v=1714708782","variant_ids":[41882647625827]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 伊沃克人2-塗鴉藝術 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-PB39","featured_media":{"alt":null,"id":23876093247587,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b22ae5af83a862e1b18a25a64228057a025acb6b_a5a9622f-1736-4ae6-bec8-b5f075762281.webp?v=1714708782"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c53d6ddc0c0dc37216ab7f3cba2e4d9b34790f01_61fa90e0-cc8f-413d-8ece-135cba3b16e8.webp?v=1714708766","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adf7a1585a51ed24e70929349bd2f927d15706f8_4bf95fcf-1c25-41f0-9a76-7afd77f05b93.webp?v=1714708768","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38ce05db5e382b14407845feee0c74dbac7a1daf_220d5940-13ee-4fe8-8c37-aae7c92a8e72.webp?v=1714708771","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f13cbfe6f1b81d8544c32c7a9331bbc62d6be8c_83b6ea52-5e66-4fb4-9410-8425f0013581.webp?v=1714708773","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca3bad2007a6a73009e192578f96829044d0a785_ef63434b-befb-498f-a6c6-2cfcdaa9bd70.webp?v=1714708775","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4de1d1470da4106f734c4ae0f4a94bd16fc194b4_83ca4a92-baa7-4506-af03-e3c4102edfb7.webp?v=1714708777","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb01ee11a5ed1aa9fc6c6d35b3816651451a8448_c64b7ef2-63af-4b1c-b510-b633126d7178.webp?v=1714708780","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b22ae5af83a862e1b18a25a64228057a025acb6b_a5a9622f-1736-4ae6-bec8-b5f075762281.webp?v=1714708782","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21b8c75221304141eb0b8835eb7b17eeeb568105_3603333a-6917-4ba6-b218-c9d892eca937.webp?v=1714708784","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a90023ae84857a872494bd97ac5c6c2922160cfc_494b61e9-cbec-423c-835b-c75dc27094d0.webp?v=1714708787"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c53d6ddc0c0dc37216ab7f3cba2e4d9b34790f01_61fa90e0-cc8f-413d-8ece-135cba3b16e8.webp?v=1714708766","options":["color"],"media":[{"alt":null,"id":23876090298467,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c53d6ddc0c0dc37216ab7f3cba2e4d9b34790f01_61fa90e0-cc8f-413d-8ece-135cba3b16e8.webp?v=1714708766"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c53d6ddc0c0dc37216ab7f3cba2e4d9b34790f01_61fa90e0-cc8f-413d-8ece-135cba3b16e8.webp?v=1714708766","width":2000},{"alt":null,"id":23876090822755,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adf7a1585a51ed24e70929349bd2f927d15706f8_4bf95fcf-1c25-41f0-9a76-7afd77f05b93.webp?v=1714708768"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/adf7a1585a51ed24e70929349bd2f927d15706f8_4bf95fcf-1c25-41f0-9a76-7afd77f05b93.webp?v=1714708768","width":2000},{"alt":null,"id":23876091117667,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38ce05db5e382b14407845feee0c74dbac7a1daf_220d5940-13ee-4fe8-8c37-aae7c92a8e72.webp?v=1714708771"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/38ce05db5e382b14407845feee0c74dbac7a1daf_220d5940-13ee-4fe8-8c37-aae7c92a8e72.webp?v=1714708771","width":2000},{"alt":null,"id":23876091609187,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f13cbfe6f1b81d8544c32c7a9331bbc62d6be8c_83b6ea52-5e66-4fb4-9410-8425f0013581.webp?v=1714708773"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5f13cbfe6f1b81d8544c32c7a9331bbc62d6be8c_83b6ea52-5e66-4fb4-9410-8425f0013581.webp?v=1714708773","width":2000},{"alt":null,"id":23876091904099,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca3bad2007a6a73009e192578f96829044d0a785_ef63434b-befb-498f-a6c6-2cfcdaa9bd70.webp?v=1714708775"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca3bad2007a6a73009e192578f96829044d0a785_ef63434b-befb-498f-a6c6-2cfcdaa9bd70.webp?v=1714708775","width":2000},{"alt":null,"id":23876092395619,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4de1d1470da4106f734c4ae0f4a94bd16fc194b4_83ca4a92-baa7-4506-af03-e3c4102edfb7.webp?v=1714708777"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4de1d1470da4106f734c4ae0f4a94bd16fc194b4_83ca4a92-baa7-4506-af03-e3c4102edfb7.webp?v=1714708777","width":2000},{"alt":null,"id":23876092756067,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb01ee11a5ed1aa9fc6c6d35b3816651451a8448_c64b7ef2-63af-4b1c-b510-b633126d7178.webp?v=1714708780"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cb01ee11a5ed1aa9fc6c6d35b3816651451a8448_c64b7ef2-63af-4b1c-b510-b633126d7178.webp?v=1714708780","width":2000},{"alt":null,"id":23876093247587,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b22ae5af83a862e1b18a25a64228057a025acb6b_a5a9622f-1736-4ae6-bec8-b5f075762281.webp?v=1714708782"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b22ae5af83a862e1b18a25a64228057a025acb6b_a5a9622f-1736-4ae6-bec8-b5f075762281.webp?v=1714708782","width":2000},{"alt":null,"id":23876093673571,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21b8c75221304141eb0b8835eb7b17eeeb568105_3603333a-6917-4ba6-b218-c9d892eca937.webp?v=1714708784"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/21b8c75221304141eb0b8835eb7b17eeeb568105_3603333a-6917-4ba6-b218-c9d892eca937.webp?v=1714708784","width":2000},{"alt":null,"id":23876094066787,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a90023ae84857a872494bd97ac5c6c2922160cfc_494b61e9-cbec-423c-835b-c75dc27094d0.webp?v=1714708787"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a90023ae84857a872494bd97ac5c6c2922160cfc_494b61e9-cbec-423c-835b-c75dc27094d0.webp?v=1714708787","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41882646937699,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB39","requires_shipping":true,"taxable":true,"featured_image":{"id":31471186673763,"product_id":7408097460323,"position":5,"created_at":"2024-05-03T11:59:35+08:00","updated_at":"2024-05-03T11:59:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca3bad2007a6a73009e192578f96829044d0a785_ef63434b-befb-498f-a6c6-2cfcdaa9bd70.webp?v=1714708775","variant_ids":[41882646937699]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 伊沃克人2-塗鴉藝術 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-PB39","featured_media":{"alt":null,"id":23876091904099,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca3bad2007a6a73009e192578f96829044d0a785_ef63434b-befb-498f-a6c6-2cfcdaa9bd70.webp?v=1714708775"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882647134307,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0122804-PB39","requires_shipping":true,"taxable":true,"featured_image":{"id":31471188836451,"product_id":7408097460323,"position":10,"created_at":"2024-05-03T11:59:46+08:00","updated_at":"2024-05-03T11:59:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a90023ae84857a872494bd97ac5c6c2922160cfc_494b61e9-cbec-423c-835b-c75dc27094d0.webp?v=1714708787","variant_ids":[41882647134307]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 伊沃克人2-塗鴉藝術 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122804-PB39","featured_media":{"alt":null,"id":23876094066787,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a90023ae84857a872494bd97ac5c6c2922160cfc_494b61e9-cbec-423c-835b-c75dc27094d0.webp?v=1714708787"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41882647625827,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01228J5-PB39","requires_shipping":true,"taxable":true,"featured_image":{"id":31471187951715,"product_id":7408097460323,"position":8,"created_at":"2024-05-03T11:59:42+08:00","updated_at":"2024-05-03T11:59:42+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b22ae5af83a862e1b18a25a64228057a025acb6b_a5a9622f-1736-4ae6-bec8-b5f075762281.webp?v=1714708782","variant_ids":[41882647625827]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 伊沃克人2-塗鴉藝術 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB01228J5-PB39","featured_media":{"alt":null,"id":23876093247587,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/b22ae5af83a862e1b18a25a64228057a025acb6b_a5a9622f-1736-4ae6-bec8-b5f075762281.webp?v=1714708782"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41882646937699,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0122824-PB39","requires_shipping":true,"taxable":true,"featured_image":{"id":31471186673763,"product_id":7408097460323,"position":5,"created_at":"2024-05-03T11:59:35+08:00","updated_at":"2024-05-03T11:59:35+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca3bad2007a6a73009e192578f96829044d0a785_ef63434b-befb-498f-a6c6-2cfcdaa9bd70.webp?v=1714708775","variant_ids":[41882646937699]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 13 mini - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 伊沃克人2-塗鴉藝術 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":90000,"weight":980,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"NPB0122824-PB39","featured_media":{"alt":null,"id":23876091904099,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ca3bad2007a6a73009e192578f96829044d0a785_ef63434b-befb-498f-a6c6-2cfcdaa9bd70.webp?v=1714708775"}},"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: "停產" }