Skip to content

Commit 15cdde7

Browse files
authored
Merge pull request #736 from akeneo/API-1984-missing-guide-in-apps-app-concepts-and-use-cases-synchronize-pim-products-with-your-app
API-1984: missing guide in apps app concepts and use cases synchronize pim products with your app
2 parents ec948b6 + 312ccd8 commit 15cdde7

File tree

2 files changed

+74
-46
lines changed

2 files changed

+74
-46
lines changed

content/apps/app-concepts-and-use-cases.md

Lines changed: 67 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@
99
<div class="panel-body">
1010
<div class="row">
1111
<div class="col-xs-offset-4 col-xs-4 col-sm-offset-2 col-sm-8">
12-
<img width="100%" src="/img/illustrations/illus--dam-connection.svg"></img>
12+
<img width="100%" src="/img/illustrations/illus--dam-connection.svg">
1313
</div>
1414
</div>
1515
<h2 class="text-center">A DAM</h2>
16-
<p class="text-center">You may want to connect your Digital Asset Manager to the PIM in order to easily be able to link your product assets to the right product in the PIM.</p>
16+
<p class="text-center">You may want to connect your Digital Asset Manager to the PIM in
17+
order to easily be able to link your product assets to the right product in the PIM.</p>
1718
</div>
1819
</a>
1920
</div>
@@ -24,11 +25,12 @@
2425
<div class="panel-body">
2526
<div class="row">
2627
<div class="col-xs-offset-4 col-xs-4 col-md-offset-2 col-md-8">
27-
<img width="100%" src="/img/illustrations/illus--ecommerce-connection.svg"></img>
28+
<img width="100%" src="/img/illustrations/illus--ecommerce-connection.svg">
2829
</div>
2930
</div>
3031
<h2 class="text-center">An eCommerce solution</h2>
31-
<p class="text-center">You may want to connect the PIM to your eCommerce solution in order to populate your eCommerce website(s) with your products, categories, assets...</p>
32+
<p class="text-center">You may want to connect the PIM to your eCommerce solution in order
33+
to populate your eCommerce website(s) with your products, categories, assets...</p>
3234
</div>
3335
</a>
3436
</div>
@@ -41,11 +43,12 @@
4143
<div class="panel-body">
4244
<div class="row">
4345
<div class="col-xs-offset-4 col-xs-4 col-md-offset-2 col-md-8">
44-
<img width="100%" src="/img/illustrations/illus--translation-connection.svg"></img>
46+
<img width="100%" src="/img/illustrations/illus--translation-connection.svg">
4547
</div>
4648
</div>
4749
<h2 class="text-center">A translation solution</h2>
48-
<p class="text-center">You may want to connect your translation solution to the PIM in order to add a translation feature to Akeneo PIM and thus improve the user experience!</p>
50+
<p class="text-center">You may want to connect your translation solution to the PIM in order
51+
to add a translation feature to Akeneo PIM and thus improve the user experience!</p>
4952
</div>
5053
</a>
5154
</div>
@@ -56,47 +59,68 @@
5659
<div class="panel-body">
5760
<div class="row">
5861
<div class="col-xs-offset-4 col-xs-4 col-sm-offset-2 col-sm-8 ">
59-
<img width="100%" src="/img/illustrations/illus--erp-connection.svg"></img>
62+
<img width="100%" src="/img/illustrations/illus--erp-connection.svg">
6063
</div>
6164
</div>
62-
<h2 class="text-center">An ERP</h2>
63-
<p class="text-center">Every day, new products are referenced in your ERP. You may want to automatically send them to the PIM in order to start with their enrichment process.</p>
64-
</div>
65-
</a>
66-
</div>
67-
</div>
65+
<h2 class="text-center">An ERP</h2>
66+
<p class="text-center">Every day, new products are referenced in your ERP. You may want to
67+
automatically send them to the PIM in order to start with their enrichment process.</p>
68+
</div>
69+
</a>
70+
</div>
71+
</div>
6872
</div>
6973
<div class="row">
70-
<div class="col-sm-6">
71-
<div class="panel panel-info panel-btn">
72-
<a href="/guides/syndication-connection/introduction.html">
73-
<div class="panel-body">
74-
<div class="row">
75-
<div class="col-xs-offset-4 col-xs-4 col-md-offset-2 col-md-8">
76-
<img width="100%" src="/img/illustrations/illus--syndication-connection.svg"></img>
77-
</div>
78-
</div>
79-
<h2 class="text-center">A syndication solution</h2>
80-
<p class="text-center">Maximize the business’s revenue of your customers by creating an App to distribute PIM products to different channels via your syndication solution.</p>
81-
</div>
82-
</a>
83-
</div>
84-
</div>
85-
<div class="col-sm-6">
86-
<div class="panel panel-info panel-btn">
87-
<a href="/guides/print-connection/introduction.html">
88-
<div class="panel-body">
89-
<div class="row">
90-
<div class="col-xs-offset-4 col-xs-4 col-sm-offset-2 col-sm-8 ">
91-
<img width="100%" src="/img/illustrations/illus--print-connection.svg"></img>
92-
</div>
93-
</div>
94-
<h2 class="text-center">A print solution</h2>
95-
<p class="text-center">You may want to connect the PIM to your print solution in order to automate the creation of paper catalogs, PDF documents, product sheets...</p>
96-
</div>
97-
</a>
98-
</div>
99-
</div>
74+
<div class="col-sm-6">
75+
<div class="panel panel-info panel-btn">
76+
<a href="/guides/syndication-connection/introduction.html">
77+
<div class="panel-body">
78+
<div class="row">
79+
<div class="col-xs-offset-4 col-xs-4 col-md-offset-2 col-md-8">
80+
<img width="100%" src="/img/illustrations/illus--syndication-connection.svg">
81+
</div>
82+
</div>
83+
<h2 class="text-center">A syndication solution</h2>
84+
<p class="text-center">Maximize the business’s revenue of your customers by creating an App
85+
to distribute PIM products to different channels via your syndication solution.</p>
86+
</div>
87+
</a>
88+
</div>
89+
</div>
90+
<div class="col-sm-6">
91+
<div class="panel panel-info panel-btn">
92+
<a href="/guides/print-connection/introduction.html">
93+
<div class="panel-body">
94+
<div class="row">
95+
<div class="col-xs-offset-4 col-xs-4 col-sm-offset-2 col-sm-8 ">
96+
<img width="100%" src="/img/illustrations/illus--print-connection.svg">
97+
</div>
98+
</div>
99+
<h2 class="text-center">A print solution</h2>
100+
<p class="text-center">You may want to connect the PIM to your print solution in order to
101+
automate the creation of paper catalogs, PDF documents, product sheets...</p>
102+
</div>
103+
</a>
104+
</div>
105+
</div>
106+
</div>
107+
<div class="row">
108+
<div class="col-sm-6">
109+
<div class="panel panel-info panel-btn panel-slack">
110+
<a href="/getting-started/synchronize-pim-products-6x/welcome.html">
111+
<div class="panel-body">
112+
<div class="row">
113+
<div class="col-xs-offset-4 col-xs-4 col-sm-offset-2 col-sm-8 col-md-offset-3 col-md-6 col-lg-offset-2 col-lg-8">
114+
<img width="100%" src="/img/illustrations/illus--first-request.svg">
115+
</div>
116+
</div>
117+
<div class="panel-btn-big">Synchronize PIM products with your App</div>
118+
<p class="text-center">Do you struggle to retrieve your PIM product data for feeding you
119+
amazing App? Don't worry anymore and follow this guide.</p>
120+
</div>
121+
</a>
122+
</div>
123+
</div>
100124
</div>
101125
</div>
102126
</div>

