$product = {"id":7407845015651,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 爪哇族1-塗鴉藝術","handle":"iphone-14-pro-mod-nx-printable-pb35","description":null,"published_at":"2024-06-11T16:24:26+08:00","created_at":"2024-05-03T11:01:19+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":41879552852067,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB35","requires_shipping":true,"taxable":true,"featured_image":{"id":31470511620195,"product_id":7407845015651,"position":6,"created_at":"2024-05-03T11:01:33+08:00","updated_at":"2024-05-03T11:01:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8ace37ff4fdfb09d55bc1a96ee842f4e47e550d_bf0919e0-74aa-43db-a99e-7065c056749e.webp?v=1714705293","variant_ids":[41879552852067]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 爪哇族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-PB35","featured_media":{"alt":null,"id":23875415375971,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8ace37ff4fdfb09d55bc1a96ee842f4e47e550d_bf0919e0-74aa-43db-a99e-7065c056749e.webp?v=1714705293"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879552983139,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB35","requires_shipping":true,"taxable":true,"featured_image":{"id":31470512963683,"product_id":7407845015651,"position":9,"created_at":"2024-05-03T11:01:40+08:00","updated_at":"2024-05-03T11:01:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bdf6618aad3e27029311772064401e3ae57f58a_c1350b33-4110-434b-8232-711ba636e99f.webp?v=1714705300","variant_ids":[41879552983139]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 爪哇族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-PB35","featured_media":{"alt":null,"id":23875416719459,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bdf6618aad3e27029311772064401e3ae57f58a_c1350b33-4110-434b-8232-711ba636e99f.webp?v=1714705300"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879553441891,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB35","requires_shipping":true,"taxable":true,"featured_image":{"id":31470510932067,"product_id":7407845015651,"position":4,"created_at":"2024-05-03T11:01:28+08:00","updated_at":"2024-05-03T11:01:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d40a503a4eb0f426a78bcb760e24c67538eb88d8_cddde262-f9d4-4e1c-8567-9ba260e2fcc4.webp?v=1714705288","variant_ids":[41879553441891]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 爪哇族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-PB35","featured_media":{"alt":null,"id":23875414687843,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d40a503a4eb0f426a78bcb760e24c67538eb88d8_cddde262-f9d4-4e1c-8567-9ba260e2fcc4.webp?v=1714705288"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ab9236e850b795026569ee3544fbcba6a83c69d_9b8061fc-d079-430d-a3bc-6731461f6964.webp?v=1714705281","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cbd8f79da52e4b242714af448232c7a78739cb71_cecff759-0468-4273-a011-7b42bbdc2e30.webp?v=1714705284","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d56092087e29b7dfc5824ccef3538c525e8c8a4_92a7d863-a1da-433b-9fa4-f37a0a1c3ccd.webp?v=1714705286","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d40a503a4eb0f426a78bcb760e24c67538eb88d8_cddde262-f9d4-4e1c-8567-9ba260e2fcc4.webp?v=1714705288","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d28d798a03cc84a700ff1ef89aad30f1f5f44da4_db40e7e6-1e0e-419d-aab4-1a1b71a7a71b.webp?v=1714705291","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8ace37ff4fdfb09d55bc1a96ee842f4e47e550d_bf0919e0-74aa-43db-a99e-7065c056749e.webp?v=1714705293","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af804fa547395b02ab84dfc33f7c927dd330199e_18762c51-90e7-43ca-8614-2fb04d0ab6ee.webp?v=1714705295","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bdffca275fb3a277a9eecd8ddd65c3acc0ee3e2d_1ba23da7-f4b6-4709-9608-9e76dc1675f0.webp?v=1714705297","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bdf6618aad3e27029311772064401e3ae57f58a_c1350b33-4110-434b-8232-711ba636e99f.webp?v=1714705300","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/952285208520469434b8089028568be41aaa6f9f_7fa9275e-16f9-4b17-95ef-0e4868ea416a.webp?v=1714705302"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ab9236e850b795026569ee3544fbcba6a83c69d_9b8061fc-d079-430d-a3bc-6731461f6964.webp?v=1714705281","options":["color"],"media":[{"alt":null,"id":23875413246051,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ab9236e850b795026569ee3544fbcba6a83c69d_9b8061fc-d079-430d-a3bc-6731461f6964.webp?v=1714705281"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3ab9236e850b795026569ee3544fbcba6a83c69d_9b8061fc-d079-430d-a3bc-6731461f6964.webp?v=1714705281","width":2000},{"alt":null,"id":23875413803107,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cbd8f79da52e4b242714af448232c7a78739cb71_cecff759-0468-4273-a011-7b42bbdc2e30.webp?v=1714705284"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cbd8f79da52e4b242714af448232c7a78739cb71_cecff759-0468-4273-a011-7b42bbdc2e30.webp?v=1714705284","width":2000},{"alt":null,"id":23875414196323,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d56092087e29b7dfc5824ccef3538c525e8c8a4_92a7d863-a1da-433b-9fa4-f37a0a1c3ccd.webp?v=1714705286"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9d56092087e29b7dfc5824ccef3538c525e8c8a4_92a7d863-a1da-433b-9fa4-f37a0a1c3ccd.webp?v=1714705286","width":2000},{"alt":null,"id":23875414687843,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d40a503a4eb0f426a78bcb760e24c67538eb88d8_cddde262-f9d4-4e1c-8567-9ba260e2fcc4.webp?v=1714705288"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d40a503a4eb0f426a78bcb760e24c67538eb88d8_cddde262-f9d4-4e1c-8567-9ba260e2fcc4.webp?v=1714705288","width":2000},{"alt":null,"id":23875415048291,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d28d798a03cc84a700ff1ef89aad30f1f5f44da4_db40e7e6-1e0e-419d-aab4-1a1b71a7a71b.webp?v=1714705291"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d28d798a03cc84a700ff1ef89aad30f1f5f44da4_db40e7e6-1e0e-419d-aab4-1a1b71a7a71b.webp?v=1714705291","width":2000},{"alt":null,"id":23875415375971,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8ace37ff4fdfb09d55bc1a96ee842f4e47e550d_bf0919e0-74aa-43db-a99e-7065c056749e.webp?v=1714705293"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8ace37ff4fdfb09d55bc1a96ee842f4e47e550d_bf0919e0-74aa-43db-a99e-7065c056749e.webp?v=1714705293","width":2000},{"alt":null,"id":23875415900259,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af804fa547395b02ab84dfc33f7c927dd330199e_18762c51-90e7-43ca-8614-2fb04d0ab6ee.webp?v=1714705295"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/af804fa547395b02ab84dfc33f7c927dd330199e_18762c51-90e7-43ca-8614-2fb04d0ab6ee.webp?v=1714705295","width":2000},{"alt":null,"id":23875416195171,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bdffca275fb3a277a9eecd8ddd65c3acc0ee3e2d_1ba23da7-f4b6-4709-9608-9e76dc1675f0.webp?v=1714705297"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bdffca275fb3a277a9eecd8ddd65c3acc0ee3e2d_1ba23da7-f4b6-4709-9608-9e76dc1675f0.webp?v=1714705297","width":2000},{"alt":null,"id":23875416719459,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bdf6618aad3e27029311772064401e3ae57f58a_c1350b33-4110-434b-8232-711ba636e99f.webp?v=1714705300"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bdf6618aad3e27029311772064401e3ae57f58a_c1350b33-4110-434b-8232-711ba636e99f.webp?v=1714705300","width":2000},{"alt":null,"id":23875417047139,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/952285208520469434b8089028568be41aaa6f9f_7fa9275e-16f9-4b17-95ef-0e4868ea416a.webp?v=1714705302"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/952285208520469434b8089028568be41aaa6f9f_7fa9275e-16f9-4b17-95ef-0e4868ea416a.webp?v=1714705302","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41879552852067,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB35","requires_shipping":true,"taxable":true,"featured_image":{"id":31470511620195,"product_id":7407845015651,"position":6,"created_at":"2024-05-03T11:01:33+08:00","updated_at":"2024-05-03T11:01:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8ace37ff4fdfb09d55bc1a96ee842f4e47e550d_bf0919e0-74aa-43db-a99e-7065c056749e.webp?v=1714705293","variant_ids":[41879552852067]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 爪哇族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-PB35","featured_media":{"alt":null,"id":23875415375971,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8ace37ff4fdfb09d55bc1a96ee842f4e47e550d_bf0919e0-74aa-43db-a99e-7065c056749e.webp?v=1714705293"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879552983139,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB35","requires_shipping":true,"taxable":true,"featured_image":{"id":31470512963683,"product_id":7407845015651,"position":9,"created_at":"2024-05-03T11:01:40+08:00","updated_at":"2024-05-03T11:01:40+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bdf6618aad3e27029311772064401e3ae57f58a_c1350b33-4110-434b-8232-711ba636e99f.webp?v=1714705300","variant_ids":[41879552983139]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 爪哇族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-PB35","featured_media":{"alt":null,"id":23875416719459,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8bdf6618aad3e27029311772064401e3ae57f58a_c1350b33-4110-434b-8232-711ba636e99f.webp?v=1714705300"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41879553441891,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB35","requires_shipping":true,"taxable":true,"featured_image":{"id":31470510932067,"product_id":7407845015651,"position":4,"created_at":"2024-05-03T11:01:28+08:00","updated_at":"2024-05-03T11:01:28+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d40a503a4eb0f426a78bcb760e24c67538eb88d8_cddde262-f9d4-4e1c-8567-9ba260e2fcc4.webp?v=1714705288","variant_ids":[41879553441891]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 爪哇族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-PB35","featured_media":{"alt":null,"id":23875414687843,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d40a503a4eb0f426a78bcb760e24c67538eb88d8_cddde262-f9d4-4e1c-8567-9ba260e2fcc4.webp?v=1714705288"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41879552852067,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB35","requires_shipping":true,"taxable":true,"featured_image":{"id":31470511620195,"product_id":7407845015651,"position":6,"created_at":"2024-05-03T11:01:33+08:00","updated_at":"2024-05-03T11:01:33+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8ace37ff4fdfb09d55bc1a96ee842f4e47e550d_bf0919e0-74aa-43db-a99e-7065c056749e.webp?v=1714705293","variant_ids":[41879552852067]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 爪哇族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-PB35","featured_media":{"alt":null,"id":23875415375971,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f8ace37ff4fdfb09d55bc1a96ee842f4e47e550d_bf0919e0-74aa-43db-a99e-7065c056749e.webp?v=1714705293"}},"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: "停產" }