Skip to content

Commit 15c3076

Browse files
committed
Updated readme
1 parent 9e9a55b commit 15c3076

File tree

3 files changed

+34
-1
lines changed

3 files changed

+34
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Umbraco.CMS.Integrations
1+
# Umbraco.Cms.Integrations
22

33
This repository houses open-source extensions, created for Umbraco CMS, that integrate with third-party plaforms.
44

20.5 KB
Loading
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Umbraco.Cms.Integrations.Commerce.Hubspot
2+
3+
This integration provides a product and category picker, with data sourced from a [CommerceTools](https://commercetools.com/) installation.
4+
5+
## Prerequisites
6+
7+
Requires minimum versions of Umbraco CMS: 8.5.0
8+
9+
## How To Use
10+
11+
From your CommerceTools account, retrieve the following details add them as application settings to your websites web.config file.
12+
13+
```
14+
<add key="Umbraco.Cms.Integrations.Commerce.CommerceTools.OAuthUrl" value="https://auth.europe-west1.gcp.commercetools.com/oauth/token" />
15+
<add key="Umbraco.Cms.Integrations.Commerce.CommerceTools.ApiUrl" value="https://api.europe-west1.gcp.commercetools.com" />
16+
<add key="Umbraco.Cms.Integrations.Commerce.CommerceTools.ProjectKey" value="" />
17+
<add key="Umbraco.Cms.Integrations.Commerce.CommerceTools.ClientId" value="" />
18+
<add key="Umbraco.Cms.Integrations.Commerce.CommerceTools.ClientSecret" value="" />
19+
<add key="Umbraco.Cms.Integrations.Commerce.CommerceTools.DefaultLanguage" value="en-US" />
20+
```
21+
22+
With that in place, in the Umbraco back-office click to _Settings > Data Types_ and create a new data type based on the available *CommerceTools Picker*.
23+
24+
The picker can be configured for selection of categories or products, defined as single or multiple picker, as well as other options:
25+
26+
![Data type configuration](./img/data-type-config.png)
27+
28+
When rendering product or category information, a property value converter will provide a strongly typed collection or object with the following fields available:
29+
30+
- [Category](./Models/Category.cs)
31+
- [Product](./Models/Product.cs)
32+
33+

0 commit comments

Comments
 (0)