$product = {"id":7414269247587,"title":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - X戰機-線條白","handle":"iphone-13-mini-mod-nx-magsafe-printable-pb16","description":null,"published_at":"2024-06-11T17:50:23+08:00","created_at":"2024-05-05T14:19:25+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 13 mini","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":41905313415267,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31485046554723,"product_id":7414269247587,"position":9,"created_at":"2024-05-05T14:19:45+08:00","updated_at":"2024-05-05T14:19:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74ec16c19349e8eaf84c95f6ab446805c186fbb6_82919246-50d2-4066-be21-b1af7b3aa0f9.webp?v=1714889985","variant_ids":[41905313415267]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - X戰機-線條白 - 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":"MPB0122824-PB16","featured_media":{"alt":null,"id":23890361516131,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74ec16c19349e8eaf84c95f6ab446805c186fbb6_82919246-50d2-4066-be21-b1af7b3aa0f9.webp?v=1714889985"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41905313546339,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31485041377379,"product_id":7414269247587,"position":6,"created_at":"2024-05-05T14:19:38+08:00","updated_at":"2024-05-05T14:19:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb89bc4d76aa4ed12e9a3f1119c105b092e8eace_03a0efa1-3eae-45ea-808d-1a3465518f6d.webp?v=1714889978","variant_ids":[41905313546339]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - X戰機-線條白 - 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":"MPB0122804-PB16","featured_media":{"alt":null,"id":23890356437091,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb89bc4d76aa4ed12e9a3f1119c105b092e8eace_03a0efa1-3eae-45ea-808d-1a3465518f6d.webp?v=1714889978"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41905313874019,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31485032104035,"product_id":7414269247587,"position":1,"created_at":"2024-05-05T14:19:27+08:00","updated_at":"2024-05-05T14:19:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3edc7e7905e85b15a65b62b6531287e8a92c57c6_c7534a83-b515-4aed-9bc5-ecbc242d3799.webp?v=1714889967","variant_ids":[41905313874019]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - X戰機-線條白 - 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":"MPB01228J5-PB16","featured_media":{"alt":null,"id":23890347130979,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3edc7e7905e85b15a65b62b6531287e8a92c57c6_c7534a83-b515-4aed-9bc5-ecbc242d3799.webp?v=1714889967"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3edc7e7905e85b15a65b62b6531287e8a92c57c6_c7534a83-b515-4aed-9bc5-ecbc242d3799.webp?v=1714889967","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3646278a555e1972ea37b86174994add84d801f_975707ea-57ef-423e-be16-56f4b36b636b.webp?v=1714889969","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7245340af84cfcd961ba68885df8b190ce0b316f_33238d53-be2b-42f5-98bd-5e81079c3f19.webp?v=1714889972","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88e452aa3c5595aa940b704be514d9a55e7f7413_d160e471-47c3-4e29-8f43-be799c990f9f.webp?v=1714889974","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd76df59f195df138d2bd547c29d2b8912cadc7a_c51880b5-1a31-43ea-8ba9-568f0e9a44b7.webp?v=1714889976","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb89bc4d76aa4ed12e9a3f1119c105b092e8eace_03a0efa1-3eae-45ea-808d-1a3465518f6d.webp?v=1714889978","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a6fca6397f919e1caf336c159a8a8c2aaad5133_d0c31f0c-2b1b-44ba-802c-247bc165560c.webp?v=1714889981","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31b1130ae62c0249cc7828def5ae1f2997487c26_2bc0f8b7-9057-46ee-b461-fc885fb9cea3.webp?v=1714889983","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74ec16c19349e8eaf84c95f6ab446805c186fbb6_82919246-50d2-4066-be21-b1af7b3aa0f9.webp?v=1714889985","\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3024a89ece9d047d6fd1545f8f86f127d36bf26_5d3edf8f-62e0-4bed-b652-d27ab0eb13c4.webp?v=1714889988"],"featured_image":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3edc7e7905e85b15a65b62b6531287e8a92c57c6_c7534a83-b515-4aed-9bc5-ecbc242d3799.webp?v=1714889967","options":["color"],"media":[{"alt":null,"id":23890347130979,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3edc7e7905e85b15a65b62b6531287e8a92c57c6_c7534a83-b515-4aed-9bc5-ecbc242d3799.webp?v=1714889967"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3edc7e7905e85b15a65b62b6531287e8a92c57c6_c7534a83-b515-4aed-9bc5-ecbc242d3799.webp?v=1714889967","width":2000},{"alt":null,"id":23890348769379,"position":2,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3646278a555e1972ea37b86174994add84d801f_975707ea-57ef-423e-be16-56f4b36b636b.webp?v=1714889969"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3646278a555e1972ea37b86174994add84d801f_975707ea-57ef-423e-be16-56f4b36b636b.webp?v=1714889969","width":2000},{"alt":null,"id":23890350669923,"position":3,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7245340af84cfcd961ba68885df8b190ce0b316f_33238d53-be2b-42f5-98bd-5e81079c3f19.webp?v=1714889972"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/7245340af84cfcd961ba68885df8b190ce0b316f_33238d53-be2b-42f5-98bd-5e81079c3f19.webp?v=1714889972","width":2000},{"alt":null,"id":23890352832611,"position":4,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88e452aa3c5595aa940b704be514d9a55e7f7413_d160e471-47c3-4e29-8f43-be799c990f9f.webp?v=1714889974"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/88e452aa3c5595aa940b704be514d9a55e7f7413_d160e471-47c3-4e29-8f43-be799c990f9f.webp?v=1714889974","width":2000},{"alt":null,"id":23890354864227,"position":5,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd76df59f195df138d2bd547c29d2b8912cadc7a_c51880b5-1a31-43ea-8ba9-568f0e9a44b7.webp?v=1714889976"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/cd76df59f195df138d2bd547c29d2b8912cadc7a_c51880b5-1a31-43ea-8ba9-568f0e9a44b7.webp?v=1714889976","width":2000},{"alt":null,"id":23890356437091,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb89bc4d76aa4ed12e9a3f1119c105b092e8eace_03a0efa1-3eae-45ea-808d-1a3465518f6d.webp?v=1714889978"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb89bc4d76aa4ed12e9a3f1119c105b092e8eace_03a0efa1-3eae-45ea-808d-1a3465518f6d.webp?v=1714889978","width":2000},{"alt":null,"id":23890358337635,"position":7,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a6fca6397f919e1caf336c159a8a8c2aaad5133_d0c31f0c-2b1b-44ba-802c-247bc165560c.webp?v=1714889981"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/9a6fca6397f919e1caf336c159a8a8c2aaad5133_d0c31f0c-2b1b-44ba-802c-247bc165560c.webp?v=1714889981","width":2000},{"alt":null,"id":23890359943267,"position":8,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31b1130ae62c0249cc7828def5ae1f2997487c26_2bc0f8b7-9057-46ee-b461-fc885fb9cea3.webp?v=1714889983"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/31b1130ae62c0249cc7828def5ae1f2997487c26_2bc0f8b7-9057-46ee-b461-fc885fb9cea3.webp?v=1714889983","width":2000},{"alt":null,"id":23890361516131,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74ec16c19349e8eaf84c95f6ab446805c186fbb6_82919246-50d2-4066-be21-b1af7b3aa0f9.webp?v=1714889985"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74ec16c19349e8eaf84c95f6ab446805c186fbb6_82919246-50d2-4066-be21-b1af7b3aa0f9.webp?v=1714889985","width":2000},{"alt":null,"id":23890362794083,"position":10,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3024a89ece9d047d6fd1545f8f86f127d36bf26_5d3edf8f-62e0-4bed-b652-d27ab0eb13c4.webp?v=1714889988"},"aspect_ratio":1.0,"height":2000,"media_type":"image","src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/f3024a89ece9d047d6fd1545f8f86f127d36bf26_5d3edf8f-62e0-4bed-b652-d27ab0eb13c4.webp?v=1714889988","width":2000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":null}; $isMerge = null; $variants = [{"id":41905313415267,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31485046554723,"product_id":7414269247587,"position":9,"created_at":"2024-05-05T14:19:45+08:00","updated_at":"2024-05-05T14:19:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74ec16c19349e8eaf84c95f6ab446805c186fbb6_82919246-50d2-4066-be21-b1af7b3aa0f9.webp?v=1714889985","variant_ids":[41905313415267]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - X戰機-線條白 - 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":"MPB0122824-PB16","featured_media":{"alt":null,"id":23890361516131,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74ec16c19349e8eaf84c95f6ab446805c186fbb6_82919246-50d2-4066-be21-b1af7b3aa0f9.webp?v=1714889985"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41905313546339,"title":"Mod NX-白色邊框","option1":"Mod NX-白色邊框","option2":null,"option3":null,"sku":"MPB0122804-PB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31485041377379,"product_id":7414269247587,"position":6,"created_at":"2024-05-05T14:19:38+08:00","updated_at":"2024-05-05T14:19:38+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb89bc4d76aa4ed12e9a3f1119c105b092e8eace_03a0efa1-3eae-45ea-808d-1a3465518f6d.webp?v=1714889978","variant_ids":[41905313546339]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - X戰機-線條白 - 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":"MPB0122804-PB16","featured_media":{"alt":null,"id":23890356437091,"position":6,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/fb89bc4d76aa4ed12e9a3f1119c105b092e8eace_03a0efa1-3eae-45ea-808d-1a3465518f6d.webp?v=1714889978"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}},{"id":41905313874019,"title":"Mod NX-海軍藍邊框","option1":"Mod NX-海軍藍邊框","option2":null,"option3":null,"sku":"MPB01228J5-PB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31485032104035,"product_id":7414269247587,"position":1,"created_at":"2024-05-05T14:19:27+08:00","updated_at":"2024-05-05T14:19:27+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3edc7e7905e85b15a65b62b6531287e8a92c57c6_c7534a83-b515-4aed-9bc5-ecbc242d3799.webp?v=1714889967","variant_ids":[41905313874019]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - X戰機-線條白 - 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":"MPB01228J5-PB16","featured_media":{"alt":null,"id":23890347130979,"position":1,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/3edc7e7905e85b15a65b62b6531287e8a92c57c6_c7534a83-b515-4aed-9bc5-ecbc242d3799.webp?v=1714889967"}},"requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}]; $defaultVariant = {"id":41905313415267,"title":"Mod NX-黑色邊框","option1":"Mod NX-黑色邊框","option2":null,"option3":null,"sku":"MPB0122824-PB16","requires_shipping":true,"taxable":true,"featured_image":{"id":31485046554723,"product_id":7414269247587,"position":9,"created_at":"2024-05-05T14:19:45+08:00","updated_at":"2024-05-05T14:19:45+08:00","alt":null,"width":2000,"height":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74ec16c19349e8eaf84c95f6ab446805c186fbb6_82919246-50d2-4066-be21-b1af7b3aa0f9.webp?v=1714889985","variant_ids":[41905313415267]},"available":true,"name":"犀牛盾Mod NX (MagSafe 兼容)手機殼 - iPhone 13 mini - 迪士尼-星際大戰 Star Wars - X戰機-線條白 - 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":"MPB0122824-PB16","featured_media":{"alt":null,"id":23890361516131,"position":9,"preview_image":{"aspect_ratio":1.0,"height":2000,"width":2000,"src":"\/\/b2b.rhinoshield.tw\/cdn\/shop\/files\/74ec16c19349e8eaf84c95f6ab446805c186fbb6_82919246-50d2-4066-be21-b1af7b3aa0f9.webp?v=1714889985"}},"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: "停產" }