Before you start
About GIT
If you are not familiar with Git and GitHub please see useful links. Check tutorials before you start.
Prerequisities
You need a GitHub account, using the Addon Repository doesn't require paid account.
You need a Addon Repository enabled on your Partner eshop. Please contact your Partner Manager or here.
Repository folder structure
Addon Repository relies on a specific directory structure when deploying. To successfully deploy a visual add-on, it's essential to adhere to this structure. If you've used the Boilerplate, you will already have this structure in place. Otherwise, please see the structure outlined below:
my-addon/
├─ assets/
│ ├─ font.ttf
│ ├─ picture.png
├─ src/
│ ├─ footer/
│ │ ├─ script1.js
│ │ ├─ script2.js
│ ├─ header/
│ │ ├─ markup.html
│ │ ├─ style.css
│ ├─ orderFinale/
│ │ ├─ remarketing.js
The build process is described here. The header
, footer
and orderFinale
forder mimic the the three textareas from Shoptet Admin: