Added crane retailer catalog js

This commit is contained in:
sidharth 2022-01-18 17:09:58 +05:30
parent a01c4a865d
commit 10dcca315f
7 changed files with 2 additions and 28 deletions

View File

@ -24,10 +24,7 @@
</noscript> </noscript>
<div id="app"></div> <div id="app"></div>
<script src="/static/js/magentoCmsCache.js"></script> <script src="/static/js/magentoCmsCache.js"></script>
<script src="/static/js/craneCatalog.js"></script> <script src="/static/js/craneRetailerCatalog.js"></script>
<script src="/static/js/seoRoutes.js"></script>
<script src="/static/js/urlRewrites.js"></script>
<script src="/static/js/promotions.js"></script>
<script> <script>
// if (location.hash) { // if (location.hash) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,19 +0,0 @@
var catalog={
categories: [
{id:4, n:'Crane Boxed Stationery', pid 1,
products: ['193C', '116C']},
{id:6, n:'Crane Boxed Stationery 2', pid: 1},
],
products: [
{ id: 12, sku: '193C', n: 'Ecru Card',
p: 22, sp: 19, // price and sales_price
//TBD - cs:[{4:1}, {6:8}], // categories array {categoryId: position}
b: 'Vera Wang', //brand
pw: 'Medium Size', // paper weight
dc: 'Gold', // design color
iu:'1312.jpg', // image url,
....// add the rest of the attributes}
]
}

View File

@ -1 +0,0 @@
var promotions=[]

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long