Can't reach product directly

Hi,

I want some help to know how to reach product directly. I read about


But after review the patch is already set to my vsf.

I’m using vsf 1.12.2 and vsf-api 1.12.3, elasticsearch 7.3.2

The vsf-api config is the follow

{
  "server": {
"host": "localhost",
"port": 8080,
"searchEngine": "elasticsearch",
"useOutputCacheTagging": false,
"useOutputCache": false,
"outputCacheDefaultTtl": 86400,
"availableCacheTags": [
  "P",
  "C",
  "T",
  "A",
  "product",
  "category",
  "attribute",
  "taxrule"
],
"invalidateCacheKey": "aeSu7aip",
"invalidateCacheForwarding": false,
"invalidateCacheForwardUrl": "http://localhost:3000/invalidate?key=aeSu7aip&tag=",
"showErrorStack": true
  },
  "users": {
"tokenInHeader": false
  },
  "orders": {
"useServerQueue": false
  },
  "catalog": {
"excludeDisabledProducts": false
  },
  "elasticsearch": {
"host": "localhost",
"index": "vue_storefront_catalog",
"port": 9200,
"protocol": "http",
"requestTimeout": 5000,
"min_score": 0.01,
"indices": [
  "vue_storefront_catalog",
  "vue_storefront_catalog_de",
  "vue_storefront_catalog_it"
],
"indexTypes": [
  "product",
  "category",
  "cms_block",
  "cms_page",
  "attribute",
  "taxrule",
  "review"
],
"apiVersion": "7.3",
"useRequestFilter": false,
"overwriteRequestSourceParams": false,
"requestParamsBlacklist": [],
"cacheRequest": false,
"searchScoring": {
  "attributes": {
    "attribute_code": {
      "scoreValues": { "attribute_value": { "weight": 1 } }
    }
  },
  "fuzziness": 2,
  "cutoff_frequency":  0.01,
  "max_expansions": 3,
  "minimum_should_match": "75%",
  "prefix_length": 2,
  "boost_mode": "multiply",
  "score_mode": "multiply",
  "max_boost": 100,
  "function_min_score": 1
},
"searchableAttributes": {
  "name": {
    "boost": 4
  },
  "sku": {
    "boost": 2
  },
  "category.name": {
    "boost": 1
  }
}
  },
  "products": {
"fieldsToCompress": ["max_regular_price", "max_price", "max_regular_price", "minimal_regular_price", "final_price", "price", "special_price", "original_final_price", "original_price", "original_special_price", "final_price_incl_tax", "price_incl_tax", "special_price_incl_tax", "final_price_tax", "price_tax", "special_price_tax", "image", "small_image", "thumbnail"],
"fieldsToCompact": {
  "minimal_price": "mp",
  "has_options": "ho",
  "url_key": "u",
  "status": "s",
  "required_options": "ro",
  "name": "nm",
  "tax_class_id": "tci",
  "description": "desc",
  "minimal_regular_price": "mrp",
  "final_price": "fp",
  "price": "p",
  "special_price": "sp",
  "original_final_price": "ofp",
  "original_price": "op",
  "original_special_price": "osp",
  "final_price_incl_tax": "fpit",
  "original_price_incl_tax": "opit",
  "price_incl_tax": "pit",
  "special_price_incl_tax": "spit",
  "final_price_tax": "fpt",
  "price_tax": "pt",
  "special_price_tax": "spt",
  "original_price_tax": "opt",
  "image": "i",
  "small_image": "si",
  "thumbnail": "t"
},
"filterFieldMapping": {
  "category.name": "category.name.keyword"
},
"filterAggregationSize": {
  "default": 10,
  "size": 10,
  "color": 10
},
"priceFilterKey": "final_price",
"priceFilters": {
  "ranges": [
    { "from": 0, "to": 50 },
    { "from": 50, "to": 100 },
    { "from": 100, "to": 150 },
    { "from": 150 }
  ]
}
  },
  "redis": {
"host": "localhost",
"port": 6379,
"db": 0,
"auth": false
  },
  "kue": {},
  "availableStores": [
"es",
"it"
  ],
  "msi": {
"enabled": false,
"defaultStockId": 1
  },
  "storeViews": {
"multistore": false,
"mapStoreUrlsFor": [
  "es",
  "it"
],
"es": {
  "storeCode": "es",
  "disabled": false,
  "storeId": 3,
  "websiteId": 1,
  "name": "Spanish Store",
  "url": "/es",
  "elasticsearch": {
    "host": "localhost:8080/api/catalog",
    "index": "vue_storefront_catalog_es"
  },
  "msi": {
    "stockId": 2
  },
  "tax": {
    "defaultCountry": "GT",
    "defaultRegion": "",
    "deprecatedPriceFieldsSupport": false,
    "calculateServerSide": true,
    "sourcePriceIncludesTax": false,
    "finalPriceIncludesTax": true,
    "userGroupId": null,
    "useOnlyDefaultUserGroupId": false
  },
  "i18n": {
    "fullCountryName": "Guatemala",
    "fullLanguageName": "Spanish",
    "defaultLanguage": "ES",
    "defaultCountry": "GT",
    "defaultLocale": "es-GT",
    "currencyCode": "GTQ",
    "currencySign": "GTQ",
    "dateFormat": "HH:mm D-M-YYYY"
  }
},
"it": {
  "storeCode": "it",
  "disabled": false,
  "storeId": 4,
  "websiteId": 1,
  "name": "Italian Store",
  "url": "/it",
  "elasticsearch": {
    "host": "localhost:8080/api/catalog",
    "index": "vue_storefront_catalog_it"
  },
  "msi": {
    "stockId": 2
  },
  "tax": {
    "defaultCountry": "IT",
    "defaultRegion": "",
    "calculateServerSide": true,
    "sourcePriceIncludesTax": false,
    "deprecatedPriceFieldsSupport": true,
    "finalPriceIncludesTax": true,
    "userGroupId": null,
    "useOnlyDefaultUserGroupId": false
  },
  "i18n": {
    "fullCountryName": "Italy",
    "fullLanguageName": "Italian",
    "defaultCountry": "IT",
    "defaultLanguage": "IT",
    "defaultLocale": "it-IT",
    "currencyCode": "EUR",
    "currencySign": "EUR",
    "dateFormat": "HH:mm D-M-YYYY"
  }
}
  },
  "authHashSecret": "MYSQL@3ll1988",
  "objHashSecret": "YOAMOAJESUS@1988",
  "cart": {
"setConfigurableProductOptions": false
  },
  "tax": {
"defaultCountry": "GT",
"defaultRegion": "",
"calculateServerSide": true,
"alwaysSyncPlatformPricesOver": false,
"usePlatformTotals": true,
"setConfigurableProductOptions": true,
"sourcePriceIncludesTax": false,
"deprecatedPriceFieldsSupport": true,
"finalPriceIncludesTax": false,
"userGroupId": null,
"useOnlyDefaultUserGroupId": false
  },
  "review": {
"defaultReviewStatus": 2
  },
  "bodyLimit": "100kb",
  "corsHeaders": [
"Link"
  ],
  "platform": "magento2",
  "registeredExtensions": [
"mailchimp-subscribe",
"example-magento-api",
"cms-data",
"mail-service",
"example-processor",
"elastic-stock"
  ],
  "extensions": {
"mailchimp": {
  "listId": "",
  "apiKey": "",
  "apiUrl": "",
  "userStatus": ""
},
"mailService": {
  "transport": {
    "host": "",
    "port": 465,
    "secure": true,
    "user": "",
    "pass": ""
  },
  "targetAddressWhitelist": [
    "",
    ""
  ],
  "secretString": ""
},
"example-processor": {
  "resultProcessors": {
    "product": "my-product-processor"
  }
}
  },
  "magento2": {
"imgUrl": "/api/static/img",
"assetPath": "/../var/magento2-sample-data/pub/media",
"api": {
  "url": "http://demo-magento2.vuestorefront.io/rest",
  "consumerKey": "byv3730rhoulpopcq64don8ukb8lf2gq",
  "consumerSecret": "u9q4fcobv7vfx9td80oupa6uhexc27rb",
  "accessToken": "040xx3qy7s0j28o3q0exrfop579cy20m",
  "accessTokenSecret": "7qunl3p505rubmr7u1ijt7odyialnih9"
}
  },
  "magento1": {
"imgUrl": "/api/static/img",
"assetPath": "",
"magentoUserName": "",
"magentoUserPassword": "",
"httpUserName": "",
"httpUserPassword": "",
"api": {
  "url": "http://magento-demo.local/vsbridge",
  "consumerKey": "",
  "consumerSecret": "",
  "accessToken": "",
  "accessTokenSecret": ""
}
  },
  "imageable": {
"maxListeners": 512,
"imageSizeLimit": 1024,
"whitelist": {
  "allowedHosts": [
    ".*divante.pl",
    ".*vuestorefront.io"
  ]
},
"cache": {
  "memory": 50,
  "files": 20,
  "items": 100
},
"concurrency": 0,
"counters": {
  "queue": 2,
  "process": 4
},
"simd": true,
"caching": {
  "active": false,
  "type": "file",
  "file": {
    "path": "/tmp/vue-storefront-api"
  },
  "google-cloud-storage": {
    "libraryOptions": {},
    "bucket": "",
    "prefix": "vue-storefront-api/image-cache"
  }
},
"action": {
  "type": "local"
}
  },
  "entities": {
"category": {
  "includeFields": [
    "children_data",
    "id",
    "children_count",
    "sku",
    "name",
    "is_active",
    "parent_id",
    "level",
    "url_key"
  ]
},
"attribute": {
  "includeFields": [
    "attribute_code",
    "id",
    "entity_type_id",
    "options",
    "default_value",
    "is_user_defined",
    "frontend_label",
    "attribute_id",
    "default_frontend_label",
    "is_visible_on_front",
    "is_visible",
    "is_comparable"
  ]
},
"productList": {
  "sort": "",
  "includeFields": [
    "type_id",
    "sku",
    "product_links",
    "tax_class_id",
    "special_price",
    "special_to_date",
    "special_from_date",
    "name",
    "price",
    "priceInclTax",
    "originalPriceInclTax",
    "originalPrice",
    "specialPriceInclTax",
    "id",
    "image",
    "sale",
    "new",
    "url_key"
  ],
  "excludeFields": [
    "configurable_children",
    "description",
    "configurable_options",
    "sgn"
  ]
},
"productListWithChildren": {
  "includeFields": [
    "type_id",
    "sku",
    "name",
    "tax_class_id",
    "special_price",
    "special_to_date",
    "special_from_date",
    "price",
    "priceInclTax",
    "originalPriceInclTax",
    "originalPrice",
    "specialPriceInclTax",
    "id",
    "image",
    "sale",
    "new",
    "configurable_children.image",
    "configurable_children.sku",
    "configurable_children.price",
    "configurable_children.special_price",
    "configurable_children.priceInclTax",
    "configurable_children.specialPriceInclTax",
    "configurable_children.originalPrice",
    "configurable_children.originalPriceInclTax",
    "configurable_children.color",
    "configurable_children.size",
    "product_links",
    "url_key"
  ],
  "excludeFields": [
    "description",
    "sgn"
  ]
},
"product": {
  "excludeFields": [
    "updated_at",
    "created_at",
    "attribute_set_id",
    "status",
    "visibility",
    "tier_prices",
    "options_container",
    "msrp_display_actual_price_type",
    "has_options",
    "stock.manage_stock",
    "stock.use_config_min_qty",
    "stock.use_config_notify_stock_qty",
    "stock.stock_id",
    "stock.use_config_backorders",
    "stock.use_config_enable_qty_inc",
    "stock.enable_qty_increments",
    "stock.use_config_manage_stock",
    "stock.use_config_min_sale_qty",
    "stock.notify_stock_qty",
    "stock.use_config_max_sale_qty",
    "stock.use_config_max_sale_qty",
    "stock.qty_increments",
    "small_image"
  ],
  "includeFields": null,
  "filterFieldMapping": {
    "category.name": "category.name.keyword"
  }
}
  },
  "usePriceTiers": false,
  "boost": {
"name": 3,
"category.name": 1,
"short_description": 1,
"description": 1,
"sku": 1,
"configurable_children.sku": 1
  },
  "urlModule": {
"map": {
  "includeFields": ["url_path", "identifier", "id", "slug", "sku", "type_id"],
  "searchedFields": ["url_path", "identifier"],
  "searchedEntities": ["product", "category", "cms_page"]
}
  }
}

