# How to Access Source Code?

**URL:** <https://forum.shopware.com/t/how-to-access-source-code/41745>\
**Category:** Allgemein\
**Created:** [26. November 2016 um 13:52 UTC](https://forum.shopware.com/t/how-to-access-source-code/41745 "2016-11-26T13:52:53Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![IvanBernardi](https://avatars.discourse-cdn.com/v4/letter/i/c67d28/32.png) [@IvanBernardi](https://forum.shopware.com/u/IvanBernardi)\
**Post date:** [26. November 2016 um 13:52 UTC](https://forum.shopware.com/t/how-to-access-source-code/41745/1 "2016-11-26T13:52:53Z")

</div>

Hello,

I have an online shop with shopware and i would like to access the source code to see the html and css in text.

How can i access it?

Thank you

---

<div class="post-metadata">

**Author:** ![DanielNogel](https://avatars.discourse-cdn.com/v4/letter/d/96bed5/32.png) [@DanielNogel](https://forum.shopware.com/u/DanielNogel)\
**Post date:** [26. November 2016 um 14:06 UTC](https://forum.shopware.com/t/how-to-access-source-code/41745/2 "2016-11-26T14:06:12Z")

</div>

Hi,

in the plugin quick start guide (which is for developers) there is an overview of all folders and what they are for:&nbsp;[Plugin quick Startup Guide](https://developers.shopware.com/developers-guide/plugin-quick-start/#directory-structure)

Roughly speaking: All template (HTML) and CSS files as well as JavaScript can be found in /themes. In /engine you can find most of shopwares business logic.

Please notice, that it is not just „HTML and CSS“ - as most of shopware’s content is dynamically generated. But perhaps the link already helps you to get along.

Best regards,

Daniel

---

<div class="post-metadata">

**Author:** ![IvanBernardi](https://avatars.discourse-cdn.com/v4/letter/i/c67d28/32.png) [@IvanBernardi](https://forum.shopware.com/u/IvanBernardi)\
**Post date:** [26. November 2016 um 14:14 UTC](https://forum.shopware.com/t/how-to-access-source-code/41745/3 "2016-11-26T14:14:05Z")

</div>

Alright, thank you Daniel, so i think that this is the right way to get to the source code. But where can i find this directory structure? Do i have to log on to the file server or can i access it via Shopwares backend?

---

<div class="post-metadata">

**Author:** ![DanielNogel](https://avatars.discourse-cdn.com/v4/letter/d/96bed5/32.png) [@DanielNogel](https://forum.shopware.com/u/DanielNogel)\
**Post date:** [26. November 2016 um 14:36 UTC](https://forum.shopware.com/t/how-to-access-source-code/41745/4 "2016-11-26T14:36:53Z")

</div>

Hi,

it depends a bit on how it is&nbsp;hosted and who is it hosting. Usually you can access it by logging into your webserver via FTP / SFTP / FTPS&nbsp;or SSH. Usually the hoster will give you credentials for one of these.

There is no way, to do sourcecode modifications from the shopware backend.

Best regards,

Daniel&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![IvanBernardi](https://avatars.discourse-cdn.com/v4/letter/i/c67d28/32.png) [@IvanBernardi](https://forum.shopware.com/u/IvanBernardi)\
**Post date:** [26. November 2016 um 14:49 UTC](https://forum.shopware.com/t/how-to-access-source-code/41745/5 "2016-11-26T14:49:19Z")

</div>

Ok so im getting closer and closer to the actual source code with your help.

Now i logged on to my FTP and i searche for the html in the folder “engine” (and “theme”) but i cant find it. Am i on the right way? Where can i find the .html file??

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/1e975a7624d3ddedaab13a2e764cbd1c989c2354.png)

---

<div class="post-metadata">

**Author:** ![DanielNogel](https://avatars.discourse-cdn.com/v4/letter/d/96bed5/32.png) [@DanielNogel](https://forum.shopware.com/u/DanielNogel)\
**Post date:** [26. November 2016 um 14:54 UTC](https://forum.shopware.com/t/how-to-access-source-code/41745/6 "2016-11-26T14:54:27Z")

</div>

Hi,

you can find it in /themes/Frontend/Bare. It is called “\*.tpl” - as it is a dynamic shopping system there are not static / pure HTML files. Mostly those tpl-files contain normal HTML - but also parts in curly brackets: these are commands for the template engine with place holders for prices, articles names etc.

The JS and CSS can be found in /themes/Frontend/Responsive. But instead of pure CSS we are using LESS which is (roughly speaking) CSS on steroids.&nbsp;

In the “engine” folder you only find the PHP scripts - these are not about design and templates but more about business logic like “user registration”, “cart” or “searching for items”.&nbsp;&nbsp;

Daniel

---

<div class="post-metadata">

**Author:** ![Rednaxela](https://avatars.discourse-cdn.com/v4/letter/r/ad7895/32.png) [@Rednaxela](https://forum.shopware.com/u/Rednaxela)\
**Post date:** [26. November 2016 um 15:02 UTC](https://forum.shopware.com/t/how-to-access-source-code/41745/7 "2016-11-26T15:02:53Z")

</div>

you won’t find any html files, the files you are looking for are .tpl files in /themes. you have to learn how to extend these files on your own theme, get familar to smarty and have to read the documentation for that changes can be seen in the frontend
