$product = {"id":7411286769763,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 風暴兵-噴漆白","handle":"iphone-14-pro-mod-nx-magsafe-printable-pb02","description":null,"published_at":"2024-06-11T17:40:51+08:00","created_at":"2024-05-05T00:00:29+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":41896986640483,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31480049139811,"product_id":7411286769763,"position":2,"created_at":"2024-05-05T00:00:34+08:00","updated_at":"2024-05-05T00:00:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fa07dbbcbc704a7dd97676a9eb85166bb42b7be_a0d34d4e-3040-4c42-a641-e8d7491421a7.webp?v=1714838434","variant_ids":[41896986640483]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 風暴兵-噴漆白 - 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-PB02","featured_media":{"alt":null,"id":23885299810403,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fa07dbbcbc704a7dd97676a9eb85166bb42b7be_a0d34d4e-3040-4c42-a641-e8d7491421a7.webp?v=1714838434"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896986706019,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31480050909283,"product_id":7411286769763,"position":6,"created_at":"2024-05-05T00:00:44+08:00","updated_at":"2024-05-05T00:00:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2ff46a6605d807cc7619738686be728925cc7bf_f71a9c83-4fa2-430e-8494-595526cc981e.webp?v=1714838444","variant_ids":[41896986706019]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 風暴兵-噴漆白 - 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-PB02","featured_media":{"alt":null,"id":23885301776483,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2ff46a6605d807cc7619738686be728925cc7bf_f71a9c83-4fa2-430e-8494-595526cc981e.webp?v=1714838444"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896986968163,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31480051564643,"product_id":7411286769763,"position":7,"created_at":"2024-05-05T00:00:46+08:00","updated_at":"2024-05-05T00:00:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5da58661fb79df231c1cce549ec835ffe3aa5791_9606a14d-f166-402e-9bee-000b3ca87530.webp?v=1714838446","variant_ids":[41896986968163]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 風暴兵-噴漆白 - 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-PB02","featured_media":{"alt":null,"id":23885302857827,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5da58661fb79df231c1cce549ec835ffe3aa5791_9606a14d-f166-402e-9bee-000b3ca87530.webp?v=1714838446"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fb9563f7117bb05a5bb0ee173e25be209c4a93d_d3fc9995-04a1-4cb0-8f21-645e98ac6de4.webp?v=1714838432","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fa07dbbcbc704a7dd97676a9eb85166bb42b7be_a0d34d4e-3040-4c42-a641-e8d7491421a7.webp?v=1714838434","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cce70fcaa87bc205178a6666083f7ea6f098c6ae_f72fa75d-8d75-4bc4-be06-3b8b512a0a1d.webp?v=1714838436","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2959b376cc9943a67c098af354b3785357245a4_556209ef-138e-4fe0-898c-7e398beadfa2.webp?v=1714838439","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59f0cd8c25f81fe93bc251e8249404804b91ab0d_45ed1d4c-ea2f-40a7-a20b-599d8b32c682.webp?v=1714838441","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2ff46a6605d807cc7619738686be728925cc7bf_f71a9c83-4fa2-430e-8494-595526cc981e.webp?v=1714838444","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5da58661fb79df231c1cce549ec835ffe3aa5791_9606a14d-f166-402e-9bee-000b3ca87530.webp?v=1714838446","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39698936da36a9e11cc959b06cbf9176630291cf_de5f808e-d0b6-410f-bd36-d913ff1861c2.webp?v=1714838449","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/046eb4c3c3c6f4473de5e51d5b63a6ca9de62881_fd2ba466-f2c5-4c64-84a1-d66a14d0cd44.webp?v=1714838451","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61626df259d3692a07058516137bf07f78303ff2_1b0adf57-7f73-43bf-ae3b-d679c35e27c0.webp?v=1714838453"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fb9563f7117bb05a5bb0ee173e25be209c4a93d_d3fc9995-04a1-4cb0-8f21-645e98ac6de4.webp?v=1714838432","options":["color"],"media":[{"alt":null,"id":23885299220579,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fb9563f7117bb05a5bb0ee173e25be209c4a93d_d3fc9995-04a1-4cb0-8f21-645e98ac6de4.webp?v=1714838432"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4fb9563f7117bb05a5bb0ee173e25be209c4a93d_d3fc9995-04a1-4cb0-8f21-645e98ac6de4.webp?v=1714838432","width":2000},{"alt":null,"id":23885299810403,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fa07dbbcbc704a7dd97676a9eb85166bb42b7be_a0d34d4e-3040-4c42-a641-e8d7491421a7.webp?v=1714838434"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fa07dbbcbc704a7dd97676a9eb85166bb42b7be_a0d34d4e-3040-4c42-a641-e8d7491421a7.webp?v=1714838434","width":2000},{"alt":null,"id":23885300203619,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cce70fcaa87bc205178a6666083f7ea6f098c6ae_f72fa75d-8d75-4bc4-be06-3b8b512a0a1d.webp?v=1714838436"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cce70fcaa87bc205178a6666083f7ea6f098c6ae_f72fa75d-8d75-4bc4-be06-3b8b512a0a1d.webp?v=1714838436","width":2000},{"alt":null,"id":23885300695139,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2959b376cc9943a67c098af354b3785357245a4_556209ef-138e-4fe0-898c-7e398beadfa2.webp?v=1714838439"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2959b376cc9943a67c098af354b3785357245a4_556209ef-138e-4fe0-898c-7e398beadfa2.webp?v=1714838439","width":2000},{"alt":null,"id":23885301121123,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59f0cd8c25f81fe93bc251e8249404804b91ab0d_45ed1d4c-ea2f-40a7-a20b-599d8b32c682.webp?v=1714838441"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/59f0cd8c25f81fe93bc251e8249404804b91ab0d_45ed1d4c-ea2f-40a7-a20b-599d8b32c682.webp?v=1714838441","width":2000},{"alt":null,"id":23885301776483,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2ff46a6605d807cc7619738686be728925cc7bf_f71a9c83-4fa2-430e-8494-595526cc981e.webp?v=1714838444"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2ff46a6605d807cc7619738686be728925cc7bf_f71a9c83-4fa2-430e-8494-595526cc981e.webp?v=1714838444","width":2000},{"alt":null,"id":23885302857827,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5da58661fb79df231c1cce549ec835ffe3aa5791_9606a14d-f166-402e-9bee-000b3ca87530.webp?v=1714838446"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5da58661fb79df231c1cce549ec835ffe3aa5791_9606a14d-f166-402e-9bee-000b3ca87530.webp?v=1714838446","width":2000},{"alt":null,"id":23885303709795,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39698936da36a9e11cc959b06cbf9176630291cf_de5f808e-d0b6-410f-bd36-d913ff1861c2.webp?v=1714838449"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/39698936da36a9e11cc959b06cbf9176630291cf_de5f808e-d0b6-410f-bd36-d913ff1861c2.webp?v=1714838449","width":2000},{"alt":null,"id":23885304168547,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/046eb4c3c3c6f4473de5e51d5b63a6ca9de62881_fd2ba466-f2c5-4c64-84a1-d66a14d0cd44.webp?v=1714838451"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/046eb4c3c3c6f4473de5e51d5b63a6ca9de62881_fd2ba466-f2c5-4c64-84a1-d66a14d0cd44.webp?v=1714838451","width":2000},{"alt":null,"id":23885304660067,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61626df259d3692a07058516137bf07f78303ff2_1b0adf57-7f73-43bf-ae3b-d679c35e27c0.webp?v=1714838453"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/61626df259d3692a07058516137bf07f78303ff2_1b0adf57-7f73-43bf-ae3b-d679c35e27c0.webp?v=1714838453","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41896986640483,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31480049139811,"product_id":7411286769763,"position":2,"created_at":"2024-05-05T00:00:34+08:00","updated_at":"2024-05-05T00:00:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fa07dbbcbc704a7dd97676a9eb85166bb42b7be_a0d34d4e-3040-4c42-a641-e8d7491421a7.webp?v=1714838434","variant_ids":[41896986640483]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 風暴兵-噴漆白 - 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-PB02","featured_media":{"alt":null,"id":23885299810403,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fa07dbbcbc704a7dd97676a9eb85166bb42b7be_a0d34d4e-3040-4c42-a641-e8d7491421a7.webp?v=1714838434"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896986706019,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31480050909283,"product_id":7411286769763,"position":6,"created_at":"2024-05-05T00:00:44+08:00","updated_at":"2024-05-05T00:00:44+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2ff46a6605d807cc7619738686be728925cc7bf_f71a9c83-4fa2-430e-8494-595526cc981e.webp?v=1714838444","variant_ids":[41896986706019]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 風暴兵-噴漆白 - 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-PB02","featured_media":{"alt":null,"id":23885301776483,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d2ff46a6605d807cc7619738686be728925cc7bf_f71a9c83-4fa2-430e-8494-595526cc981e.webp?v=1714838444"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41896986968163,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31480051564643,"product_id":7411286769763,"position":7,"created_at":"2024-05-05T00:00:46+08:00","updated_at":"2024-05-05T00:00:46+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5da58661fb79df231c1cce549ec835ffe3aa5791_9606a14d-f166-402e-9bee-000b3ca87530.webp?v=1714838446","variant_ids":[41896986968163]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 風暴兵-噴漆白 - 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-PB02","featured_media":{"alt":null,"id":23885302857827,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5da58661fb79df231c1cce549ec835ffe3aa5791_9606a14d-f166-402e-9bee-000b3ca87530.webp?v=1714838446"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41896986640483,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB02","requires_shipping":true,"taxable":true,"featured_image":{"id":31480049139811,"product_id":7411286769763,"position":2,"created_at":"2024-05-05T00:00:34+08:00","updated_at":"2024-05-05T00:00:34+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fa07dbbcbc704a7dd97676a9eb85166bb42b7be_a0d34d4e-3040-4c42-a641-e8d7491421a7.webp?v=1714838434","variant_ids":[41896986640483]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 風暴兵-噴漆白 - 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-PB02","featured_media":{"alt":null,"id":23885299810403,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5fa07dbbcbc704a7dd97676a9eb85166bb42b7be_a0d34d4e-3040-4c42-a641-e8d7491421a7.webp?v=1714838434"}},"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: "停產" }