diff --git a/themes/nurgul/assets/no_img.jpg b/themes/nurgul/assets/no_img.jpg new file mode 100644 index 0000000..65149c1 Binary files /dev/null and b/themes/nurgul/assets/no_img.jpg differ diff --git a/themes/nurgul/meta/menus/top-menu.yaml b/themes/nurgul/meta/menus/top-menu.yaml index 06f5a9d..beb5fee 100755 --- a/themes/nurgul/meta/menus/top-menu.yaml +++ b/themes/nurgul/meta/menus/top-menu.yaml @@ -1,9 +1,13 @@ items: - title: 'Baş Sahypa' + nesting: null type: cms-page + url: null code: '' reference: home + cmsPage: null + replace: null viewBag: locale: ru: @@ -14,9 +18,13 @@ items: isExternal: '0' - title: Kategoriýalar + nesting: null type: url url: / code: '' + reference: null + cmsPage: null + replace: null viewBag: locale: ru: @@ -27,9 +35,61 @@ items: isExternal: '0' items: - - title: test + title: 'Gelinlik Güller' type: url - url: / + url: /category/2 + code: '' + viewBag: + locale: + ru: + title: '' + url: '' + isHidden: '0' + cssClass: '' + isExternal: '0' + - + title: 'Sowgatlyk Güller' + type: url + url: /category/3 + code: '' + viewBag: + locale: + ru: + title: '' + url: '' + isHidden: '0' + cssClass: '' + isExternal: '0' + - + title: 'Sebetli güller' + type: url + url: /category/4 + code: '' + viewBag: + locale: + ru: + title: '' + url: '' + isHidden: '0' + cssClass: '' + isExternal: '0' + - + title: 'Bedreli güller' + type: url + url: /category/5 + code: '' + viewBag: + locale: + ru: + title: '' + url: '' + isHidden: '0' + cssClass: '' + isExternal: '0' + - + title: 'Buket güller' + type: url + url: /category/6 code: '' viewBag: locale: @@ -41,9 +101,13 @@ items: isExternal: '0' - title: 'Biz Barada' + nesting: null type: cms-page + url: null code: '' reference: about-us + cmsPage: null + replace: null viewBag: locale: ru: @@ -54,9 +118,13 @@ items: isExternal: '0' - title: 'Habarlaşmak Üçin' + nesting: null type: cms-page + url: null code: '' reference: contact-us + cmsPage: null + replace: null viewBag: locale: ru: diff --git a/themes/nurgul/pages/category.htm b/themes/nurgul/pages/category.htm new file mode 100755 index 0000000..d9fd669 --- /dev/null +++ b/themes/nurgul/pages/category.htm @@ -0,0 +1,96 @@ +title = "Category" +url = "/category/:id" +layout = "main" +== +param('id'); +} +?> +== +{% partial 'loader/loader' id='loader_cat' %} + +
{{'register.desc'|_}}
@@ -65,4 +65,4 @@ title = "Login" }; -{% endput %} \ No newline at end of file +{% endput %} diff --git a/themes/nurgul/partials/product/tab-pane.htm b/themes/nurgul/partials/product/tab-pane.htm new file mode 100755 index 0000000..6eafd19 --- /dev/null +++ b/themes/nurgul/partials/product/tab-pane.htm @@ -0,0 +1,212 @@ +Lorem ipsum dolor sit amet, consectetur adipisicing elit. + Recusandae asperiores sit odit nesciunt, aliquid, deleniti + non et ut dolorem!
+Lorem ipsum dolor sit amet, consectetur adipisicing elit. + Recusandae asperiores sit odit nesciunt, aliquid, deleniti + non et ut dolorem!
+Lorem ipsum dolor sit amet, consectetur adipisicing elit. + Recusandae asperiores sit odit nesciunt, aliquid, deleniti + non et ut dolorem!
+
+
+ `
+ )
+
+
(product.hasOwnProperty('special_price') ?
diff --git a/themes/nurgul/partials/scripts/productDetail.htm b/themes/nurgul/partials/scripts/productDetail.htm
index 6f391b1..6b09f7f 100755
--- a/themes/nurgul/partials/scripts/productDetail.htm
+++ b/themes/nurgul/partials/scripts/productDetail.htm
@@ -34,20 +34,32 @@
function setDetail(product) {
var images = product.images;
- for (var image of images) {
- // console.log(product.hasOwnProperty('special_price'));
- $('#product_images').append(`