diff --git a/config/default.json b/config/default.json index 7f30de811c..7bed4feb51 100644 --- a/config/default.json +++ b/config/default.json @@ -18,7 +18,7 @@ "includeFields": [ "children_data", "id", "children_count", "sku", "name", "is_active", "parent_id", "level" ] }, "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" ] + "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": { "includeFields": [ "type_id", "sku", "name", "price", "priceInclTax", "originalPriceInclTax", "id", "image", "sale", "new" ], diff --git a/core/scripts/installer.js b/core/scripts/installer.js index d8c844f6f7..d4891a35ad 100644 --- a/core/scripts/installer.js +++ b/core/scripts/installer.js @@ -349,12 +349,13 @@ class Storefront extends Abstract { config.orders.endpoint = `${backendPath}/api/order` config.products.endpoint = `${backendPath}/api/product` config.users.endpoint = `${backendPath}/api/user` - config.history_endpoint = `${backendPath}/api/user/order-history` - config.resetPassword_endpoint = `${backendPath}/api/user/resetPassword` - config.changePassword_endpoint = `${backendPath}/api/user/changePassword` - config.login_endpoint = `${backendPath}/api/user/login` - config.create_endpoint = `${backendPath}/api/user/create` - config.me_endpoint = `${backendPath}/api/user/me` + config.users.history_endpoint = `${backendPath}/api/user/order-history` + config.users.resetPassword_endpoint = `${backendPath}/api/user/resetPassword` + config.users.changePassword_endpoint = `${backendPath}/api/user/changePassword` + config.users.login_endpoint = `${backendPath}/api/user/login` + config.users.create_endpoint = `${backendPath}/api/user/create` + config.users.me_endpoint = `${backendPath}/api/user/me` + config.users.refresh_endpoint = `${backendPath}/api/user/refresh` config.stock.endpoint = `${backendPath}/api/stock` config.cart.create_endpoint = `${backendPath}/api/cart/create?token={{token}}` config.cart.updateitem_endpoint = `${backendPath}/api/cart/update?token={{token}}&cartId={{cartId}}`