$product = {"id":7411367870563,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 千年鷹-線條白","handle":"iphone-14-pro-mod-nx-magsafe-printable-pb14","description":null,"published_at":"2024-06-11T17:43:03+08:00","created_at":"2024-05-05T00:16:01+08:00","vendor":"RHINOSHIELD Taiwan B2B","type":"設計師MOD NX MagSafe專區迪士尼-星際大戰 Star Wars","tags":["20%","25%","30%","35%","40%","45%","50%","b2b","brand-Apple","designer","designer-starwars","device-iPhone 14 Pro","merge","mod-nx-magsafe-printable","new-modnx-sku","reseller-modnx-magsafe-star-wars","Top50","type-Mod NX Printable MagSafe Printable"],"price":110000,"price_min":110000,"price_max":110000,"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":41898000121955,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31480244043875,"product_id":7411367870563,"position":1,"created_at":"2024-05-05T00:16:03+08:00","updated_at":"2024-05-05T00:16:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0716f25c1d292fa15a117335b03bbfd5fd4b898b_3711a142-34a7-44c5-abc5-381408c6c1ff.webp?v=1714839363","variant_ids":[41898000121955]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 千年鷹-線條白 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PB14","featured_media":{"alt":null,"id":23885495337059,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0716f25c1d292fa15a117335b03bbfd5fd4b898b_3711a142-34a7-44c5-abc5-381408c6c1ff.webp?v=1714839363"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898000187491,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31480247091299,"product_id":7411367870563,"position":6,"created_at":"2024-05-05T00:16:16+08:00","updated_at":"2024-05-05T00:16:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0012309b516058a0ccae8e3a25c96bf79cfdf273_c4041d52-afa7-4c83-b13a-725783b54602.webp?v=1714839376","variant_ids":[41898000187491]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 千年鷹-線條白 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-PB14","featured_media":{"alt":null,"id":23885498318947,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0012309b516058a0ccae8e3a25c96bf79cfdf273_c4041d52-afa7-4c83-b13a-725783b54602.webp?v=1714839376"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898000416867,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31480249352291,"product_id":7411367870563,"position":10,"created_at":"2024-05-05T00:16:26+08:00","updated_at":"2024-05-05T00:16:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eddb51df0c0cea596232074879f2b8a8a2746b1_b1c7c0d9-7967-41e9-bc06-18528d575948.webp?v=1714839386","variant_ids":[41898000416867]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 千年鷹-線條白 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-PB14","featured_media":{"alt":null,"id":23885500645475,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eddb51df0c0cea596232074879f2b8a8a2746b1_b1c7c0d9-7967-41e9-bc06-18528d575948.webp?v=1714839386"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0716f25c1d292fa15a117335b03bbfd5fd4b898b_3711a142-34a7-44c5-abc5-381408c6c1ff.webp?v=1714839363","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fdb082e9e602d7cf86df980a352e327693d5eee6_d1a53ed0-c613-4655-9567-47e0241390f4.webp?v=1714839366","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46ddf90fb91d9b5f6cd341a1c44e7623106d41c2_35bc45d0-c483-428b-bd40-a387e53375e6.webp?v=1714839369","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bec9634a3118f7ccbcc83d2406da0475bc0d5ff2_cb4b05ef-7c09-4d77-8c95-6deb1f23816b.webp?v=1714839371","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/585a4fea5749d0ba8e5b95020711bb133ec0f0b4_36c3796b-75e7-4e36-9cde-b6e20d92220b.webp?v=1714839373","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0012309b516058a0ccae8e3a25c96bf79cfdf273_c4041d52-afa7-4c83-b13a-725783b54602.webp?v=1714839376","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bd24b2386d3c1b3899b29e1a6604c5ab1153cea_99cf584e-3838-4312-a650-4eeb763c114d.webp?v=1714839378","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/374ac09241e56ad8805714e584b06032620c4ed5_e35ca962-4613-4147-8e54-877cd296c1f3.webp?v=1714839381","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c433ad3e3ba26ff3f176f9f83ea37d4f685f238_4440bc52-c0f3-49f8-9973-94c7f7a8b279.webp?v=1714839384","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eddb51df0c0cea596232074879f2b8a8a2746b1_b1c7c0d9-7967-41e9-bc06-18528d575948.webp?v=1714839386"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0716f25c1d292fa15a117335b03bbfd5fd4b898b_3711a142-34a7-44c5-abc5-381408c6c1ff.webp?v=1714839363","options":["color"],"media":[{"alt":null,"id":23885495337059,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0716f25c1d292fa15a117335b03bbfd5fd4b898b_3711a142-34a7-44c5-abc5-381408c6c1ff.webp?v=1714839363"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0716f25c1d292fa15a117335b03bbfd5fd4b898b_3711a142-34a7-44c5-abc5-381408c6c1ff.webp?v=1714839363","width":2000},{"alt":null,"id":23885495861347,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fdb082e9e602d7cf86df980a352e327693d5eee6_d1a53ed0-c613-4655-9567-47e0241390f4.webp?v=1714839366"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fdb082e9e602d7cf86df980a352e327693d5eee6_d1a53ed0-c613-4655-9567-47e0241390f4.webp?v=1714839366","width":2000},{"alt":null,"id":23885496516707,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46ddf90fb91d9b5f6cd341a1c44e7623106d41c2_35bc45d0-c483-428b-bd40-a387e53375e6.webp?v=1714839369"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/46ddf90fb91d9b5f6cd341a1c44e7623106d41c2_35bc45d0-c483-428b-bd40-a387e53375e6.webp?v=1714839369","width":2000},{"alt":null,"id":23885496975459,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bec9634a3118f7ccbcc83d2406da0475bc0d5ff2_cb4b05ef-7c09-4d77-8c95-6deb1f23816b.webp?v=1714839371"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/bec9634a3118f7ccbcc83d2406da0475bc0d5ff2_cb4b05ef-7c09-4d77-8c95-6deb1f23816b.webp?v=1714839371","width":2000},{"alt":null,"id":23885497729123,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/585a4fea5749d0ba8e5b95020711bb133ec0f0b4_36c3796b-75e7-4e36-9cde-b6e20d92220b.webp?v=1714839373"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/585a4fea5749d0ba8e5b95020711bb133ec0f0b4_36c3796b-75e7-4e36-9cde-b6e20d92220b.webp?v=1714839373","width":2000},{"alt":null,"id":23885498318947,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0012309b516058a0ccae8e3a25c96bf79cfdf273_c4041d52-afa7-4c83-b13a-725783b54602.webp?v=1714839376"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0012309b516058a0ccae8e3a25c96bf79cfdf273_c4041d52-afa7-4c83-b13a-725783b54602.webp?v=1714839376","width":2000},{"alt":null,"id":23885498744931,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bd24b2386d3c1b3899b29e1a6604c5ab1153cea_99cf584e-3838-4312-a650-4eeb763c114d.webp?v=1714839378"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/4bd24b2386d3c1b3899b29e1a6604c5ab1153cea_99cf584e-3838-4312-a650-4eeb763c114d.webp?v=1714839378","width":2000},{"alt":null,"id":23885499400291,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/374ac09241e56ad8805714e584b06032620c4ed5_e35ca962-4613-4147-8e54-877cd296c1f3.webp?v=1714839381"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/374ac09241e56ad8805714e584b06032620c4ed5_e35ca962-4613-4147-8e54-877cd296c1f3.webp?v=1714839381","width":2000},{"alt":null,"id":23885500219491,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c433ad3e3ba26ff3f176f9f83ea37d4f685f238_4440bc52-c0f3-49f8-9973-94c7f7a8b279.webp?v=1714839384"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/8c433ad3e3ba26ff3f176f9f83ea37d4f685f238_4440bc52-c0f3-49f8-9973-94c7f7a8b279.webp?v=1714839384","width":2000},{"alt":null,"id":23885500645475,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eddb51df0c0cea596232074879f2b8a8a2746b1_b1c7c0d9-7967-41e9-bc06-18528d575948.webp?v=1714839386"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eddb51df0c0cea596232074879f2b8a8a2746b1_b1c7c0d9-7967-41e9-bc06-18528d575948.webp?v=1714839386","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41898000121955,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31480244043875,"product_id":7411367870563,"position":1,"created_at":"2024-05-05T00:16:03+08:00","updated_at":"2024-05-05T00:16:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0716f25c1d292fa15a117335b03bbfd5fd4b898b_3711a142-34a7-44c5-abc5-381408c6c1ff.webp?v=1714839363","variant_ids":[41898000121955]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 千年鷹-線條白 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PB14","featured_media":{"alt":null,"id":23885495337059,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0716f25c1d292fa15a117335b03bbfd5fd4b898b_3711a142-34a7-44c5-abc5-381408c6c1ff.webp?v=1714839363"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898000187491,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0126204-PB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31480247091299,"product_id":7411367870563,"position":6,"created_at":"2024-05-05T00:16:16+08:00","updated_at":"2024-05-05T00:16:16+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0012309b516058a0ccae8e3a25c96bf79cfdf273_c4041d52-afa7-4c83-b13a-725783b54602.webp?v=1714839376","variant_ids":[41898000187491]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 千年鷹-線條白 - Mod NX-白色邊框","public_title":"Mod NX-白色邊框","options":["Mod NX-白色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126204-PB14","featured_media":{"alt":null,"id":23885498318947,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0012309b516058a0ccae8e3a25c96bf79cfdf273_c4041d52-afa7-4c83-b13a-725783b54602.webp?v=1714839376"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41898000416867,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01262J5-PB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31480249352291,"product_id":7411367870563,"position":10,"created_at":"2024-05-05T00:16:26+08:00","updated_at":"2024-05-05T00:16:26+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eddb51df0c0cea596232074879f2b8a8a2746b1_b1c7c0d9-7967-41e9-bc06-18528d575948.webp?v=1714839386","variant_ids":[41898000416867]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 千年鷹-線條白 - Mod NX-海軍藍邊框","public_title":"Mod NX-海軍藍邊框","options":["Mod NX-海軍藍邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB01262J5-PB14","featured_media":{"alt":null,"id":23885500645475,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/1eddb51df0c0cea596232074879f2b8a8a2746b1_b1c7c0d9-7967-41e9-bc06-18528d575948.webp?v=1714839386"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41898000121955,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0126224-PB14","requires_shipping":true,"taxable":true,"featured_image":{"id":31480244043875,"product_id":7411367870563,"position":1,"created_at":"2024-05-05T00:16:03+08:00","updated_at":"2024-05-05T00:16:03+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0716f25c1d292fa15a117335b03bbfd5fd4b898b_3711a142-34a7-44c5-abc5-381408c6c1ff.webp?v=1714839363","variant_ids":[41898000121955]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 14 Pro - 迪士尼-星際大戰 Star Wars - 千年鷹-線條白 - Mod NX-黑色邊框","public_title":"Mod NX-黑色邊框","options":["Mod NX-黑色邊框"],"price":110000,"weight":1500,"compare_at_price":null,"inventory_quantity":2500,"inventory_management":null,"inventory_policy":"deny","barcode":"MPB0126224-PB14","featured_media":{"alt":null,"id":23885495337059,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/0716f25c1d292fa15a117335b03bbfd5fd4b898b_3711a142-34a7-44c5-abc5-381408c6c1ff.webp?v=1714839363"}},"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: "停產" }