$product = {"id":7407884501091,"title":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士\u0026風暴兵-剪紙系列","handle":"iphone-14-pro-mod-nx-printable-pb55","description":null,"published_at":"2024-06-11T16:25:33+08:00","created_at":"2024-05-03T11:09:05+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":41880056922211,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB55","requires_shipping":true,"taxable":true,"featured_image":{"id":31470615429219,"product_id":7407884501091,"position":3,"created_at":"2024-05-03T11:09:13+08:00","updated_at":"2024-05-03T11:09:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e098a59e515be2f817e44974d77936f03006a4a6_fd7de34b-d074-4653-af9d-dfa4a01d7a42.webp?v=1714705753","variant_ids":[41880056922211]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士\u0026風暴兵-剪紙系列 - 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-PB55","featured_media":{"alt":null,"id":23875519348835,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e098a59e515be2f817e44974d77936f03006a4a6_fd7de34b-d074-4653-af9d-dfa4a01d7a42.webp?v=1714705753"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880057086051,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB55","requires_shipping":true,"taxable":true,"featured_image":{"id":31470614839395,"product_id":7407884501091,"position":2,"created_at":"2024-05-03T11:09:10+08:00","updated_at":"2024-05-03T11:09:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65b3665ee867ddcb6a57dadd279e0b7c89597d95_edefe261-1b99-413c-9b75-bd5562af113e.webp?v=1714705750","variant_ids":[41880057086051]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士\u0026風暴兵-剪紙系列 - 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-PB55","featured_media":{"alt":null,"id":23875518759011,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65b3665ee867ddcb6a57dadd279e0b7c89597d95_edefe261-1b99-413c-9b75-bd5562af113e.webp?v=1714705750"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880057839715,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB55","requires_shipping":true,"taxable":true,"featured_image":{"id":31470614282339,"product_id":7407884501091,"position":1,"created_at":"2024-05-03T11:09:08+08:00","updated_at":"2024-05-03T11:09:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d65c0c5a4558472d2282ef620414690385966e80_a8a2c5c6-ab45-4a02-97e8-7157cfa227d8.webp?v=1714705748","variant_ids":[41880057839715]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士\u0026風暴兵-剪紙系列 - 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-PB55","featured_media":{"alt":null,"id":23875518201955,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d65c0c5a4558472d2282ef620414690385966e80_a8a2c5c6-ab45-4a02-97e8-7157cfa227d8.webp?v=1714705748"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d65c0c5a4558472d2282ef620414690385966e80_a8a2c5c6-ab45-4a02-97e8-7157cfa227d8.webp?v=1714705748","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65b3665ee867ddcb6a57dadd279e0b7c89597d95_edefe261-1b99-413c-9b75-bd5562af113e.webp?v=1714705750","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e098a59e515be2f817e44974d77936f03006a4a6_fd7de34b-d074-4653-af9d-dfa4a01d7a42.webp?v=1714705753","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2ffb8f5aa41cc7a09bf760c1e66f77631c209dd_46f11609-693c-4475-af4c-8f2a280c9183.webp?v=1714705755","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94b9700962bcc617e7d3202170fbd90168c83b8b_73323ad1-812d-40c3-8ffb-843877eb9c58.webp?v=1714705757","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5aa3fe5e16655e7388284524e00b8fb89665b0f3_30f25191-77f3-4724-9083-1178cac88a72.webp?v=1714705760","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36a1c7843e2e45ab6bab7947129d3af9c57d044c_1ccfff7e-1bcb-4a23-8091-6392fec95647.webp?v=1714705762","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40c85cb859f3a72cff502ef4409cf5b3fcc5c116_c1174abd-357f-4dc7-b023-f7f6fba65a57.webp?v=1714705765","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd3f4b3e157a3b0343dd48176f40d2514ec43528_38d15cf5-d570-4dac-9f11-042eb6b4f520.webp?v=1714705767","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/714a170b525d09fc5cd8e5a67ba7cf997089081c_823dca6f-58e2-4a68-ad86-3ab26d443059.webp?v=1714705769"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d65c0c5a4558472d2282ef620414690385966e80_a8a2c5c6-ab45-4a02-97e8-7157cfa227d8.webp?v=1714705748","options":["color"],"media":[{"alt":null,"id":23875518201955,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d65c0c5a4558472d2282ef620414690385966e80_a8a2c5c6-ab45-4a02-97e8-7157cfa227d8.webp?v=1714705748"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d65c0c5a4558472d2282ef620414690385966e80_a8a2c5c6-ab45-4a02-97e8-7157cfa227d8.webp?v=1714705748","width":2000},{"alt":null,"id":23875518759011,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65b3665ee867ddcb6a57dadd279e0b7c89597d95_edefe261-1b99-413c-9b75-bd5562af113e.webp?v=1714705750"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65b3665ee867ddcb6a57dadd279e0b7c89597d95_edefe261-1b99-413c-9b75-bd5562af113e.webp?v=1714705750","width":2000},{"alt":null,"id":23875519348835,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e098a59e515be2f817e44974d77936f03006a4a6_fd7de34b-d074-4653-af9d-dfa4a01d7a42.webp?v=1714705753"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e098a59e515be2f817e44974d77936f03006a4a6_fd7de34b-d074-4653-af9d-dfa4a01d7a42.webp?v=1714705753","width":2000},{"alt":null,"id":23875519840355,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2ffb8f5aa41cc7a09bf760c1e66f77631c209dd_46f11609-693c-4475-af4c-8f2a280c9183.webp?v=1714705755"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e2ffb8f5aa41cc7a09bf760c1e66f77631c209dd_46f11609-693c-4475-af4c-8f2a280c9183.webp?v=1714705755","width":2000},{"alt":null,"id":23875520364643,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94b9700962bcc617e7d3202170fbd90168c83b8b_73323ad1-812d-40c3-8ffb-843877eb9c58.webp?v=1714705757"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/94b9700962bcc617e7d3202170fbd90168c83b8b_73323ad1-812d-40c3-8ffb-843877eb9c58.webp?v=1714705757","width":2000},{"alt":null,"id":23875520888931,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5aa3fe5e16655e7388284524e00b8fb89665b0f3_30f25191-77f3-4724-9083-1178cac88a72.webp?v=1714705760"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/5aa3fe5e16655e7388284524e00b8fb89665b0f3_30f25191-77f3-4724-9083-1178cac88a72.webp?v=1714705760","width":2000},{"alt":null,"id":23875521413219,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36a1c7843e2e45ab6bab7947129d3af9c57d044c_1ccfff7e-1bcb-4a23-8091-6392fec95647.webp?v=1714705762"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/36a1c7843e2e45ab6bab7947129d3af9c57d044c_1ccfff7e-1bcb-4a23-8091-6392fec95647.webp?v=1714705762","width":2000},{"alt":null,"id":23875522035811,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40c85cb859f3a72cff502ef4409cf5b3fcc5c116_c1174abd-357f-4dc7-b023-f7f6fba65a57.webp?v=1714705765"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/40c85cb859f3a72cff502ef4409cf5b3fcc5c116_c1174abd-357f-4dc7-b023-f7f6fba65a57.webp?v=1714705765","width":2000},{"alt":null,"id":23875522560099,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd3f4b3e157a3b0343dd48176f40d2514ec43528_38d15cf5-d570-4dac-9f11-042eb6b4f520.webp?v=1714705767"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bd3f4b3e157a3b0343dd48176f40d2514ec43528_38d15cf5-d570-4dac-9f11-042eb6b4f520.webp?v=1714705767","width":2000},{"alt":null,"id":23875523051619,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/714a170b525d09fc5cd8e5a67ba7cf997089081c_823dca6f-58e2-4a68-ad86-3ab26d443059.webp?v=1714705769"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/714a170b525d09fc5cd8e5a67ba7cf997089081c_823dca6f-58e2-4a68-ad86-3ab26d443059.webp?v=1714705769","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41880056922211,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB55","requires_shipping":true,"taxable":true,"featured_image":{"id":31470615429219,"product_id":7407884501091,"position":3,"created_at":"2024-05-03T11:09:13+08:00","updated_at":"2024-05-03T11:09:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e098a59e515be2f817e44974d77936f03006a4a6_fd7de34b-d074-4653-af9d-dfa4a01d7a42.webp?v=1714705753","variant_ids":[41880056922211]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士\u0026風暴兵-剪紙系列 - 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-PB55","featured_media":{"alt":null,"id":23875519348835,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e098a59e515be2f817e44974d77936f03006a4a6_fd7de34b-d074-4653-af9d-dfa4a01d7a42.webp?v=1714705753"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880057086051,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"NPB0126204-PB55","requires_shipping":true,"taxable":true,"featured_image":{"id":31470614839395,"product_id":7407884501091,"position":2,"created_at":"2024-05-03T11:09:10+08:00","updated_at":"2024-05-03T11:09:10+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65b3665ee867ddcb6a57dadd279e0b7c89597d95_edefe261-1b99-413c-9b75-bd5562af113e.webp?v=1714705750","variant_ids":[41880057086051]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士\u0026風暴兵-剪紙系列 - 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-PB55","featured_media":{"alt":null,"id":23875518759011,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/65b3665ee867ddcb6a57dadd279e0b7c89597d95_edefe261-1b99-413c-9b75-bd5562af113e.webp?v=1714705750"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41880057839715,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"NPB01262J5-PB55","requires_shipping":true,"taxable":true,"featured_image":{"id":31470614282339,"product_id":7407884501091,"position":1,"created_at":"2024-05-03T11:09:08+08:00","updated_at":"2024-05-03T11:09:08+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d65c0c5a4558472d2282ef620414690385966e80_a8a2c5c6-ab45-4a02-97e8-7157cfa227d8.webp?v=1714705748","variant_ids":[41880057839715]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士\u0026風暴兵-剪紙系列 - 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-PB55","featured_media":{"alt":null,"id":23875518201955,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/d65c0c5a4558472d2282ef620414690385966e80_a8a2c5c6-ab45-4a02-97e8-7157cfa227d8.webp?v=1714705748"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41880056922211,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"NPB0126224-PB55","requires_shipping":true,"taxable":true,"featured_image":{"id":31470615429219,"product_id":7407884501091,"position":3,"created_at":"2024-05-03T11:09:13+08:00","updated_at":"2024-05-03T11:09:13+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e098a59e515be2f817e44974d77936f03006a4a6_fd7de34b-d074-4653-af9d-dfa4a01d7a42.webp?v=1714705753","variant_ids":[41880056922211]},"available":true,"name":"犀牛盾Mod NX手機殼 - iPhone 14 Pro - 【聯名設計款】 - 迪士尼-星際大戰 Star Wars - 黑武士\u0026風暴兵-剪紙系列 - 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-PB55","featured_media":{"alt":null,"id":23875519348835,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/e098a59e515be2f817e44974d77936f03006a4a6_fd7de34b-d074-4653-af9d-dfa4a01d7a42.webp?v=1714705753"}},"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: "停產" }