tasks/build-doc.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ md.use(require("markdown-it-include"));
256256

257257
gulp.task('build-getting-started', ['clean-dist','less'], function () {
258258

259+
const synchronizePimProductsName = 'synchronize-pim-products';
259260
var pages = {
260261
'your-first-tutorial-4x': {
261262
gettingStartedName: 'your-first-tutorial',
@@ -362,7 +363,7 @@ gulp.task('build-getting-started', ['clean-dist','less'], function () {
362363
}
363364
},
364365
'synchronize-pim-products-6x': {
365-
gettingStartedName: 'synchronize-pim-products',
366+
gettingStartedName: synchronizePimProductsName,
366367
pimVersion: 'v6 / SaaS',
367368
title: 'Synchronize PIM products with your App',
368369
files: {
@@ -402,12 +403,15 @@ gulp.task('build-getting-started', ['clean-dist','less'], function () {
402403
.pipe(gulpMarkdownIt(md))
403404
.pipe(gulp.dest('tmp/getting-started/'))
404405
.on('end', function () {
406+
const gettingStartedName = pages[path.basename(path.dirname(file.path))].gettingStartedName;
407+
405408
return gulp.src('src/partials/getting-started.handlebars')
406409
.pipe(gulpHandlebars({
407-
active_api_resources: true,
410+
active_api_resources: gettingStartedName !== synchronizePimProductsName,
411+
active_apps: gettingStartedName === synchronizePimProductsName,
408412
title: pages[path.basename(path.dirname(file.path))].title,
409413
image: pages[path.basename(path.dirname(file.path))].image,
410-
gettingStartedName: pages[path.basename(path.dirname(file.path))].gettingStartedName,
414+
gettingStartedName: gettingStartedName,
411415
pimVersion: pages[path.basename(path.dirname(file.path))].pimVersion,
412416
availability: pages[path.basename(path.dirname(file.path))].availability,
413417
mainContent: fs.readFileSync('tmp/getting-started/' + path.basename(path.dirname(file.path)) + '/' + path.basename(file.path).replace(/\.md/, '.html'))

0 commit comments

Comments
 (0)