@nuskin/ns-shop 7.3.0-mdigi-897.1 → 7.3.0-mdigi-897.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-shop",
3
- "version": "7.3.0-mdigi-897.1",
3
+ "version": "7.3.0-mdigi-897.3",
4
4
  "description": "The description that will amaze and astound your audience when they read it",
5
5
  "main": "src/shop.js",
6
6
  "scripts": {
@@ -44,7 +44,7 @@
44
44
  "@nuskin/ns-account": "5.9.2",
45
45
  "@nuskin/ns-jsanalyzer": "1.0.1",
46
46
  "@nuskin/ns-product": "3.50.8",
47
- "@nuskin/ns-util": "4.6.1",
47
+ "@nuskin/ns-util": "4.7.0",
48
48
  "axios-mock-adapter": "1.22.0",
49
49
  "babel-cli": "6.26.0",
50
50
  "babel-core": "6.26.3",
@@ -437,9 +437,9 @@ let SolrQueryService = function() {
437
437
  productResultType, searchTerm, productSearchFields, language, market, searchByOrderType ? rows*5 : rows, start
438
438
  );
439
439
 
440
- const {active, MySite_search_API_Base_URLs} = getCachedConfiguration('Equinox_Markets');
440
+ const {MySite_search_API_Base_URLs} = getCachedConfiguration('Equinox_Markets');
441
441
 
442
- if(active && MySite_search_API_Base_URLs !== '') {
442
+ if(MySite_search_API_Base_URLs !== '') {
443
443
 
444
444
  productSearchAPI(deferred, {
445
445
  searchTerm,
@@ -591,9 +591,9 @@ let SolrQueryService = function() {
591
591
  productResultType, searchTerm, productSearchFields, language, market, rows, start
592
592
  );
593
593
 
594
- const {active, MySite_search_API_Base_URLs} = getCachedConfiguration('Equinox_Markets');
594
+ const {MySite_search_API_Base_URLs} = getCachedConfiguration('Equinox_Markets');
595
595
 
596
- if(active && MySite_search_API_Base_URLs !== '') {
596
+ if(MySite_search_API_Base_URLs !== '') {
597
597
 
598
598
  productSearchAPI(deferred, {
599
599
  searchTerm,
@@ -604,7 +604,7 @@ let productSearchService = function() {
604
604
  const createProductFromBasicProduct = function(basicProduct) {
605
605
  let siteUrl = UrlService.getSiteUrl();
606
606
  let productData = {};
607
- const {active, MySite_search_API_Base_URLs} = getCachedConfiguration('Equinox_Markets');
607
+ const {MySite_search_API_Base_URLs} = getCachedConfiguration('Equinox_Markets');
608
608
  if (basicProduct.sku) {
609
609
  if (typeof(basicProduct.sku) === 'object') {
610
610
  productData.sku = basicProduct.sku[0];
@@ -614,7 +614,7 @@ let productSearchService = function() {
614
614
  // eslint-disable-next-line
615
615
  productData.thumbnail = siteUrl + "/content/products/" + productData.sku.substring(0,2) +"/" + productData.sku.substring(2,4) + "/" + productData.sku.substring(4,6) +"/" + productData.sku +"/_jcr_content/fullImage.img.160.160.png"
616
616
  //use equinox image when using product-search-api and market is active
617
- if(MySite_search_API_Base_URLs !== '' && active) {
617
+ if(MySite_search_API_Base_URLs !== '') {
618
618
  productData.thumbnail = basicProduct.fullImage
619
619
  }
620
620