Porting a template to a theme

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 years ago
--Attention, the text was translated into English using machine translation--

Good day. I have some template(a set of html, css and js files with other resources) that needs to be installed as a site theme in nopCommerce. How to do it right? I started to edit cshtml files in the theme, but after reading the documentation I saw lines that the style.css needs to be changed inside the theme.
I have the following questions:
How to adapt this theme to nopCommerce?

If a theme is adapted by editing cshtml files, then what is their structure? How to understand what is responsible for what?

--Original text on Russian--

Доброго времени суток. У меня есть некоторый шаблон(набор html, css и js файлов с прочими ресурсами), который нужно установить как тему сайта в nopCommerce. Как это правильно сделать? Я начал править cshtml файлы в теме, но почитав документацию я увидел строчки о том, что внутри темы нужно менять style.css.
У меня следующие вопросы:
Как правильно адаптировать такую тему к nopCommerce?

Если тема адаптируется с помощью правки cshtml файлов, то какая у них структура? Как понять какой за что отвечает?
4 years ago
Here is the documentation for theme development
https://docs.nopcommerce.com/developer/design/new-theme.html
4 years ago
MaxEis wrote:
--Attention, the text was translated into English using machine translation--

....
How to adapt this theme to nopCommerce?

If a theme is adapted by editing cshtml files, then what is their structure? How to understand what is responsible for what?

--Original text on Russian--



Если тема адаптируется с помощью правки cshtml файлов, то какая у них структура? Как понять какой за что отвечает?

Hi.
...it depends on ... which version of nopCommerce do you use (3.9 or 4.2)? it's two big differences :)
Best Regards.
4 years ago
I already read it. If I correctly understood what is written in the documentation, then there is a certain file style.css that is responsible for the design throughout the document.
It's right?

--original text--

Это я уже прочитал. Если я верно понял то, что написано в документации, то есть некий файл style.css который отвечает за дизайн во всём документе.
Это верно?
4 years ago
abch wrote:
--Attention, the text was translated into English using machine translation--

....
How to adapt this theme to nopCommerce?

If a theme is adapted by editing cshtml files, then what is their structure? How to understand what is responsible for what?

--Original text on Russian--



Если тема адаптируется с помощью правки cshtml файлов, то какая у них структура? Как понять какой за что отвечает?
Hi.
...it depends on ... which version of nopCommerce do you use (3.9 or 4.2)? it's two big differences :)
Best Regards.


i am use nopCommerce from github repository from "develop" branch.
4 years ago
Do not download from git repository. Rather download from release history list.https://github.com/nopSolutions/nopCommerce/releases/
4 years ago
abch wrote:
--Attention, the text was translated into English using machine translation--

....
How to adapt this theme to nopCommerce?

If a theme is adapted by editing cshtml files, then what is their structure? How to understand what is responsible for what?

--Original text on Russian--



Если тема адаптируется с помощью правки cshtml файлов, то какая у них структура? Как понять какой за что отвечает?
Hi.
...it depends on ... which version of nopCommerce do you use (3.9 or 4.2)? it's two big differences :)
Best Regards.


Ok, i am download v. 4.20. How then?
4 years ago
MaxEis wrote:

...
Если тема адаптируется с помощью правки cshtml файлов, то какая у них структура? Как понять какой за что отвечает?
Hi.
...it depends on ... which version of nopCommerce do you use (3.9 or 4.2)? it's two big differences :)
Best Regards.

Ok, i am download v. 4.20. How then?

I suppose you'd better start with that ..https://metanit.com/sharp/aspnet5/1.1.php...  
Best Regards.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.