$product = {"id":7369176711267,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Snoopy 史努比 - 夏日活動","handle":"iphone-14-pro-mod-nx-printable-pl61","description":null,"published_at":"2024-06-11T16:13:52+08:00","created_at":"2024-04-23T15:38:36+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX專區-Snoopy 史努比","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-snoopy","device-iPhone 14 Pro","merge","mod-nx-printable","new-modnx-sku","reseller-modnx-snoopy","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":41793311768675,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PL61","requires_shipping":true,"taxable":true,"featured_image":{"id":31386990379107,"product_id":7369176711267,"position":7,"created_at":"2024-04-23T15:38:57+08:00","updated_at":"2024-04-23T15:38:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4a8166d708161f18dba66b8180fc8bec99844f2_4c938fdd-b985-4ead-bed6-5a3bf3c06eb5.webp?v=1713857937","variant_ids":[41793311768675]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Snoopy 史努比 - 夏日活動 - 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-PL61","featured_media":{"alt":null,"id":23789228752995,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4a8166d708161f18dba66b8180fc8bec99844f2_4c938fdd-b985-4ead-bed6-5a3bf3c06eb5.webp?v=1713857937"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793311834211,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PL61","requires_shipping":true,"taxable":true,"featured_image":{"id":31386990903395,"product_id":7369176711267,"position":8,"created_at":"2024-04-23T15:38:59+08:00","updated_at":"2024-04-23T15:38:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ba4aa4fc727a2a48b0ff5d4929cefdb4cd1657b_aea0ab97-69d5-474e-8c34-7137aa4065aa.webp?v=1713857939","variant_ids":[41793311834211]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Snoopy 史努比 - 夏日活動 - 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-PL61","featured_media":{"alt":null,"id":23789229211747,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ba4aa4fc727a2a48b0ff5d4929cefdb4cd1657b_aea0ab97-69d5-474e-8c34-7137aa4065aa.webp?v=1713857939"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793312063587,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PL61","requires_shipping":true,"taxable":true,"featured_image":{"id":31386989723747,"product_id":7369176711267,"position":6,"created_at":"2024-04-23T15:38:54+08:00","updated_at":"2024-04-23T15:38:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08a838c393d283ccf0b92b74103e5ec10c1cacd1_8fdde63f-52a6-492b-b2ba-d9ca09865db9.webp?v=1713857934","variant_ids":[41793312063587]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Snoopy 史努比 - 夏日活動 - 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-PL61","featured_media":{"alt":null,"id":23789228032099,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08a838c393d283ccf0b92b74103e5ec10c1cacd1_8fdde63f-52a6-492b-b2ba-d9ca09865db9.webp?v=1713857934"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/175d0c7152944ca451927f0d6e761300b816679e_e7d3957c-a235-47b9-b259-50dbe5b3c0c1.webp?v=1713857919","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efc40b1c7cf9ce004ef825914d394e632951c6ac_832051b7-430d-4063-b50f-749a7d5d50c9.webp?v=1713857922","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08dd1862921b3042ddf11ce1d0f19d487d1b9462_d77fb2a4-f155-4a5a-b78f-af557e890929.webp?v=1713857925","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a241ccc18573d59c9a426464d07808c07c09c3a2_2f2012e0-cef1-4ce6-ac6a-8b48e917ebf4.webp?v=1713857928","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c6365cf0866b0d5fad5955a8d876a2d738699f8_a87a4421-5b36-4c05-9484-23721f3f6dba.webp?v=1713857931","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08a838c393d283ccf0b92b74103e5ec10c1cacd1_8fdde63f-52a6-492b-b2ba-d9ca09865db9.webp?v=1713857934","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4a8166d708161f18dba66b8180fc8bec99844f2_4c938fdd-b985-4ead-bed6-5a3bf3c06eb5.webp?v=1713857937","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ba4aa4fc727a2a48b0ff5d4929cefdb4cd1657b_aea0ab97-69d5-474e-8c34-7137aa4065aa.webp?v=1713857939","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc4911f9fd5c896cb7d4aa205804f85bd8fb6617_5f510ba5-6021-4e68-8f29-0a3d758a494f.webp?v=1713857942","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c319f2af32bc7a0f144303e026bf54ed6f20ec93_1a46a5c0-a186-4572-873f-581f2be9bcc8.webp?v=1713857945"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/175d0c7152944ca451927f0d6e761300b816679e_e7d3957c-a235-47b9-b259-50dbe5b3c0c1.webp?v=1713857919","options":["color"],"media":[{"alt":null,"id":23789224362083,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/175d0c7152944ca451927f0d6e761300b816679e_e7d3957c-a235-47b9-b259-50dbe5b3c0c1.webp?v=1713857919"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/175d0c7152944ca451927f0d6e761300b816679e_e7d3957c-a235-47b9-b259-50dbe5b3c0c1.webp?v=1713857919","width":2000},{"alt":null,"id":23789224984675,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efc40b1c7cf9ce004ef825914d394e632951c6ac_832051b7-430d-4063-b50f-749a7d5d50c9.webp?v=1713857922"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/efc40b1c7cf9ce004ef825914d394e632951c6ac_832051b7-430d-4063-b50f-749a7d5d50c9.webp?v=1713857922","width":2000},{"alt":null,"id":23789225803875,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08dd1862921b3042ddf11ce1d0f19d487d1b9462_d77fb2a4-f155-4a5a-b78f-af557e890929.webp?v=1713857925"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08dd1862921b3042ddf11ce1d0f19d487d1b9462_d77fb2a4-f155-4a5a-b78f-af557e890929.webp?v=1713857925","width":2000},{"alt":null,"id":23789226590307,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a241ccc18573d59c9a426464d07808c07c09c3a2_2f2012e0-cef1-4ce6-ac6a-8b48e917ebf4.webp?v=1713857928"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/a241ccc18573d59c9a426464d07808c07c09c3a2_2f2012e0-cef1-4ce6-ac6a-8b48e917ebf4.webp?v=1713857928","width":2000},{"alt":null,"id":23789227409507,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c6365cf0866b0d5fad5955a8d876a2d738699f8_a87a4421-5b36-4c05-9484-23721f3f6dba.webp?v=1713857931"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4c6365cf0866b0d5fad5955a8d876a2d738699f8_a87a4421-5b36-4c05-9484-23721f3f6dba.webp?v=1713857931","width":2000},{"alt":null,"id":23789228032099,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08a838c393d283ccf0b92b74103e5ec10c1cacd1_8fdde63f-52a6-492b-b2ba-d9ca09865db9.webp?v=1713857934"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08a838c393d283ccf0b92b74103e5ec10c1cacd1_8fdde63f-52a6-492b-b2ba-d9ca09865db9.webp?v=1713857934","width":2000},{"alt":null,"id":23789228752995,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4a8166d708161f18dba66b8180fc8bec99844f2_4c938fdd-b985-4ead-bed6-5a3bf3c06eb5.webp?v=1713857937"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4a8166d708161f18dba66b8180fc8bec99844f2_4c938fdd-b985-4ead-bed6-5a3bf3c06eb5.webp?v=1713857937","width":2000},{"alt":null,"id":23789229211747,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ba4aa4fc727a2a48b0ff5d4929cefdb4cd1657b_aea0ab97-69d5-474e-8c34-7137aa4065aa.webp?v=1713857939"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ba4aa4fc727a2a48b0ff5d4929cefdb4cd1657b_aea0ab97-69d5-474e-8c34-7137aa4065aa.webp?v=1713857939","width":2000},{"alt":null,"id":23789229932643,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc4911f9fd5c896cb7d4aa205804f85bd8fb6617_5f510ba5-6021-4e68-8f29-0a3d758a494f.webp?v=1713857942"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/dc4911f9fd5c896cb7d4aa205804f85bd8fb6617_5f510ba5-6021-4e68-8f29-0a3d758a494f.webp?v=1713857942","width":2000},{"alt":null,"id":23789230489699,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c319f2af32bc7a0f144303e026bf54ed6f20ec93_1a46a5c0-a186-4572-873f-581f2be9bcc8.webp?v=1713857945"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/c319f2af32bc7a0f144303e026bf54ed6f20ec93_1a46a5c0-a186-4572-873f-581f2be9bcc8.webp?v=1713857945","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $bumper = null; $variants = [{"id":41793311768675,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PL61","requires_shipping":true,"taxable":true,"featured_image":{"id":31386990379107,"product_id":7369176711267,"position":7,"created_at":"2024-04-23T15:38:57+08:00","updated_at":"2024-04-23T15:38:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4a8166d708161f18dba66b8180fc8bec99844f2_4c938fdd-b985-4ead-bed6-5a3bf3c06eb5.webp?v=1713857937","variant_ids":[41793311768675]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Snoopy 史努比 - 夏日活動 - 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-PL61","featured_media":{"alt":null,"id":23789228752995,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4a8166d708161f18dba66b8180fc8bec99844f2_4c938fdd-b985-4ead-bed6-5a3bf3c06eb5.webp?v=1713857937"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793311834211,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PL61","requires_shipping":true,"taxable":true,"featured_image":{"id":31386990903395,"product_id":7369176711267,"position":8,"created_at":"2024-04-23T15:38:59+08:00","updated_at":"2024-04-23T15:38:59+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ba4aa4fc727a2a48b0ff5d4929cefdb4cd1657b_aea0ab97-69d5-474e-8c34-7137aa4065aa.webp?v=1713857939","variant_ids":[41793311834211]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Snoopy 史努比 - 夏日活動 - 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-PL61","featured_media":{"alt":null,"id":23789229211747,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0ba4aa4fc727a2a48b0ff5d4929cefdb4cd1657b_aea0ab97-69d5-474e-8c34-7137aa4065aa.webp?v=1713857939"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41793312063587,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PL61","requires_shipping":true,"taxable":true,"featured_image":{"id":31386989723747,"product_id":7369176711267,"position":6,"created_at":"2024-04-23T15:38:54+08:00","updated_at":"2024-04-23T15:38:54+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08a838c393d283ccf0b92b74103e5ec10c1cacd1_8fdde63f-52a6-492b-b2ba-d9ca09865db9.webp?v=1713857934","variant_ids":[41793312063587]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Snoopy 史努比 - 夏日活動 - 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-PL61","featured_media":{"alt":null,"id":23789228032099,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/08a838c393d283ccf0b92b74103e5ec10c1cacd1_8fdde63f-52a6-492b-b2ba-d9ca09865db9.webp?v=1713857934"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41793311768675,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PL61","requires_shipping":true,"taxable":true,"featured_image":{"id":31386990379107,"product_id":7369176711267,"position":7,"created_at":"2024-04-23T15:38:57+08:00","updated_at":"2024-04-23T15:38:57+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4a8166d708161f18dba66b8180fc8bec99844f2_4c938fdd-b985-4ead-bed6-5a3bf3c06eb5.webp?v=1713857937","variant_ids":[41793311768675]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - Snoopy 史努比 - 夏日活動 - 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-PL61","featured_media":{"alt":null,"id":23789228752995,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e4a8166d708161f18dba66b8180fc8bec99844f2_4c938fdd-b985-4ead-bed6-5a3bf3c06eb5.webp?v=1713857937"}},"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: "停產" }