I used the follow commands to configure vsf-api

yarn
yarn build
yarn db new
yarn dev (or yarn start)

But without success on direct search, all work fine with previous search in search form.

And the vsf local.json is

{
  "server": {
    "host": "localhost",
    "port": 3000,
    "protocol": "http",
    "api": "api-search-query",
    "devServiceWorker": false,
    "useHtmlMinifier": true,
    "htmlMinifierOptions": {
      "minifyJS": true,
      "minifyCSS": true
    },
    "useOutputCacheTagging": false,
    "useOutputCache": false,
    "outputCacheDefaultTtl": 86400,
    "availableCacheTags": [
      "attribute",
      "C",
      "category",
      "checkout",
      "compare",
      "error",
      "home",
      "my-account",
      "P",
      "page-not-found",
      "product",
      "taxrule"
    ],
    "invalidateCacheKey": "yhPpTom7Ip",
    "invalidateCacheForwarding": false,
    "invalidateCacheForwardUrl": "/api/invalidate?key=yhPpTom7Ip&tag=",
    "dynamicConfigReload": true,
    "dynamicConfigContinueOnError": false,
    "dynamicConfigExclude": [
      "entities",
      "boost",
      "localForage",
      "query",
      "shipping",
      "ssr",
      "storeViews"
    ],
    "dynamicConfigInclude": [],
    "elasticCacheQuota": 4096,
    "ssrDisabledFor": {
      "extensions": [
        "css",
        "eot",
        "gif",
        "ico",
        "jpg",
        "jpeg",
        "js",
        "json",
        "png",
        "raw",
        "svg",
        "tiff",
        "tif",
        "ttf",
        "woff",
        "woff2"
      ]
    },
    "trace": {
      "enabled": false,
      "config": {}
    }
  },
  "initialResources": [
    {
      "filters": ["vsf-newsletter-modal", "vsf-languages-modal", "vsf-layout-empty", "vsf-layout-minimal", "vsf-order-confirmation", "vsf-search-panel"],
      "type": "script",
      "onload": true,
      "rel": "prefetch"
    },
    {
      "filters": ["vsf-category", "vsf-home", "vsf-not-found", "vsf-error", "vsf-product", "vsf-cms", "vsf-checkout", "vsf-compare", "vsf-my-account", "vsf-static", "vsf-reset-password"],
      "type": "script",
      "onload": true,
      "rel": "prefetch"
    }
  ],
  "staticPages": {
    "updateOnRequest": true,
    "destPath": "static"
  },
  "seo": {
    "useUrlDispatcher": true,
    "disableUrlRoutesPersistentCache": true,
    "defaultTitle": "Vue "
  },
  "console": {
    "showErrorOnProduction": false,
    "verbosityLevel": "display-everything"
  },
  "redis": {
    "host": "localhost",
    "port": 6379,
    "db": 0
  },
  "graphql": {
    "host": "localhost",
    "port": 8080
  },
  "api": {
    "url": "https://www.myhostname.com/api",
    "saveBandwidthOverCache": true
  },
  "elasticsearch": {
    "httpAuth": "",
    "host": "https://www.myhostname.com/api/catalog",
    "index": "vue_storefront_catalog",
    "min_score": 0.02,
    "csrTimeout": 5000,
    "ssrTimeout": 1000,
    "queryMethod": "GET",
    "disablePersistentQueriesCache": true,
    "searchScoring": {
      "attributes": {
        "attribute_code": {
          "scoreValues": {
            "attribute_value": {
              "weight": 1
            }
          }
        }
      },
      "fuzziness": 2,
      "cutoff_frequency": 0.01,
      "max_expansions": 3,
      "minimum_should_match": "75%",
      "prefix_length": 2,
      "boost_mode": "multiply",
      "score_mode": "multiply",
      "max_boost": 100,
      "function_min_score": 1
    },
    "searchableAttributes": {
      "name": {
        "boost": 4
      },
      "sku": {
        "boost": 2
      },
      "category.name": {
        "boost": 1
      }
    }
  },
  "ssr": {
    "templates": {
      "default": "dist/index.html",
      "minimal": "dist/index.minimal.html",
      "basic": "dist/index.basic.html",
      "amp": "dist/index.amp.html"
    },
    "lazyHydrateFor": [
      "category-next.products",
      "homepage.new_collection"
    ],
    "executeMixedinAsyncData": true,
    "initialStateFilter": [
      "__DEMO_MODE__",
      "version",
      "storeView",
      "attribute.list_by_id"
    ],
    "useInitialStateFilter": true
  },
  "queues": {
    "maxNetworkTaskAttempts": 1,
    "maxCartBypassAttempts": 1
  },
  "defaultStoreCode": "",
  "storeViews": {
    "multistore": false,
    "commonCache": false,
    "mapStoreUrlsFor": [
      "es",
      "it"
    ],
    "es": {
      "storeCode": "es",
      "storeId": 3,
      "name": "Spanish Store",
      "url": "/es",
      "appendStoreCode": true,
      "elasticsearch": {
        "host": "/api/catalog",
        "index": "vue_storefront_catalog_es"
      },
      "tax": {
        "sourcePriceIncludesTax": false,
        "defaultCountry": "ES",
        "defaultRegion": "",
        "calculateServerSide": true
      },
      "i18n": {
        "fullCountryName": "Spanish",
        "fullLanguageName": "Spanish",
        "defaultLanguage": "ES",
        "defaultCountry": "ES",
        "defaultLocale": "es-ES",
        "currencyCode": "GTQ",
        "currencySign": "GTQ",
        "dateFormat": "HH:mm D-M-YYYY"
      },
      "seo": {
        "defaultTitle": "Vue"
      }
    },
    "it": {
      "extend": "de",
      "storeCode": "it",
      "storeId": 4,
      "name": "Italian Store",
      "url": "/it",
      "appendStoreCode": true,
      "elasticsearch": {
        "host": "/api/catalog",
        "index": "vue_storefront_catalog_it"
      },
      "tax": {
        "defaultCountry": "IT"
      },
      "i18n": {
        "fullCountryName": "Italy",
        "fullLanguageName": "Italian",
        "defaultCountry": "IT",
        "defaultLanguage": "IT",
        "defaultLocale": "it-IT"
      },
      "seo": {
        "defaultTitle": "Vue"
      }
    }
  },
  "entities": {
    "optimize": true,
    "twoStageCaching": true,
    "optimizeShoppingCart": true,
    "optimizeShoppingCartOmitFields": [
      "category",
      "category_ids",
      "configurable_children",
      "configurable_options",
      "description",
      "media_gallery",
      "product_links",
      "stock"
    ],
    "category": {
      "includeFields": [
        "children_count",
        "id",
        "is_active",
        "level",
        "name",
        "parent_id",
        "path",
        "position",
        "product_count",
        "sku",
        "url_key",
        "url_path",
        "*.children_data.id",
        "*.id"
      ],
      "excludeFields": [
        "sgn"
      ],
      "filterFields": {},
      "breadcrumbFilterFields": {},
      "categoriesRootCategorylId": 2,
      "categoriesDynamicPrefetchLevel": 2,
      "categoriesDynamicPrefetch": true,
      "validSearchOptionsFromRouteParams": [
        "url-key",
        "slug",
        "id"
      ]
    },
    "attribute": {
      "includeFields": [
        "activity",
        "attribute_code",
        "attribute_id",
        "default_frontend_label",
        "default_value",
        "entity_type_id",
        "frontend_input",
        "frontend_label",
        "id",
        "is_user_defined",
        "is_visible_on_front",
        "is_visible",
        "is_comparable",
        "options",
        "tier_prices"
      ],
      "loadByAttributeMetadata": true
    },
    "productList": {
      "sort": "updated_at:desc",
      "includeFields": [
        "activity",
        "configurable_children.attributes",
        "configurable_children.id",
        "configurable_children.final_price",
        "configurable_children.color",
        "configurable_children.original_price",
        "configurable_children.original_price_incl_tax",
        "configurable_children.price",
        "configurable_children.price_incl_tax",
        "configurable_children.size",
        "configurable_children.sku",
        "configurable_children.special_price",
        "configurable_children.special_price_incl_tax",
        "configurable_children.tier_prices",
        "final_price",
        "id",
        "image",
        "name",
        "new",
        "original_price_incl_tax",
        "original_price",
        "price",
        "price_incl_tax",
        "product_links",
        "sale",
        "special_price",
        "special_to_date",
        "special_from_date",
        "special_price_incl_tax",
        "status",
        "tax_class_id",
        "tier_prices",
        "type_id",
        "url_path",
        "url_key",
        "*image",
        "*sku",
        "*small_image"
      ],
      "excludeFields": [
        "attribute_set_id",
        "configurable_options",
        "description",
        "sgn",
        "*.sgn",
        "msrp_display_actual_price_type",
        "*.msrp_display_actual_price_type",
        "required_options",
        "media_gallery",
        "stock.use_config_min_qty",
        "stock.use_config_notify_stock_qty",
        "stock.stock_id",
        "stock.use_config_backorders",
        "stock.use_config_enable_qty_inc",
        "stock.enable_qty_increments",
        "stock.use_config_manage_stock",
        "stock.use_config_min_sale_qty",
        "stock.notify_stock_qty",
        "stock.use_config_max_sale_qty",
        "stock.use_config_max_sale_qty",
        "stock.qty_increments",
        "stock.stock_status_changed_auto",
        "stock.show_default_notification_message",
        "stock.use_config_qty_increments",
        "stock.is_decimal_divided"
      ]
    },
    "productListWithChildren": {
      "includeFields": [
        "activity",
        "configurable_children.attributes",
        "configurable_children.image",
        "configurable_children.sku",
        "configurable_children.price",
        "configurable_children.special_price",
        "configurable_children.price_incl_tax",
        "configurable_children.special_price_incl_tax",
        "configurable_children.original_price",
        "configurable_children.original_price_incl_tax",
        "configurable_children.color",
        "configurable_children.size",
        "configurable_children.id",
        "configurable_children.tier_prices",
        "configurable_children.special_to_date",
        "configurable_children.special_from_date",
        "configurable_children.regular_price",
        "configurable_children.final_price",
        "final_price",
        "id",
        "image",
        "name",
        "new",
        "original_price",
        "original_price_incl_tax",
        "price",
        "price_incl_tax",
        "product_links",
        "sale",
        "sku",
        "special_price",
        "special_price_incl_tax",
        "special_from_date",
        "special_to_date",
        "status",
        "tax_class_id",
        "tier_prices",
        "type_id",
        "url_path",
        "url_key"
      ],
      "excludeFields": [
        "attribute_set_id",
        "description",
        "sgn",
        "*.sgn",
        "msrp_display_actual_price_type",
        "*.msrp_display_actual_price_type",
        "required_options",
        "media_gallery",
        "stock.use_config_min_qty",
        "stock.use_config_notify_stock_qty",
        "stock.stock_id",
        "stock.use_config_backorders",
        "stock.use_config_enable_qty_inc",
        "stock.enable_qty_increments",
        "stock.use_config_manage_stock",
        "stock.use_config_min_sale_qty",
        "stock.notify_stock_qty",
        "stock.use_config_max_sale_qty",
        "stock.use_config_max_sale_qty",
        "stock.qty_increments",
        "stock.stock_status_changed_auto",
        "stock.show_default_notification_message",
        "stock.use_config_qty_increments",
        "stock.is_decimal_divided"
      ]
    },
    "review": {
      "excludeFields": [
        "review_entity",
        "review_status"
      ]
    },
    "product": {
      "excludeFields": [
        "attribute_set_id",
        "created_at",
        "has_options",
        "msrp_display_actual_price_type",
        "*.msrp_display_actual_price_type",
        "options_container",
        "required_options",
        "small_image",
        "stock.enable_qty_increments",
        "stock.is_decimal_divided",
        "stock.manage_stock",
        "stock.notify_stock_qty",
        "stock.qty_increments",
        "stock.show_default_notification_message",
        "stock.stock_id",
        "stock.stock_status_changed_auto",
        "stock.use_config_qty_increments",
        "stock.use_config_min_qty",
        "stock.use_config_notify_stock_qty",
        "stock.use_config_backorders",
        "stock.use_config_enable_qty_inc",
        "stock.use_config_manage_stock",
        "stock.use_config_min_sale_qty",
        "stock.use_config_max_sale_qty",
        "sgn",
        "*.sgn",
        "updated_at"
      ],
      "includeFields": null,
      "useDynamicAttributeLoader": true,
      "standardSystemFields": [
        "category",
        "category_ids",
        "color_options",
        "configurable_children",
        "configurable_options",
        "custom_attributes",
        "custom_design_from",
        "description",
        "erin_recommends",
        "errors",
        "final_price",
        "final_price_incl_tax",
        "final_price_tax",
        "gift_message_available",
        "id",
        "image",
        "info",
        "is_configured",
        "links",
        "max_price",
        "max_regular_price",
        "media_gallery",
        "minimal_regular_price",
        "minimal_price",
        "name",
        "news_from_date",
        "original_price",
        "original_price_incl_tax",
        "options",
        "parentSku",
        "priceTax",
        "priceInclTax",
        "product_option",
        "price",
        "price_incl_tax",
        "price_tax",
        "qty",
        "regular_price",
        "size_options",
        "sku",
        "slug",
        "specialPriceInclTax",
        "specialPriceTax",
        "special_price_tax",
        "special_price_incl_tax",
        "special_from_date",
        "special_price",
        "status",
        "stock",
        "_score",
        "tax_class_id",
        "thumbnail",
        "tsk",
        "type_id",
        "url_key",
        "url_path",
        "visibility"
      ]
    }
  },
  "cart": {
    "thumbnails": {
      "width": 210,
      "height": 300
    },
    "serverMergeByDefault": true,
    "serverSyncCanRemoveLocalItems": false,
    "serverSyncCanModifyLocalItems": false,
    "synchronize": true,
    "synchronize_totals": true,
    "setCustomProductOptions": true,
    "setConfigurableProductOptions": true,
    "askBeforeRemoveProduct": true,
    "displayItemDiscounts": true,
    "productsAreReconfigurable": true,
    "minicartCountType": "quantities",
    "create_endpoint": "/api/cart/create?token={{token}}",
    "updateitem_endpoint": "/api/cart/update?token={{token}}&cartId={{cartId}}",
    "deleteitem_endpoint": "/api/cart/delete?token={{token}}&cartId={{cartId}}",
    "pull_endpoint": "/api/cart/pull?token={{token}}&cartId={{cartId}}",
    "totals_endpoint": "/api/cart/totals?token={{token}}&cartId={{cartId}}",
    "paymentmethods_endpoint": "/api/cart/payment-methods?token={{token}}&cartId={{cartId}}",
    "shippingmethods_endpoint": "/api/cart/shipping-methods?token={{token}}&cartId={{cartId}}",
    "shippinginfo_endpoint": "/api/cart/shipping-information?token={{token}}&cartId={{cartId}}",
    "collecttotals_endpoint": "/api/cart/collect-totals?token={{token}}&cartId={{cartId}}",
    "deletecoupon_endpoint": "/api/cart/delete-coupon?token={{token}}&cartId={{cartId}}",
    "applycoupon_endpoint": "/api/cart/apply-coupon?token={{token}}&cartId={{cartId}}&coupon={{coupon}}"
  },
  "attributes": {
    "disablePersistentAttributesCache": false
  },
  "products": {
    "fieldsToCompact": {
      "minimal_price": "mp",
      "has_options": "ho",
      "url_key": "u",
      "status": "s",
      "required_options": "ro",
      "name": "nm",
      "tax_class_id": "tci",
      "description": "desc",
      "minimal_regular_price": "mrp",
      "final_price": "fp",
      "price": "p",
      "special_price": "sp",
      "original_final_price": "ofp",
      "original_price": "op",
      "original_special_price": "osp",
      "final_price_incl_tax": "fpit",
      "original_price_incl_tax": "opit",
      "price_incl_tax": "pit",
      "special_price_incl_tax": "spit",
      "final_price_tax": "fpt",
      "price_tax": "pt",
      "special_price_tax": "spt",
      "original_price_tax": "opt",
      "image": "i",
      "small_image": "si",
      "thumbnail": "t"
    },
    "disablePersistentProductsCache": true,
    "useMagentoUrlKeys": true,
    "setFirstVarianAsDefaultInURL": false,
    "configurableChildrenStockPrefetchStatic": false,
    "configurableChildrenStockPrefetchDynamic": true,
    "configurableChildrenStockPrefetchStaticPrefetchCount": 8,
    "filterUnavailableVariants": false,
    "listOutOfStockProducts": true,
    "preventConfigurableChildrenDirectAccess": true,
    "alwaysSyncPlatformPricesOver": false,
    "alwaysSyncPricesClientSide": false,
    "clearPricesBeforePlatformSync": false,
    "waitForPlatformSync": false,
    "endpoint": "/api/product",
    "defaultFilters": [
      "color",
      "size",
      "erin_recommends",
      "price"
    ],
    "systemFilterNames": [
      "sort"
    ],
    "maxFiltersQuerySize": 999,
    "routerFiltersSource": "query",
    "filterFieldMapping": {
      "category.name": "category.name.keyword"
    },
    "colorMappings": {
      "Melange graphite": "#eeeeee"
    },
    "defaultSortBy": {
      "attribute": "updated_at",
      "order": "desc"
    },
    "sortByAttributes": {
      "Latest": "updated_at:desc",
      "Price: Low to high": "final_price",
      "Price: High to low": "final_price:desc"
    },
    "gallery": {
      "mergeConfigurableChildren": true,
      "imageAttributes": [
        "image",
        "thumbnail",
        "small_image"
      ],
      "width": 600,
      "height": 744
    },
    "thumbnails": {
      "width": 324,
      "height": 489
    },
    "filterAggregationSize": {
      "default": 10,
      "size": 10,
      "color": 10
    },
    "priceFilterKey": "final_price",
    "priceFilters": {
      "ranges": [
        { "from": 0, "to": 50 },
        { "from": 50, "to": 100 },
        { "from": 100, "to": 150 },
        { "from": 100, "to": 300 },
        { "from": 300, "to": 500 },
        { "from": 150 }
      ]
    }
  },
  "orders": {
    "directBackendSync": true,
    "endpoint": "/api/order/create?token={{token}}&cartId={{cartId}}",
    "payment_methods_mapping": {
    },
    "offline_orders": {
      "automatic_transmission_enabled": false,
      "notification": {
        "enabled": true,
        "title": "Order waiting!",
        "message": "Click here to confirm the order that you made offline.",
        "icon": "/assets/logo.png"
      }
    }
  },
  "localForage": {
    "defaultDrivers": {
      "user": "LOCALSTORAGE",
      "cmspage": "LOCALSTORAGE",
      "cmsblock": "LOCALSTORAGE",
      "carts": "LOCALSTORAGE",
      "orders": "LOCALSTORAGE",
      "wishlist": "LOCALSTORAGE",
      "categories": "LOCALSTORAGE",
      "attributes": "LOCALSTORAGE",
      "elasticCache": "LOCALSTORAGE",
      "claims": "LOCALSTORAGE",
      "syncTasks": "LOCALSTORAGE",
      "ordersHistory": "LOCALSTORAGE",
      "checkout": "LOCALSTORAGE"
    }
  },
  "reviews": {
    "create_endpoint": "/api/review/create"
  },
  "users": {
    "autoRefreshTokens": false,
    "loginAfterCreatePassword": true,
    "endpoint": "/api/user",
    "history_endpoint": "/api/user/order-history?token={{token}}&pageSize={{pageSize}}&currentPage={{currentPage}}",
    "resetPassword_endpoint": "/api/user/reset-password",
    "changePassword_endpoint": "/api/user/change-password?token={{token}}",
    "login_endpoint": "/api/user/login",
    "create_endpoint": "/api/user/create",
    "create_password_endpoint": "/api/user/create-password?token={{token}}",
    "me_endpoint": "/api/user/me?token={{token}}",
    "refresh_endpoint": "/api/user/refresh",
    "allowModification": ["firstname", "lastname", "email", "addresses"],
    "tokenInHeader": false
  },
  "stock": {
    "synchronize": true,
    "allowOutOfStockInCart": true,
    "endpoint": "/api/stock"
  },
  "images": {
    "useExactUrlsNoProxy": true,
    "baseUrl": "https://www.myhostname.com/static/img",
    "useSpecificImagePaths": true,
    "paths": {
      "product": "https://www.myhostname.com/"
    },
    "productPlaceholder": "/assets/placeholder.jpg"
  },
  "install": {
    "is_local_backend": true,
    "backend_dir": "../vue-storefront-api"
  },
  "demomode": false,
  "tax": {
    "defaultCountry": "US",
    "defaultRegion": "",
    "sourcePriceIncludesTax": false,
    "calculateServerSide": true,
    "userGroupId": null,
    "useOnlyDefaultUserGroupId": false,
    "deprecatedPriceFieldsSupport": true,
    "finalPriceIncludesTax": false
  },
  "shipping": {
    "methods": [
      {
        "method_title": "DPD Courier",
        "method_code": "flatrate",
        "carrier_code": "flatrate",
        "amount": 4,
        "price_incl_tax": 5,
        "default": true,
        "offline": true
      }
    ]
  },
  "syncTasks": {
    "disablePersistentTaskQueue": true
  },
  "i18n": {
    "defaultCountry": "GT",
    "defaultLanguage": "ES",
    "availableLocale": [
      "es-ES"
    ],
    "defaultLocale": "es-ES",
    "currencyCode": "GTQ",
    "currencySign": "Q",
    "currencyDecimal": ".",
    "currencyGroup": "",
    "fractionDigits": 2,
    "priceFormat": "{sign}{amount}",
    "dateFormat": "HH:mm D/M/YYYY",
    "fullCountryName": "Guatemala",
    "fullLanguageName": "Spanish",
    "bundleAllStoreviewLanguages": false
  },
  "expireHeaders": {
    "default": "30d",
    "application/json": "24h",
    "image/png": "7d"
  },
  "newsletter": {
    "endpoint": "https://www.myhostname.com/api/ext/mailchimp-subscribe/subscribe"
  },
  "mailer": {
    "endpoint": {
      "send": "https://www.myhostname.com/api/ext/mail-service/send-email",
      "token": "https://www.myhostname.com/api/ext/mail-service/get-token"
    },
    "contactAddress": "info@myhostname.com",
    "fromAddress":"info@myhostname.com",
    "toAddress":"info@myhostname.com",
    "sendConfirmation": true
  },
  "theme": "@vue-storefront/theme-capybara",
  "analytics": {
    "id": "UA-44683945-1"
  },
  "googleTagManager": {
    "id": false,
    "debug": true,
    "product_attributes": [
      "name",
      "id",
      "sku",
      {
        "priceInclTax": "price"
      },
      {
        "qty": "quantity"
      }
    ]
  },
  "hotjar": {
    "id": false
  },
  "cms": {
    "endpoint": "/api/ext/cms-data/cms{{type}}/{{cmsId}}",
    "endpointIdentifier": "/api/ext/cms-data/cms{{type}}Identifier/{{cmsIdentifier}}/storeId/{{storeId}}"
  },
  "cms_block": {
    "max_count": 500
  },
  "cms_page": {
    "max_count": 500
  },
  "usePriceTiers": false,
  "useZeroPriceProduct": true,
  "query": {
    "inspirations": {
      "filter": [
        {
          "key": "category.name",
          "value": { "eq": "Performance Fabrics" }
        }
      ]
    },
    "newProducts": {
      "filter": [
        {
          "key": "category.name",
          "value": { "eq": "Almohadas" }
        }
      ]
    },
    "bestSellers": {
      "filter": [
        {
          "key": "category.name",
          "value": { "eq": "Almohadas" }
        }
      ]
    }
  },
  "urlModule": {
    "enableMapFallbackUrl": true,
    "endpoint": "https://www.myhostname.com/api/url",
    "map_endpoint": "https://www.myhostname.com/url/map"
  },
  "fastly": {
    "enabled":false
  },
  "nginx": {
    "enabled":false
  },
  "varnish": {
    "enabled":false
  },
  "purgeConfig": [
    "server.invalidateCacheKey",
    "server.invalidateCacheForwardUrl",
    "server.trace",
    "redis",
    "install",
    "expireHeaders",
    "fastly",
    "nginx",
    "varnish",
    "cloudflare"
  ]
}

