$product = {"id":7407880536163,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 小圖款-BB8","handle":"iphone-14-pro-mod-nx-printable-pc04","description":null,"published_at":"2024-06-11T16:25:26+08:00","created_at":"2024-05-03T11:08:20+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 14 Pro","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":41880011538531,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PC04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470605893731,"product_id":7407880536163,"position":1,"created_at":"2024-05-03T11:08:23+08:00","updated_at":"2024-05-03T11:08:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c872fed2493532e0b6f0a2ef4229a4f4b710b172_1417fdec-3f56-4381-81ec-4ecf42217dae.webp?v=1714705703","variant_ids":[41880011538531]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 小圖款-BB8 - 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":"NPB0126224-PC04","featured_media":{"alt":null,"id":23875509944419,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c872fed2493532e0b6f0a2ef4229a4f4b710b172_1417fdec-3f56-4381-81ec-4ecf42217dae.webp?v=1714705703"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880011604067,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PC04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470607859811,"product_id":7407880536163,"position":5,"created_at":"2024-05-03T11:08:33+08:00","updated_at":"2024-05-03T11:08:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30749e76bc60e666f38fb6f146a51021eb5b7552_597bbe44-a6b3-4415-979e-94eb55f198c7.webp?v=1714705713","variant_ids":[41880011604067]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 小圖款-BB8 - 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":"NPB0126204-PC04","featured_media":{"alt":null,"id":23875511779427,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30749e76bc60e666f38fb6f146a51021eb5b7552_597bbe44-a6b3-4415-979e-94eb55f198c7.webp?v=1714705713"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880011833443,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PC04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470606909539,"product_id":7407880536163,"position":3,"created_at":"2024-05-03T11:08:27+08:00","updated_at":"2024-05-03T11:08:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7cb5feac12c1dea81d39f3d2b8c60d21b06b3949_b40da470-17fe-43f7-889c-bf74687b8d89.webp?v=1714705707","variant_ids":[41880011833443]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 小圖款-BB8 - 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":"NPB01262J5-PC04","featured_media":{"alt":null,"id":23875510829155,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7cb5feac12c1dea81d39f3d2b8c60d21b06b3949_b40da470-17fe-43f7-889c-bf74687b8d89.webp?v=1714705707"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c872fed2493532e0b6f0a2ef4229a4f4b710b172_1417fdec-3f56-4381-81ec-4ecf42217dae.webp?v=1714705703","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d646cd49082724cb5e9cb09f732f3c07a42f86a_f8238427-eaf7-4e87-9333-ea9e286608e6.webp?v=1714705705","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7cb5feac12c1dea81d39f3d2b8c60d21b06b3949_b40da470-17fe-43f7-889c-bf74687b8d89.webp?v=1714705707","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec42a138e272e14d099ca901607b2ff2b6c34814_ea4ec222-db48-439b-a28a-70c851f84cc2.webp?v=1714705710","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30749e76bc60e666f38fb6f146a51021eb5b7552_597bbe44-a6b3-4415-979e-94eb55f198c7.webp?v=1714705713","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/644d845e14cf7aa7d7e18fec1bb5f36286130209_f58a4ca9-bc4a-44d9-ad7f-f843eee75afd.webp?v=1714705715","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0964b8ff455bcaeab3d3c7e6b1aada2b767cf9c5_70d1819d-e653-49fb-855e-f40f73fb97b0.webp?v=1714705718","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8242dd9f8ddc712ad8ed02a5ea2356dc16d9b527_634ae0eb-106a-40e0-a58a-0faaa377bb27.webp?v=1714705720","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/183bc0b68e69de1eabca888dc6616e225efe8909_2bbe7cd5-d22c-4ff1-a0de-5d3a1e0b5ca4.webp?v=1714705723","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53bb7eb6fbaeed0ff6fa14e2e4e69d875384c65d_a37c5f0d-aac8-46c8-946c-ca01010e20af.webp?v=1714705725"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c872fed2493532e0b6f0a2ef4229a4f4b710b172_1417fdec-3f56-4381-81ec-4ecf42217dae.webp?v=1714705703","options":["color"],"media":[{"alt":null,"id":23875509944419,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c872fed2493532e0b6f0a2ef4229a4f4b710b172_1417fdec-3f56-4381-81ec-4ecf42217dae.webp?v=1714705703"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c872fed2493532e0b6f0a2ef4229a4f4b710b172_1417fdec-3f56-4381-81ec-4ecf42217dae.webp?v=1714705703","width":2000},{"alt":null,"id":23875510337635,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d646cd49082724cb5e9cb09f732f3c07a42f86a_f8238427-eaf7-4e87-9333-ea9e286608e6.webp?v=1714705705"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7d646cd49082724cb5e9cb09f732f3c07a42f86a_f8238427-eaf7-4e87-9333-ea9e286608e6.webp?v=1714705705","width":2000},{"alt":null,"id":23875510829155,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7cb5feac12c1dea81d39f3d2b8c60d21b06b3949_b40da470-17fe-43f7-889c-bf74687b8d89.webp?v=1714705707"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7cb5feac12c1dea81d39f3d2b8c60d21b06b3949_b40da470-17fe-43f7-889c-bf74687b8d89.webp?v=1714705707","width":2000},{"alt":null,"id":23875511287907,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec42a138e272e14d099ca901607b2ff2b6c34814_ea4ec222-db48-439b-a28a-70c851f84cc2.webp?v=1714705710"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ec42a138e272e14d099ca901607b2ff2b6c34814_ea4ec222-db48-439b-a28a-70c851f84cc2.webp?v=1714705710","width":2000},{"alt":null,"id":23875511779427,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30749e76bc60e666f38fb6f146a51021eb5b7552_597bbe44-a6b3-4415-979e-94eb55f198c7.webp?v=1714705713"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30749e76bc60e666f38fb6f146a51021eb5b7552_597bbe44-a6b3-4415-979e-94eb55f198c7.webp?v=1714705713","width":2000},{"alt":null,"id":23875512270947,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/644d845e14cf7aa7d7e18fec1bb5f36286130209_f58a4ca9-bc4a-44d9-ad7f-f843eee75afd.webp?v=1714705715"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/644d845e14cf7aa7d7e18fec1bb5f36286130209_f58a4ca9-bc4a-44d9-ad7f-f843eee75afd.webp?v=1714705715","width":2000},{"alt":null,"id":23875512926307,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0964b8ff455bcaeab3d3c7e6b1aada2b767cf9c5_70d1819d-e653-49fb-855e-f40f73fb97b0.webp?v=1714705718"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0964b8ff455bcaeab3d3c7e6b1aada2b767cf9c5_70d1819d-e653-49fb-855e-f40f73fb97b0.webp?v=1714705718","width":2000},{"alt":null,"id":23875513516131,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8242dd9f8ddc712ad8ed02a5ea2356dc16d9b527_634ae0eb-106a-40e0-a58a-0faaa377bb27.webp?v=1714705720"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8242dd9f8ddc712ad8ed02a5ea2356dc16d9b527_634ae0eb-106a-40e0-a58a-0faaa377bb27.webp?v=1714705720","width":2000},{"alt":null,"id":23875513974883,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/183bc0b68e69de1eabca888dc6616e225efe8909_2bbe7cd5-d22c-4ff1-a0de-5d3a1e0b5ca4.webp?v=1714705723"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/183bc0b68e69de1eabca888dc6616e225efe8909_2bbe7cd5-d22c-4ff1-a0de-5d3a1e0b5ca4.webp?v=1714705723","width":2000},{"alt":null,"id":23875514499171,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53bb7eb6fbaeed0ff6fa14e2e4e69d875384c65d_a37c5f0d-aac8-46c8-946c-ca01010e20af.webp?v=1714705725"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/53bb7eb6fbaeed0ff6fa14e2e4e69d875384c65d_a37c5f0d-aac8-46c8-946c-ca01010e20af.webp?v=1714705725","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41880011538531,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PC04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470605893731,"product_id":7407880536163,"position":1,"created_at":"2024-05-03T11:08:23+08:00","updated_at":"2024-05-03T11:08:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c872fed2493532e0b6f0a2ef4229a4f4b710b172_1417fdec-3f56-4381-81ec-4ecf42217dae.webp?v=1714705703","variant_ids":[41880011538531]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 小圖款-BB8 - 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":"NPB0126224-PC04","featured_media":{"alt":null,"id":23875509944419,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c872fed2493532e0b6f0a2ef4229a4f4b710b172_1417fdec-3f56-4381-81ec-4ecf42217dae.webp?v=1714705703"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880011604067,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PC04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470607859811,"product_id":7407880536163,"position":5,"created_at":"2024-05-03T11:08:33+08:00","updated_at":"2024-05-03T11:08:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30749e76bc60e666f38fb6f146a51021eb5b7552_597bbe44-a6b3-4415-979e-94eb55f198c7.webp?v=1714705713","variant_ids":[41880011604067]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 小圖款-BB8 - 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":"NPB0126204-PC04","featured_media":{"alt":null,"id":23875511779427,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/30749e76bc60e666f38fb6f146a51021eb5b7552_597bbe44-a6b3-4415-979e-94eb55f198c7.webp?v=1714705713"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880011833443,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PC04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470606909539,"product_id":7407880536163,"position":3,"created_at":"2024-05-03T11:08:27+08:00","updated_at":"2024-05-03T11:08:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7cb5feac12c1dea81d39f3d2b8c60d21b06b3949_b40da470-17fe-43f7-889c-bf74687b8d89.webp?v=1714705707","variant_ids":[41880011833443]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 小圖款-BB8 - 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":"NPB01262J5-PC04","featured_media":{"alt":null,"id":23875510829155,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7cb5feac12c1dea81d39f3d2b8c60d21b06b3949_b40da470-17fe-43f7-889c-bf74687b8d89.webp?v=1714705707"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41880011538531,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PC04","requires_shipping":true,"taxable":true,"featured_image":{"id":31470605893731,"product_id":7407880536163,"position":1,"created_at":"2024-05-03T11:08:23+08:00","updated_at":"2024-05-03T11:08:23+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c872fed2493532e0b6f0a2ef4229a4f4b710b172_1417fdec-3f56-4381-81ec-4ecf42217dae.webp?v=1714705703","variant_ids":[41880011538531]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 小圖款-BB8 - 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":"NPB0126224-PC04","featured_media":{"alt":null,"id":23875509944419,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c872fed2493532e0b6f0a2ef4229a4f4b710b172_1417fdec-3f56-4381-81ec-4ecf42217dae.webp?v=1714705703"}},"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: "停產" }