$product = {"id":7407689793635,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具1-黑","handle":"iphone-14-pro-mod-nx-printable-pb09","description":null,"published_at":"2024-06-11T16:22:01+08:00","created_at":"2024-05-03T10:41:44+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":41877680062563,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31470222180451,"product_id":7407689793635,"position":5,"created_at":"2024-05-03T10:41:58+08:00","updated_at":"2024-05-03T10:41:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fa642f7ab8c582d14172ad24250f270554d6320_1ae2590f-1b8b-4465-8cf8-f19c5cb18529.webp?v=1714704118","variant_ids":[41877680062563]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具1-黑 - 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-PB09","featured_media":{"alt":null,"id":23875125182563,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fa642f7ab8c582d14172ad24250f270554d6320_1ae2590f-1b8b-4465-8cf8-f19c5cb18529.webp?v=1714704118"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877680259171,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31470219690083,"product_id":7407689793635,"position":1,"created_at":"2024-05-03T10:41:47+08:00","updated_at":"2024-05-03T10:41:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba49e9d8306b8485aff3e331cb7fa4ea278e3609_08da5070-4362-4b8e-bbdf-3f7a18b5ee02.webp?v=1714704107","variant_ids":[41877680259171]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具1-黑 - 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-PB09","featured_media":{"alt":null,"id":23875122692195,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba49e9d8306b8485aff3e331cb7fa4ea278e3609_08da5070-4362-4b8e-bbdf-3f7a18b5ee02.webp?v=1714704107"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877680783459,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31470221721699,"product_id":7407689793635,"position":4,"created_at":"2024-05-03T10:41:55+08:00","updated_at":"2024-05-03T10:41:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6de63fdff6cc1c7055c5078aa29b568ec756530b_43844dc8-1de9-4cba-97a8-0ed6d9632746.webp?v=1714704115","variant_ids":[41877680783459]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具1-黑 - 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-PB09","featured_media":{"alt":null,"id":23875124756579,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6de63fdff6cc1c7055c5078aa29b568ec756530b_43844dc8-1de9-4cba-97a8-0ed6d9632746.webp?v=1714704115"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba49e9d8306b8485aff3e331cb7fa4ea278e3609_08da5070-4362-4b8e-bbdf-3f7a18b5ee02.webp?v=1714704107","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78157d59b183813291f177e1ac048628476bdb16_ea9f0033-8562-41b7-9bb2-244474b35719.webp?v=1714704110","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4f242c690d9deefa7adbe288ac3d510602c3306_373f23a1-c9df-4ea8-bb6d-7690795c5d83.webp?v=1714704113","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6de63fdff6cc1c7055c5078aa29b568ec756530b_43844dc8-1de9-4cba-97a8-0ed6d9632746.webp?v=1714704115","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fa642f7ab8c582d14172ad24250f270554d6320_1ae2590f-1b8b-4465-8cf8-f19c5cb18529.webp?v=1714704118","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c50189ffcacb04f85b98faf513bfcce76afdb86_db76a9f0-b62f-4f3f-9a8b-7c9186470cef.webp?v=1714704120","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94b0963240a63af1e7f73db694964aee1a564d49_1e3a1a81-e4d1-47ce-9ed4-e890bf700fa9.webp?v=1714704123","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3af96354c60241258262ee500f8eef61947e7cd7_4a15aadc-6e8d-4f4e-850e-24105fe2e18e.webp?v=1714704126","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1455592d13597e4800fd2121ad42e7539869ba4_c1b2571b-599a-4746-bce6-79744958d469.webp?v=1714704128","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9cf1527fc4f4f19ee7ef51573d122360b54825e5_72e7f672-6e41-439e-b2b6-cf5d5b7f2e80.webp?v=1714704131"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba49e9d8306b8485aff3e331cb7fa4ea278e3609_08da5070-4362-4b8e-bbdf-3f7a18b5ee02.webp?v=1714704107","options":["color"],"media":[{"alt":null,"id":23875122692195,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba49e9d8306b8485aff3e331cb7fa4ea278e3609_08da5070-4362-4b8e-bbdf-3f7a18b5ee02.webp?v=1714704107"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba49e9d8306b8485aff3e331cb7fa4ea278e3609_08da5070-4362-4b8e-bbdf-3f7a18b5ee02.webp?v=1714704107","width":2000},{"alt":null,"id":23875123445859,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78157d59b183813291f177e1ac048628476bdb16_ea9f0033-8562-41b7-9bb2-244474b35719.webp?v=1714704110"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/78157d59b183813291f177e1ac048628476bdb16_ea9f0033-8562-41b7-9bb2-244474b35719.webp?v=1714704110","width":2000},{"alt":null,"id":23875124101219,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4f242c690d9deefa7adbe288ac3d510602c3306_373f23a1-c9df-4ea8-bb6d-7690795c5d83.webp?v=1714704113"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c4f242c690d9deefa7adbe288ac3d510602c3306_373f23a1-c9df-4ea8-bb6d-7690795c5d83.webp?v=1714704113","width":2000},{"alt":null,"id":23875124756579,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6de63fdff6cc1c7055c5078aa29b568ec756530b_43844dc8-1de9-4cba-97a8-0ed6d9632746.webp?v=1714704115"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6de63fdff6cc1c7055c5078aa29b568ec756530b_43844dc8-1de9-4cba-97a8-0ed6d9632746.webp?v=1714704115","width":2000},{"alt":null,"id":23875125182563,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fa642f7ab8c582d14172ad24250f270554d6320_1ae2590f-1b8b-4465-8cf8-f19c5cb18529.webp?v=1714704118"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fa642f7ab8c582d14172ad24250f270554d6320_1ae2590f-1b8b-4465-8cf8-f19c5cb18529.webp?v=1714704118","width":2000},{"alt":null,"id":23875126034531,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c50189ffcacb04f85b98faf513bfcce76afdb86_db76a9f0-b62f-4f3f-9a8b-7c9186470cef.webp?v=1714704120"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6c50189ffcacb04f85b98faf513bfcce76afdb86_db76a9f0-b62f-4f3f-9a8b-7c9186470cef.webp?v=1714704120","width":2000},{"alt":null,"id":23875126689891,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94b0963240a63af1e7f73db694964aee1a564d49_1e3a1a81-e4d1-47ce-9ed4-e890bf700fa9.webp?v=1714704123"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94b0963240a63af1e7f73db694964aee1a564d49_1e3a1a81-e4d1-47ce-9ed4-e890bf700fa9.webp?v=1714704123","width":2000},{"alt":null,"id":23875127115875,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3af96354c60241258262ee500f8eef61947e7cd7_4a15aadc-6e8d-4f4e-850e-24105fe2e18e.webp?v=1714704126"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3af96354c60241258262ee500f8eef61947e7cd7_4a15aadc-6e8d-4f4e-850e-24105fe2e18e.webp?v=1714704126","width":2000},{"alt":null,"id":23875128262755,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1455592d13597e4800fd2121ad42e7539869ba4_c1b2571b-599a-4746-bce6-79744958d469.webp?v=1714704128"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f1455592d13597e4800fd2121ad42e7539869ba4_c1b2571b-599a-4746-bce6-79744958d469.webp?v=1714704128","width":2000},{"alt":null,"id":23875128918115,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9cf1527fc4f4f19ee7ef51573d122360b54825e5_72e7f672-6e41-439e-b2b6-cf5d5b7f2e80.webp?v=1714704131"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9cf1527fc4f4f19ee7ef51573d122360b54825e5_72e7f672-6e41-439e-b2b6-cf5d5b7f2e80.webp?v=1714704131","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":41877680062563,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31470222180451,"product_id":7407689793635,"position":5,"created_at":"2024-05-03T10:41:58+08:00","updated_at":"2024-05-03T10:41:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fa642f7ab8c582d14172ad24250f270554d6320_1ae2590f-1b8b-4465-8cf8-f19c5cb18529.webp?v=1714704118","variant_ids":[41877680062563]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具1-黑 - 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-PB09","featured_media":{"alt":null,"id":23875125182563,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fa642f7ab8c582d14172ad24250f270554d6320_1ae2590f-1b8b-4465-8cf8-f19c5cb18529.webp?v=1714704118"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877680259171,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31470219690083,"product_id":7407689793635,"position":1,"created_at":"2024-05-03T10:41:47+08:00","updated_at":"2024-05-03T10:41:47+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba49e9d8306b8485aff3e331cb7fa4ea278e3609_08da5070-4362-4b8e-bbdf-3f7a18b5ee02.webp?v=1714704107","variant_ids":[41877680259171]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具1-黑 - 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-PB09","featured_media":{"alt":null,"id":23875122692195,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/ba49e9d8306b8485aff3e331cb7fa4ea278e3609_08da5070-4362-4b8e-bbdf-3f7a18b5ee02.webp?v=1714704107"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41877680783459,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31470221721699,"product_id":7407689793635,"position":4,"created_at":"2024-05-03T10:41:55+08:00","updated_at":"2024-05-03T10:41:55+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6de63fdff6cc1c7055c5078aa29b568ec756530b_43844dc8-1de9-4cba-97a8-0ed6d9632746.webp?v=1714704115","variant_ids":[41877680783459]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具1-黑 - 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-PB09","featured_media":{"alt":null,"id":23875124756579,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/6de63fdff6cc1c7055c5078aa29b568ec756530b_43844dc8-1de9-4cba-97a8-0ed6d9632746.webp?v=1714704115"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41877680062563,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB09","requires_shipping":true,"taxable":true,"featured_image":{"id":31470222180451,"product_id":7407689793635,"position":5,"created_at":"2024-05-03T10:41:58+08:00","updated_at":"2024-05-03T10:41:58+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fa642f7ab8c582d14172ad24250f270554d6320_1ae2590f-1b8b-4465-8cf8-f19c5cb18529.webp?v=1714704118","variant_ids":[41877680062563]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - POP全載具1-黑 - 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-PB09","featured_media":{"alt":null,"id":23875125182563,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0fa642f7ab8c582d14172ad24250f270554d6320_1ae2590f-1b8b-4465-8cf8-f19c5cb18529.webp?v=1714704118"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}; $device_handle = null var sellingStatus if ($bumper) { $(document).ready(function() { var productImg = $product.images[0] var bumperVariants = $bumper.variants; var bumperColors = new Object(); var currentVariant = ''; var productType = ''; bumperVariants.forEach(variant => { bumperColors[`${variant.title.split(' (')[0].toLowerCase()}`] = variant.featured_image.src; }); if (productType === 'mod-nx-backplate' || productType === 'mod-backplate') { mergeImages( [productImg, bumperColors[currentVariant]], { crossOrigin: 'anonymous' } ).then(mergedImg => { $('.merged-img').attr('src', mergedImg); }); } else { mergeImages( [bumperColors[currentVariant], productImg], { crossOrigin: 'anonymous' } ).then(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: "停產" }