Thanks in advance!

Hey, can you tell what goal you want to achieve? by direct search you mean using the search bar?

Yes,

I updated my config file like these and works, need to change “api” to “api-search-query”.

{
“server”: {
“host”: “localhost”,
“port”: 3000,
"protocol": “http”,
** “api”: “api-search-query”,**
“devServiceWorker”: false,
“useHtmlMinifier”: true,
“htmlMinifierOptions”: {
“minifyJS”: true,
“minifyCSS”: true
},
“useOutputCacheTagging”: false,
“useOutputCache”: false,
“outputCacheDefaultTtl”: 86400,
“availableCacheTags”: [
“attribute”,
“C”,
“category”,
“checkout”,
“compare”,
“error”,
“home”,
“my-account”,
“P”,
“page-not-found”,
“product”,
“taxrule”
],
“invalidateCacheKey”: “yhPpTom7Ip”,
“invalidateCacheForwarding”: false,
“invalidateCacheForwardUrl”: “http://localhost:8080/invalidate?key=yhPpTom7Ip&tag=”,
“dynamicConfigReload”: true,
“dynamicConfigContinueOnError”: false,
“dynamicConfigExclude”: [
“entities”,
“boost”,
“localForage”,
“query”,
“shipping”,
“ssr”,
“storeViews”
],
“dynamicConfigInclude”: [],
“elasticCacheQuota”: 4096,
“ssrDisabledFor”: {
“extensions”: [
“css”,
“eot”,
“gif”,
“ico”,
“jpg”,
“jpeg”,
“js”,
“json”,
“png”,
“raw”,
“svg”,
“tiff”,
“tif”,
“ttf”,
“woff”,
“woff2”
]
},
“trace”: {
“enabled”: false,
“config”: {}
},
“helmet”: {
“enabled”: true
}
},
“initialResources”: [
{
“filters”: [“vsf-newsletter-modal”, “vsf-languages-modal”, “vsf-layout-empty”, “vsf-layout-minimal”, “vsf-order-confirmation”, “vsf-search-panel”],
“type”: “script”,
“onload”: true,
“rel”: “prefetch”
},
{
“filters”: [“vsf-category”, “vsf-home”, “vsf-not-found”, “vsf-error”, “vsf-product”, “vsf-cms”, “vsf-checkout”, “vsf-compare”, “vsf-my-account”, “vsf-static”, “vsf-reset-password”],
“type”: “script”,
“onload”: true,
“rel”: “prefetch”
}
],
“staticPages”: {
“updateOnRequest”: true,
“destPath”: “static”
},
“seo”: {
“useUrlDispatcher”: true,
“disableUrlRoutesPersistentCache”: true,
“defaultTitle”: “Textiles Kelila”
},
“console”: {
“showErrorOnProduction”: false,
“verbosityLevel”: “display-everything”
},
“redis”: {
“host”: “localhost”,
“port”: 6379,
“db”: 0
},
“graphql”: {
“host”: “localhost”,
“port”: 8080
},
“api”: {
“url”: “http://localhost:8080”,
“saveBandwidthOverCache”: true
},
“elasticsearch”: {
“httpAuth”: “”,
“host”: “api/catalog”,
“index”: “vue_storefront_catalog”,
“min_score”: 0.02,
“csrTimeout”: 5000,
“ssrTimeout”: 1000,
“queryMethod”: “GET”,
“disablePersistentQueriesCache”: true,
“searchScoring”: {
“attributes”: {
“attribute_code”: {
“scoreValues”: {
“attribute_value”: {
“weight”: 1
}
}
}
},
“fuzziness”: 2,
“cutoff_frequency”: 0.01,
“max_expansions”: 3,
“minimum_should_match”: “75%”,
“prefix_length”: 2,
“boost_mode”: “multiply”,
“score_mode”: “multiply”,
“max_boost”: 100,
“function_min_score”: 1
},
“searchableAttributes”: {
“name”: {
“boost”: 4
},
“sku”: {
“boost”: 2
},
“category.name”: {
“boost”: 1
}
}
},
“ssr”: {
“templates”: {
“default”: “dist/index.html”,
“minimal”: “dist/index.minimal.html”,
“basic”: “dist/index.basic.html”,
“amp”: “dist/index.amp.html”
},
“lazyHydrateFor”: [
“category-next.products”,
“homepage.new_collection”
],
“executeMixedinAsyncData”: true,
“initialStateFilter”: [
DEMO_MODE”,
“version”,
“storeView”,
“attribute.list_by_id”
],
“useInitialStateFilter”: true
},
“queues”: {
“maxNetworkTaskAttempts”: 1,
“maxCartBypassAttempts”: 1
},
“defaultStoreCode”: “”,
“storeViews”: {
“multistore”: false,
“commonCache”: false,
“mapStoreUrlsFor”: [
“es”,
“it”
],
“es”: {
“storeCode”: “es”,
“storeId”: 3,
“name”: “Spanish Store”,
“url”: “/es”,
“appendStoreCode”: true,
“elasticsearch”: {
“host”: “localhost:8080/api/catalog”,
“index”: “vue_storefront_catalog_es”
},
“tax”: {
“sourcePriceIncludesTax”: false,
“defaultCountry”: “ES”,
“defaultRegion”: “”,
“calculateServerSide”: true
},
“i18n”: {
“fullCountryName”: “Spanish”,
“fullLanguageName”: “Spanish”,
“defaultLanguage”: “ES”,
“defaultCountry”: “ES”,
“defaultLocale”: “es-ES”,
“currencyCode”: “GTQ”,
“currencySign”: “GTQ”,
“dateFormat”: “HH:mm D-M-YYYY”
},
“seo”: {
“defaultTitle”: “Textiles Kelila”
}
},
“it”: {
“extend”: “de”,
“storeCode”: “it”,
“storeId”: 4,
“name”: “Italian Store”,
“url”: “/it”,
“appendStoreCode”: true,
“elasticsearch”: {
“host”: “localhost:8080/api/catalog”,
“index”: “vue_storefront_catalog_it”
},
“tax”: {
“defaultCountry”: “IT”
},
“i18n”: {
“fullCountryName”: “Italy”,
“fullLanguageName”: “Italian”,
“defaultCountry”: “IT”,
“defaultLanguage”: “IT”,
“defaultLocale”: “it-IT”
},
“seo”: {
“defaultTitle”: “Textiles Kelila”
}
}
},
“entities”: {
“optimize”: true,
“twoStageCaching”: true,
“optimizeShoppingCart”: true,
“optimizeShoppingCartOmitFields”: [
“category”,
“category_ids”,
“configurable_children”,
“configurable_options”,
“description”,
“media_gallery”,
“product_links”,
“stock”
],
“category”: {
“includeFields”: [
“children_count”,
“id”,
“is_active”,
“level”,
“name”,
“parent_id”,
“path”,
“position”,
“product_count”,
“sku”,
“url_key”,
“url_path”,
.children_data.id",
"
.id”
],
“excludeFields”: [
“sgn”
],
“filterFields”: {},
“breadcrumbFilterFields”: {},
“categoriesRootCategorylId”: 2,
“categoriesDynamicPrefetchLevel”: 2,
“categoriesDynamicPrefetch”: true,
“validSearchOptionsFromRouteParams”: [
“url-key”,
“slug”,
“id”
]
},
“attribute”: {
“includeFields”: [
“activity”,
“attribute_code”,
“attribute_id”,
“default_frontend_label”,
“default_value”,
“entity_type_id”,
“frontend_input”,
“frontend_label”,
“id”,
“is_user_defined”,
“is_visible_on_front”,
“is_visible”,
“is_comparable”,
“options”,
“tier_prices”
],
“loadByAttributeMetadata”: true
},
“productList”: {
“sort”: “updated_at:desc”,
“includeFields”: [
“activity”,
“configurable_children.attributes”,
“configurable_children.id”,
“configurable_children.final_price”,
“configurable_children.color”,
“configurable_children.original_price”,
“configurable_children.original_price_incl_tax”,
“configurable_children.price”,
“configurable_children.price_incl_tax”,
“configurable_children.size”,
“configurable_children.sku”,
“configurable_children.special_price”,
“configurable_children.special_price_incl_tax”,
“configurable_children.tier_prices”,
“final_price”,
“id”,
“image”,
“name”,
“new”,
“original_price_incl_tax”,
“original_price”,
“price”,
“price_incl_tax”,
“product_links”,
“sale”,
“special_price”,
“special_to_date”,
“special_from_date”,
“special_price_incl_tax”,
“status”,
“tax_class_id”,
“tier_prices”,
“type_id”,
“url_path”,
“url_key”,
image",
sku",
small_image"
],
“excludeFields”: [
“attribute_set_id”,
“configurable_options”,
“description”,
“sgn”,
"
.sgn”,
“msrp_display_actual_price_type”,
"
.msrp_display_actual_price_type”,
“required_options”,
“media_gallery”,
“stock.use_config_min_qty”,
“stock.use_config_notify_stock_qty”,
“stock.stock_id”,
“stock.use_config_backorders”,
“stock.use_config_enable_qty_inc”,
“stock.enable_qty_increments”,
“stock.use_config_manage_stock”,
“stock.use_config_min_sale_qty”,
“stock.notify_stock_qty”,
“stock.use_config_max_sale_qty”,
“stock.use_config_max_sale_qty”,
“stock.qty_increments”,
“stock.stock_status_changed_auto”,
“stock.show_default_notification_message”,
“stock.use_config_qty_increments”,
“stock.is_decimal_divided”
]
},
“productListWithChildren”: {
“includeFields”: [
“activity”,
“configurable_children.attributes”,
“configurable_children.image”,
“configurable_children.sku”,
“configurable_children.price”,
“configurable_children.special_price”,
“configurable_children.price_incl_tax”,
“configurable_children.special_price_incl_tax”,
“configurable_children.original_price”,
“configurable_children.original_price_incl_tax”,
“configurable_children.color”,
“configurable_children.size”,
“configurable_children.id”,
“configurable_children.tier_prices”,
“configurable_children.special_to_date”,
“configurable_children.special_from_date”,
“configurable_children.regular_price”,
“configurable_children.final_price”,
“final_price”,
“id”,
“image”,
“name”,
“new”,
“original_price”,
“original_price_incl_tax”,
“price”,
“price_incl_tax”,
“product_links”,
“sale”,
“sku”,
“special_price”,
“special_price_incl_tax”,
“special_from_date”,
“special_to_date”,
“status”,
“tax_class_id”,
“tier_prices”,
“type_id”,
“url_path”,
“url_key”
],
“excludeFields”: [
“attribute_set_id”,
“description”,
“sgn”,
"
.sgn”,
“msrp_display_actual_price_type”,
.msrp_display_actual_price_type",
“required_options”,
“media_gallery”,
“stock.use_config_min_qty”,
“stock.use_config_notify_stock_qty”,
“stock.stock_id”,
“stock.use_config_backorders”,
“stock.use_config_enable_qty_inc”,
“stock.enable_qty_increments”,
“stock.use_config_manage_stock”,
“stock.use_config_min_sale_qty”,
“stock.notify_stock_qty”,
“stock.use_config_max_sale_qty”,
“stock.use_config_max_sale_qty”,
“stock.qty_increments”,
“stock.stock_status_changed_auto”,
“stock.show_default_notification_message”,
“stock.use_config_qty_increments”,
“stock.is_decimal_divided”
]
},
“review”: {
“excludeFields”: [
“review_entity”,
“review_status”
]
},
“product”: {
“excludeFields”: [
“attribute_set_id”,
“created_at”,
“has_options”,
“msrp_display_actual_price_type”,
"
.msrp_display_actual_price_type”,
“options_container”,
“required_options”,
“small_image”,
“stock.enable_qty_increments”,
“stock.is_decimal_divided”,
“stock.manage_stock”,
“stock.notify_stock_qty”,
“stock.qty_increments”,
“stock.show_default_notification_message”,
“stock.stock_id”,
“stock.stock_status_changed_auto”,
“stock.use_config_qty_increments”,
“stock.use_config_min_qty”,
“stock.use_config_notify_stock_qty”,
“stock.use_config_backorders”,
“stock.use_config_enable_qty_inc”,
“stock.use_config_manage_stock”,
“stock.use_config_min_sale_qty”,
“stock.use_config_max_sale_qty”,
“sgn”,
“*.sgn”,
“updated_at”
],
“includeFields”: null,
“useDynamicAttributeLoader”: true,
“standardSystemFields”: [
“category”,
“category_ids”,
“color_options”,
“configurable_children”,
“configurable_options”,
“custom_attributes”,
“custom_design_from”,
“description”,
“erin_recommends”,
“errors”,
“final_price”,
“final_price_incl_tax”,
“final_price_tax”,
“gift_message_available”,
“id”,
“image”,
“info”,
“is_configured”,
“links”,
“max_price”,
“max_regular_price”,
“media_gallery”,
“minimal_regular_price”,
“minimal_price”,
“name”,
“news_from_date”,
“original_price”,
“original_price_incl_tax”,
“options”,
“parentSku”,
“priceTax”,
“priceInclTax”,
“product_option”,
“price”,
“price_incl_tax”,
“price_tax”,
“qty”,
“regular_price”,
“size_options”,
“sku”,
“slug”,
“specialPriceInclTax”,
“specialPriceTax”,
“special_price_tax”,
“special_price_incl_tax”,
“special_from_date”,
“special_price”,
“status”,
“stock”,
“_score”,
“tax_class_id”,
“thumbnail”,
“tsk”,
“type_id”,
“url_key”,
“url_path”,
“visibility”
]
}
},
“cart”: {
“thumbnails”: {
“width”: 210,
“height”: 300
},
“serverMergeByDefault”: true,
“serverSyncCanRemoveLocalItems”: false,
“serverSyncCanModifyLocalItems”: false,
“synchronize”: true,
“synchronize_totals”: true,
“setCustomProductOptions”: true,
“setConfigurableProductOptions”: true,
“askBeforeRemoveProduct”: true,
“displayItemDiscounts”: true,
“productsAreReconfigurable”: true,
“minicartCountType”: “quantities”,
“create_endpoint”: “/api/cart/create?token={{token}}”,
“updateitem_endpoint”: “/api/cart/update?token={{token}}&cartId={{cartId}}”,
“deleteitem_endpoint”: “/api/cart/delete?token={{token}}&cartId={{cartId}}”,
“pull_endpoint”: “/api/cart/pull?token={{token}}&cartId={{cartId}}”,
“totals_endpoint”: “/api/cart/totals?token={{token}}&cartId={{cartId}}”,
“paymentmethods_endpoint”: “/api/cart/payment-methods?token={{token}}&cartId={{cartId}}”,
“shippingmethods_endpoint”: “/api/cart/shipping-methods?token={{token}}&cartId={{cartId}}”,
“shippinginfo_endpoint”: “/api/cart/shipping-information?token={{token}}&cartId={{cartId}}”,
“collecttotals_endpoint”: “/api/cart/collect-totals?token={{token}}&cartId={{cartId}}”,
“deletecoupon_endpoint”: “/api/cart/delete-coupon?token={{token}}&cartId={{cartId}}”,
“applycoupon_endpoint”: “/api/cart/apply-coupon?token={{token}}&cartId={{cartId}}&coupon={{coupon}}”
},
“attributes”: {
“disablePersistentAttributesCache”: false
},
“products”: {
“fieldsToCompact”: {
“minimal_price”: “mp”,
“has_options”: “ho”,
“url_key”: “u”,
“status”: “s”,
“required_options”: “ro”,
“name”: “nm”,
“tax_class_id”: “tci”,
“description”: “desc”,
“minimal_regular_price”: “mrp”,
“final_price”: “fp”,
“price”: “p”,
“special_price”: “sp”,
“original_final_price”: “ofp”,
“original_price”: “op”,
“original_special_price”: “osp”,
“final_price_incl_tax”: “fpit”,
“original_price_incl_tax”: “opit”,
“price_incl_tax”: “pit”,
“special_price_incl_tax”: “spit”,
“final_price_tax”: “fpt”,
“price_tax”: “pt”,
“special_price_tax”: “spt”,
“original_price_tax”: “opt”,
“image”: “i”,
“small_image”: “si”,
“thumbnail”: “t”
},
“disablePersistentProductsCache”: true,
“useMagentoUrlKeys”: true,
“setFirstVarianAsDefaultInURL”: false,
“configurableChildrenStockPrefetchStatic”: false,
“configurableChildrenStockPrefetchDynamic”: true,
“configurableChildrenStockPrefetchStaticPrefetchCount”: 8,
“filterUnavailableVariants”: false,
“listOutOfStockProducts”: true,
“preventConfigurableChildrenDirectAccess”: true,
“alwaysSyncPlatformPricesOver”: false,
“alwaysSyncPricesClientSide”: false,
“clearPricesBeforePlatformSync”: false,
“waitForPlatformSync”: false,
“setupVariantByAttributeCode”: true,
“calculateBundlePriceByOptions”: true,
“endpoint”: “/api/product”,
“defaultFilters”: [
“color”,
“size”,
“erin_recommends”,
“price”
],
“systemFilterNames”: [
“sort”
],
“maxFiltersQuerySize”: 999,
“routerFiltersSource”: “query”,
“filterFieldMapping”: {
“category.name”: “category.name.keyword”
},
“colorMappings”: {
“Melange graphite”: “#eeeeee
},
“defaultSortBy”: {
“attribute”: “updated_at”,
“order”: “desc”
},
“sortByAttributes”: {
“Latest”: “updated_at:desc”,
“Price: Low to high”: “final_price”,
“Price: High to low”: “final_price:desc”
},
“gallery”: {
“mergeConfigurableChildren”: true,
“imageAttributes”: [
“image”,
“thumbnail”,
“small_image”
],
“width”: 422,
“height”: 664
},
“thumbnails”: {
“width”: 310,
“height”: 300
},
“filterAggregationSize”: {
“default”: 10,
“size”: 10,
“color”: 10
},
“priceFilterKey”: “final_price”,
“priceFilters”: {
“ranges”: [
{ “from”: 0, “to”: 50 },
{ “from”: 50, “to”: 100 },
{ “from”: 100, “to”: 150 },
{ “from”: 100, “to”: 300 },
{ “from”: 300, “to”: 500 },
{ “from”: 150 }
]
}
},
“orders”: {
“directBackendSync”: true,
“endpoint”: “/api/order/create?token={{token}}&cartId={{cartId}}”,
“payment_methods_mapping”: {
},
“offline_orders”: {
“automatic_transmission_enabled”: false,
“notification”: {
“enabled”: true,
“title”: “Order waiting!”,
“message”: “Click here to confirm the order that you made offline.”,
“icon”: “/assets/logo.png”
}
}
},
“localForage”: {
“defaultDrivers”: {
“user”: “LOCALSTORAGE”,
“cmspage”: “LOCALSTORAGE”,
“cmsblock”: “LOCALSTORAGE”,
“carts”: “LOCALSTORAGE”,
“orders”: “LOCALSTORAGE”,
“wishlist”: “LOCALSTORAGE”,
“categories”: “LOCALSTORAGE”,
“attributes”: “LOCALSTORAGE”,
“elasticCache”: “LOCALSTORAGE”,
“claims”: “LOCALSTORAGE”,
“syncTasks”: “LOCALSTORAGE”,
“ordersHistory”: “LOCALSTORAGE”,
“checkout”: “LOCALSTORAGE”
}
},
“reviews”: {
“create_endpoint”: “/api/review/create”
},
“users”: {
“autoRefreshTokens”: false,
“loginAfterCreatePassword”: true,
“loginAfterValidateEmail”: true,
“endpoint”: “/api/user”,
“history_endpoint”: “/api/user/order-history?token={{token}}&pageSize={{pageSize}}&currentPage={{currentPage}}”,
“resetPassword_endpoint”: “/api/user/reset-password”,
“changePassword_endpoint”: “/api/user/change-password?token={{token}}”,
“login_endpoint”: “/api/user/login”,
“create_endpoint”: “/api/user/create”,
“create_password_endpoint”: “/api/user/create-password?token={{token}}”,
“validate_email_endpoint”: “/api/user/validate-email?token={{token}}”,
“me_endpoint”: “/api/user/me?token={{token}}”,
“refresh_endpoint”: “/api/user/refresh”,
“allowModification”: [“firstname”, “lastname”, “email”, “addresses”],
“tokenInHeader”: false
},
“stock”: {
“synchronize”: true,
“allowOutOfStockInCart”: true,
“endpoint”: “/api/stock”
},
“images”: {
“useExactUrlsNoProxy”: true,
“baseUrl”: “static/img”,
“useSpecificImagePaths”: true,
“paths”: {
“product”: “”
},
“productPlaceholder”: “/assets/placeholder.jpg”
},
“install”: {
“is_local_backend”: true,
“backend_dir”: “…/vue-storefront-api”
},
“demomode”: false,
“tax”: {
“defaultCountry”: “US”,
“defaultRegion”: “”,
“sourcePriceIncludesTax”: false,
“calculateServerSide”: true,
“userGroupId”: null,
“useOnlyDefaultUserGroupId”: false,
“deprecatedPriceFieldsSupport”: true,
“finalPriceIncludesTax”: false
},
“shipping”: {
“methods”: [
{
“method_title”: “DPD Courier”,
“method_code”: “flatrate”,
“carrier_code”: “flatrate”,
“amount”: 4,
“price_incl_tax”: 5,
“default”: true,
“offline”: true
}
]
},
“syncTasks”: {
“disablePersistentTaskQueue”: true
},
“i18n”: {
“defaultCountry”: “GT”,
“defaultRegion”: “Quetzaltenango”,
“defaultLanguage”: “ES”,
“availableLocale”: [
“es-ES”
],
“defaultLocale”: “es-ES”,
“currencyCode”: “GTQ”,
“currencySign”: “Q”,
“currencyDecimal”: “.”,
“currencyGroup”: “”,
“fractionDigits”: 2,
“priceFormat”: “{sign}{amount}”,
“dateFormat”: “HH:mm D/M/YYYY”,
“fullCountryName”: “Guatemala”,
“fullLanguageName”: “Spanish”,
“bundleAllStoreviewLanguages”: false
},
“expireHeaders”: {
“default”: “30d”,
“application/json”: “24h”,
“image/png”: “7d”
},
“newsletter”: {
“endpoint”: “api/ext/mailchimp-subscribe/subscribe”
},
“mailer”: {
“endpoint”: {
“send”: “api/ext/mail-service/send-email”,
“token”: “api/ext/mail-service/get-token”
},
“contactAddress”: “info@textileskelila.com”,
fromAddress":"info@textileskelila.com”,
toAddress":"info@textileskelila.com”,
“sendConfirmation”: true
},
“theme”: “@vue-storefront/theme-capybara”,
“analytics”: {
“id”: “”
},
“googleTagManager”: {
“id”: false,
“debug”: true,
“product_attributes”: [
“name”,
“id”,
“sku”,
{
“priceInclTax”: “price”
},
{
“qty”: “quantity”
}
]
},
“hotjar”: {
“id”: false
},
“cms”: {
“endpoint”: “/api/ext/cms-data/cms{{type}}/{{cmsId}}”,
“endpointIdentifier”: “/api/ext/cms-data/cms{{type}}Identifier/{{cmsIdentifier}}/storeId/{{storeId}}”
},
“cms_block”: {
“max_count”: 500
},
“cms_page”: {
“max_count”: 500
},
“usePriceTiers”: false,
“useZeroPriceProduct”: true,
“query”: {
“inspirations”: {
“filter”: [
{
“key”: “category.name”,
“value”: { “eq”: “Performance Fabrics” }
}
]
},
“newProducts”: {
“filter”: [
{
“key”: “category.name”,
“value”: { “eq”: “Mens” }
}
]
},
“bestSellers”: {
“filter”: [
{
“key”: “category.name”,
“value”: { “eq”: “Woman” }
}
]
}
},
“urlModule”: {
“enableMapFallbackUrl”: false,
“endpoint”: “/api/url”,
“map_endpoint”: “/api/url/map”
},
“fastly”: {
“enabled”:false
},
“nginx”: {
“enabled”:false
},
“varnish”: {
“enabled”:false
},
“purgeConfig”: [
“server.invalidateCacheKey”,
“server.invalidateCacheForwardUrl”,
“server.trace”,
“redis”,
“install”,
“expireHeaders”,
“fastly”,
“nginx”,
“varnish”,
“cloudflare”
]
}