From bcab2c94b89031780443432e4244f80b446f948e Mon Sep 17 00:00:00 2001 From: jennbrewr Date: Fri, 10 Aug 2018 11:50:09 -0400 Subject: [PATCH 1/4] Added blog pages --- .DS_Store | Bin 12292 -> 14340 bytes .gitignore | 3 +- .sass-cache/.DS_Store | Bin 8196 -> 10244 bytes content/review-response-8.htm | 7 + gulpfile.js | 31 + lemonsync.cfg | 0 options.json | 128 +++ package.json | 26 + pages/.DS_Store | Bin 6148 -> 10244 bytes pages/blog-categories/code-breadcrumbs.htm | 5 + pages/blog-categories/code-setup.htm | 1 + .../blog-categories/page-blog-categories.htm | 53 + pages/blog-post/code-breadcrumbs.htm | 5 + pages/blog-post/code-setup.htm | 1 + pages/blog-post/page-blog-post.htm | 55 ++ pages/blog-rss-feed/page-blog-rss-feed.htm | 25 + pages/blog/code-setup.htm | 1 + pages/blog/page-blog.htm | 46 + pages/category/page-category.htm | 2 +- pages/checkout/code-script.htm | 9 + pages/contact/page-contact.htm | 21 +- pages/product/code-breadcrumbs.htm | 32 +- pages/product/page-product.htm | 20 +- pages/profile/code-script.htm | 45 + pages/review/review.htm | 56 ++ partials/blog-categories.htm | 15 + partials/breadcrumb-bar.htm | 9 + partials/layout-foot.htm | 0 partials/layout-footer.htm | 1 - partials/layout-head.htm | 1 + partials/layout-header.htm | 215 ++-- partials/review-form.htm | 75 ++ partials/shop-checkout.htm | 921 +++++++++--------- .../shop-customerprofile-add-card-form.htm | 33 + .../shop-customerprofile-edit-card-form.htm | 32 + partials/shop-customerprofile-edit-card.htm | 49 + partials/shop-paymentform.htm | 52 + partials/shop-product-extras.htm | 30 +- partials/shop-product-review-form.htm | 67 ++ partials/shop-product-review.htm | 77 ++ partials/shop-product.htm | 431 ++++---- partials/shop-review-form.htm | 49 + resources/.DS_Store | Bin 8196 -> 10244 bytes resources/images/about-bg.jpg | Bin 106357 -> 46349 bytes resources/images/box-health.jpg | Bin 22015 -> 17915 bytes resources/images/box-home.jpg | Bin 21554 -> 24919 bytes resources/images/box-lifestyle.jpg | Bin 43602 -> 36966 bytes resources/images/logo.jpg | Bin 1758 -> 0 bytes resources/images/logo.png | Bin 0 -> 1509 bytes resources/images/main-bg.jpg | Bin 49667 -> 51336 bytes resources/images/young-woman.jpg | Bin 52985 -> 21978 bytes resources/js/checkout.js | 19 - resources/js/combinedjs.min.js | 1 - resources/js/hammer.min.js | 12 +- resources/js/main.js | 74 +- resources/js/zoom.min.js | 6 - resources/screenshots/full-size.png | Bin 0 -> 213557 bytes resources/screenshots/large-square.png | Bin 0 -> 44921 bytes resources/screenshots/preview-large.png | Bin 0 -> 205455 bytes resources/screenshots/preview-small.png | Bin 0 -> 46412 bytes resources/screenshots/tiny-square.png | Bin 0 -> 4772 bytes .../stylesheets/components/navigation.css | 2 +- resources/stylesheets/components/product.css | 2 +- resources/stylesheets/components/shop.css | 2 +- resources/stylesheets/main.css | 2 +- sass/.DS_Store | Bin 6148 -> 6148 bytes sass/components/navigation.scss | 13 +- sass/components/product.scss | 27 + sass/components/shop.scss | 19 +- templates/rss-2-0-feed.htm | 8 + theme.yaml | 35 +- 71 files changed, 1943 insertions(+), 908 deletions(-) create mode 100644 content/review-response-8.htm create mode 100644 gulpfile.js delete mode 100644 lemonsync.cfg create mode 100644 options.json create mode 100644 package.json create mode 100644 pages/blog-categories/code-breadcrumbs.htm create mode 100644 pages/blog-categories/code-setup.htm create mode 100644 pages/blog-categories/page-blog-categories.htm create mode 100644 pages/blog-post/code-breadcrumbs.htm create mode 100644 pages/blog-post/code-setup.htm create mode 100644 pages/blog-post/page-blog-post.htm create mode 100644 pages/blog-rss-feed/page-blog-rss-feed.htm create mode 100644 pages/blog/code-setup.htm create mode 100644 pages/blog/page-blog.htm create mode 100644 pages/checkout/code-script.htm create mode 100644 pages/profile/code-script.htm create mode 100644 pages/review/review.htm create mode 100644 partials/blog-categories.htm create mode 100644 partials/breadcrumb-bar.htm delete mode 100644 partials/layout-foot.htm create mode 100644 partials/review-form.htm create mode 100644 partials/shop-customerprofile-add-card-form.htm create mode 100644 partials/shop-customerprofile-edit-card-form.htm create mode 100644 partials/shop-customerprofile-edit-card.htm create mode 100644 partials/shop-paymentform.htm create mode 100644 partials/shop-product-review-form.htm create mode 100644 partials/shop-product-review.htm create mode 100644 partials/shop-review-form.htm delete mode 100644 resources/images/logo.jpg create mode 100644 resources/images/logo.png delete mode 100644 resources/js/combinedjs.min.js delete mode 100755 resources/js/zoom.min.js create mode 100644 resources/screenshots/full-size.png create mode 100644 resources/screenshots/large-square.png create mode 100644 resources/screenshots/preview-large.png create mode 100644 resources/screenshots/preview-small.png create mode 100644 resources/screenshots/tiny-square.png create mode 100644 templates/rss-2-0-feed.htm diff --git a/.DS_Store b/.DS_Store index 24b1767ddf4fc6551d857ea9981e4d8c576ccaab..fc407821e9afa579b5a5ac2cd0b19e5b0349770f 100644 GIT binary patch delta 2236 zcmcgtOH30{6uq|{bo$Xw5h|t13@RliMgF!L7k+SIlmx|)xZ=|iFi=`4pt00yRPeK^ zPj~*}m&ApdS-B%oF($^((w#0e;>H*gBX0E0K;=!R7 z0JjcDY5{6!D$>xtl9OIz0E#oCRAVU95@a<2fjI@W3glMd(DKb11 z26%OB`8U-qdW8E&tF1QF0U$c`U#j2v&Wc`kyznH>uv+gj(P5`Ya@(0yIUW>k+S4wT zB$IU;LII_&A(#p%$zZT1pfuD6Qz_}HDEihmZfV{ZPo24T{l?8(wZKc7x;mI zh<0?L8w+t6uE26!jcc$1*I@&$#~_Aq3+}+3xC@)H4coB`!x+IRj^Yta<54_~XYedu zz{_}rbuN-|f*tadV;lJ`R_}U>QIOu+Y;3e*5A&7uv5o#st}z_PQ<%YX$nYXwVy{Z% z^sW47;$nR`HLV9Y&&i{)NH!zCK^gKWc4(XZ+RHN^#*x;+f&SP)51CQ@T(SdQd|cuD zS+%NkM%XP-@H=TF@=)Y#CSt#A20FMI*lM{^w!sjkG753%r`@%AqU&HH-qj!LB0m3A zM<*Amqx5VYnH(DG2v%D4IGIp+j-7{m-ptJH<()sHAr`Qi?Uh5Bk+O6dxfWm@^uT@? zGSITy6TFQhLoG=bZXHL#WHb16bZF}wZH*N-3IqdmTogbc_c?BTaDbN zMx?1cc%+YWZ(!BU4X1_OGX(Az)}#63hY2a$)G31Om?gP3Phpv6mJeM%F4 zHz`~wt8m_AvOYwrR$EtJpCfU1&87KhN|QMG3GG}!UC>Fn&y_Za``DdwZ&uo#{x@m! zP2{jjjLdbWg_pahe<*j{`SRq&U^V50v(D#(*x@~T@sZ=zj4Yxa(?M1$*wqLAATmiP zHs~8}Jfup(0Sg(Hv+ZkScF*%hUFD7-oAA4(T%Lp~N^=dS*SoG-xk&Q;m-4WnI%p@f zQ_WLTl2UfFu)H=iQtH*KkuGxwnYZ&7I$g(~tjrat(r@TVZ8_WI^f@iFw|_|g(HqFH P>&0#V zu(R1oWVnbTZYz?4-^vX)uNpe1Glq2%Qls&AnpzAULAD5j$mwpj0*31Eyw=ghi1(=P ziIT=1^YB|W06zCV;urDXyb(I**WEe({4lSd;0xCiF`4-}>vQst#9t1F(+^xOlf3#N zZ}$8ePhtQmj9?5|OkfhTn8Q3?VF7u(!CNe12_=-Vjt}^VZR}zX`#8W6KJh|dR*eTH zpiYA~24D6K@z2MZl#6z$L{-|REvnG~6={{qbCp`LP^lH2!J*hPW5z2d1Cn!jM@w8$rl?h2Nknf5jhg z@7{$=&$(5`6sd6`6&c2=rs{UrBZoex?yathh$Ls%Z6=b6$O$s-!&4NV#CGPLbYN?q z!6q0lQp!|DxN_-tddG^$Kx7~?5E+OJLbEZXb0jmVdG@4qQh@b_4*+P!03z24^P zGhbu?Hal=#;1s0>*Hh@zfY%mw2=+T$A5g5a(2R)%zj(hM~s|S$j23pk0_6Rx^>IEhGQX%6P1^P7TS)sK>pOWf0 zdL*aUsz+dqEj@0Y{NS|0yb6x7@sGV>IC>oD>OKJHE%Fo>V^arhMwst4%1-Ngt*!7( z))~F16l2s3&l5aNpc2`jZ_OM%mT%j8Z39T7hT!4Zj5VRZ!z{Adg2E+Y}Yq)Kp|!B)r(>bY8EP+*4E9``0<&2Y!{pQ^B= zkHC{$|9Jk?>OtQMhH;A?fib*#1jTUlkXOI-Xu)IwJ}0mh*ex~k&@aewugaLO+)llK zt9u0nMmmD}(PPY)z{u6(@VnI`D8?;%1jg{{5fsDK!^W!~+-AsRmztP$q6f#+hV?@z zl4E}7XyuB}$i{D5-qV+c$XGe>j9+l{IDUModIZMs>Jc2nqeoy2M-LOP=p!-Re+CZC zE2cdEe|h`=|M#DW_=b^z|CoW~XmP$c0|EAIeTNF3wWr7z$V}|FHdcqA(BpVmJ&wl% ukK?(IX5S$#6Yl5Mu8l{WAi)hJTtUIHvG6Store Response: 

+

Hi there, 

+

Sorry to hear you had a bad experience with the Ionic Band. We're sending you a replacement :)

\ No newline at end of file diff --git a/gulpfile.js b/gulpfile.js new file mode 100644 index 0000000..fc11675 --- /dev/null +++ b/gulpfile.js @@ -0,0 +1,31 @@ +// Getting started with gulp: +// https://markgoodyear.com/2014/01/getting-started-with-gulp/ + +// Load plugins +var gulp = require('gulp'), + uglify = require('gulp-uglify'), + concat = require('gulp-concat'), + rename = require('gulp-rename'), + notify = require('gulp-notify'); + +// Scripts +gulp.task('scripts', function() { + return gulp.src('resources/js/**/*.js') + .pipe(concat('main.js')) + .pipe(gulp.dest('resources/js')) + .pipe(rename({ suffix: '.min' })) + .pipe(uglify()) + .pipe(gulp.dest('resources/js')) + .pipe(notify({ message: 'Scripts task complete' })); +}); + +// Watch +gulp.task('watch', function() { + + // Watch .js files + gulp.watch('resources/js/*.js', ['scripts']); + +}); + +// Default task +gulp.task('default', ['scripts', 'watch']); \ No newline at end of file diff --git a/lemonsync.cfg b/lemonsync.cfg deleted file mode 100644 index e69de29..0000000 diff --git a/options.json b/options.json new file mode 100644 index 0000000..76f8734 --- /dev/null +++ b/options.json @@ -0,0 +1,128 @@ +{ + "settings": { + "logoImage": { + "type": "image", + "title": "Global: Logo Image", + "default": "@/images/logo.png" + }, + "faviconImage": { + "type": "image", + "title": "Favicon Image", + "default": "@images/favicon.png", + "comment": "Upload your favicon. Recommended dimmensions of 16px by 16px. You must use a .png file." + }, + "title": { + "type": "text", + "title": "title of your store", + "default": "Ventro" + }, + "fbCommentsAppIDText": { + "type": "text", + "title": "Facebook Comments App ID", + "default": "123", + "comment": "For Facebook product reviews/comments to work, first create an app in Facebook, then paste in your app ID." + }, + "socialFacebook": { + "type": "text", + "title": "Facebook URL", + "default": "https://www.facebook.com/lemonstand" + }, + "socialTwitter": { + "type": "text", + "title": "Twitter URL", + "default": "https://twitter.com/lemonstand" + }, + "socialInstagram": { + "type": "text", + "title": "Instagram URL", + "default": "https://instagram.com/lemonstand" + }, + "socialMedium": { + "type": "text", + "title": "Medium URL", + "default": "https://medium.com" + }, + "ajaxChimp": { + "type": "text", + "title": "MailChimp campaign URL", + "default": "http://blahblah.us1.list-manage.com/subscribe/post?u=5afsdhfuhdsiufdba6f8802&id=4djhfdsh9" + }, + "homeHeaderImage": { + "type": "image", + "title": "Home Header Image", + "default": "@/images/main-bg.jpg" + }, + "homeHeaderTitle": { + "type": "text", + "title": "Home Header Text", + "default": "Ingridglow" + }, + "homeHeaderSubtitle": { + "type": "text", + "title": "Home Header SubTitle", + "default": "The new way to tell time." + }, + "homeHeaderButtonURL": { + "type": "text", + "title": "Home Header category url name", + "default": "watches", + "comment": "Make sure the URL name is exactly the category Url name" + }, + "homeHeaderButtonTitle": { + "type": "text", + "title": "Home Header Button Text", + "default": "Shop Watches" + }, + "homeThreeCats": { + "type": "checkbox", + "title": "Home Page 3 Category Blocks", + "default": "1", + "comment": "Check to show" + }, + "homeCatLeft": { + "type": "text", + "title": "Home category 1: url name", + "default": "fitness", + "comment": "Make sure the URL name is exactly the category Url name" + }, + "homeCatLeftImg": { + "type": "image", + "title": "Home category 1: image", + "default": "@/images/box-health.jpg", + "comment": "Recommended size: 478x349" + }, + "homeCatMiddle": { + "type": "text", + "title": "Home category 2: url name", + "default": "lifestyle", + "comment": "Make sure the URL name is exactly the category Url name" + }, + "homeCatMiddleImg": { + "type": "image", + "title": "Home category 2: image", + "default": "@/images/box-lifestyle.jpg", + "comment": "Recommended size: 478x349" + }, + "homeCatRight": { + "type": "text", + "title": "Home category 3: url name", + "default": "home", + "comment": "Make sure the URL name is exactly the category Url name" + }, + "homeCatRightImg": { + "type": "image", + "title": "Home category 3: image", + "default": "@/images/box-home.jpg", + "comment": "Recommended size: 478x349" + }, + "productSocial": { + "type": "checkbox", + "title": "Include Social Sharing Buttons on product pages", + "default": "1", + "comment": "Check to show" + } + }, + "pages": { + "404": "404" + } +} \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..17fba20 --- /dev/null +++ b/package.json @@ -0,0 +1,26 @@ +{ + "name": "lscloud-theme-ventro", + "version": "1.0.0", + "description": "A theme for LemonStand 2", + "main": "theme.yaml", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/lemonstand/lscloud-theme-ventro.git" + }, + "author": "Daniel Park", + "license": "MIT", + "bugs": { + "url": "https://github.com/lemonstand/lscloud-theme-ventro/issues" + }, + "homepage": "https://github.com/lemonstand/lscloud-theme-ventro#readme", + "devDependencies": { + "gulp": "^3.9.0", + "gulp-concat": "^2.6.0", + "gulp-notify": "^2.2.0", + "gulp-rename": "^1.2.2", + "gulp-uglify": "^1.2.0" + } +} diff --git a/pages/.DS_Store b/pages/.DS_Store index b51ff788f85243c3083fcc2a1bd8701559b1e140..48913b6d0cca97f566b9f9292fda4b54eca6e8bb 100644 GIT binary patch literal 10244 zcmeHMO>Y}T7=FignoSxZN6-WGvd18m%C6lex4OZt!~rS7s1>3R{MC3{$7|W^M8&dX zi5pUHJ#YqExbY{-m&An|+&RFF6Nd^ZJTp64=F6$nLz}~lwfoNQ`@A#HJhL;qGbSRo zJ?WH*LLv%qa9do%$&t99A6ClAJ6B;D;wf&o`f&?aMGNb1cm=!yUIDLwSHLT9IuyV= zo2TGxYW>+O;1%!+WD4;4A;iILP1<>C#nge5SOUNna9bqg#m7Hv$Zx>bq@AZ0caT^b z3Y&&9xx`>{?ZDD-_-hhBPi-1bOw^2WWX(*jP?%hLuu#B>)l%!vUIDLwtpH!U=c!61 zs=m`#*YE5-c)mCiNrXvMf3MtV$NR&ysNA*x*2g3rj!Et2rD;ya7GMvG#1YG8G za8rDiZkf-)D-gUA>e3$c8_|7TKhdMAeimNmS-1$E7RJHXfw6d7m<9ZMVBe;DuKuSR z;G;f~yi5(R^Jjlb{u*Whe*@#>uVEbgUorX6TQsJ`^{nLo1~;`YPK?#twek?LC*mD# zdOv+n3Sym3|Pkw*~NKAgf(5vZn zcK#7LLl?c@m;SL4j-EEkaLjH7;@Q1<&=?K+@n8@2bM^&{x|sHK=nCVkd^P?p80gv;;Zir^}&nJeb&2!{f0U@x4h)0VRe4=8E~54!O`$r<45y5 zxGvKWGjvQHaJ9w@{UX^i$<{zC#P}{-;ZmQh!a?62!qq)o|Cm!qf=`Q;b6^~`{Why3U~#)0?)5NJ`D}|{{QvG|NlRK1wPU%;1xLa3a~=G zQQrp5A#RoBP+=`rfgM(fqo?Vz1(OZT8aE|NjAxM^^a& delta 163 zcmZn(XfcprU|?W$DortDU=RQ@Ie-{Mvv5r;6q~50$jG}fU^g=(?_?eU&B=2Gv?kjN zYD{Jq5}f=(PPR=gybhr7M7h{A}l{SSVV8Ky_m-2>tZ^ao5cedCr3+aOtzHb zoh%_GKe24zVs;J=L1v)gKp?;kBwRuEY%KiFJegm`6J#p`6T}4|M=@-U=b6I{0IG;0 A%K!iX diff --git a/pages/blog-categories/code-breadcrumbs.htm b/pages/blog-categories/code-breadcrumbs.htm new file mode 100644 index 0000000..2b7d6f1 --- /dev/null +++ b/pages/blog-categories/code-breadcrumbs.htm @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/pages/blog-categories/code-setup.htm b/pages/blog-categories/code-setup.htm new file mode 100644 index 0000000..508ac3d --- /dev/null +++ b/pages/blog-categories/code-setup.htm @@ -0,0 +1 @@ +{% global active_page = 'blog' %} \ No newline at end of file diff --git a/pages/blog-categories/page-blog-categories.htm b/pages/blog-categories/page-blog-categories.htm new file mode 100644 index 0000000..1e3608c --- /dev/null +++ b/pages/blog-categories/page-blog-categories.htm @@ -0,0 +1,53 @@ +--- +action: 'cmscontent:archive' +description: 'Blog Categories' +template: default +protocol: all +published: true +name: 'Blog Categories' +url: '/archives/:type/:category' +--- +
+
+
+
+ +
+
+
+
+

{{ category }}

+
+
+ + {% if archives | length > 0 %} + {% paginate archives by 5 %} + {% for post in pagination.items %} +
+

{{ post.title }}

+
{{ post.excerpt | unescape }}
+ +
+
+ {% endfor %} +
+ {% navigation %} +
+ {% endpaginate %} + {% else %} +
+
+

Not found

+

No {{ type }} posts found in category: {{ category }} {{ categoryID }}

+
+
+ {% endif %} +
+
+
+
\ No newline at end of file diff --git a/pages/blog-post/code-breadcrumbs.htm b/pages/blog-post/code-breadcrumbs.htm new file mode 100644 index 0000000..3854aff --- /dev/null +++ b/pages/blog-post/code-breadcrumbs.htm @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/pages/blog-post/code-setup.htm b/pages/blog-post/code-setup.htm new file mode 100644 index 0000000..508ac3d --- /dev/null +++ b/pages/blog-post/code-setup.htm @@ -0,0 +1 @@ +{% global active_page = 'blog' %} \ No newline at end of file diff --git a/pages/blog-post/page-blog-post.htm b/pages/blog-post/page-blog-post.htm new file mode 100644 index 0000000..7d8caca --- /dev/null +++ b/pages/blog-post/page-blog-post.htm @@ -0,0 +1,55 @@ +--- +action: 'cmscontent:blog' +template: default +protocol: all +published: true +name: 'Blog Post' +url: '/blog/:slug' +--- +{% if featured_image %} +
+
+ {{ featured_image.alt }} +
+
+{% endif %} + +
+
+
+
+
+ +
+
+

{{ post.title }}

+
+
+

Published {{ post.published_on | date("F j, Y") }} In {{ post.type }}

+
+
+
+ {{ post.body | unescape }} +
+ +
+ {% if profile_image %} + {{ profile_image.alt }} + {% endif %} + {{ post.author_name }} + +
+ {{ post.user.user_bio|unescape }} +
+
+
+
+
+
+
\ No newline at end of file diff --git a/pages/blog-rss-feed/page-blog-rss-feed.htm b/pages/blog-rss-feed/page-blog-rss-feed.htm new file mode 100644 index 0000000..6b02bfa --- /dev/null +++ b/pages/blog-rss-feed/page-blog-rss-feed.htm @@ -0,0 +1,25 @@ +--- +action: 'cmscontent:feed' +template: rss-2-0-feed +protocol: all +published: true +name: 'Blog RSS feed' +url: /blog/feed.xml +--- + + {{ page.title }} + {{ page.url }} + + {{ page.keywords }} + {{ published_on | date("r") }} + {{ published_on | date("r") }} + LemonStand V2 +{% for post in feed %} + + {{ post.title }} + /blog/{{ post.guid }} + + {{ post.published_on | date("r") }} + +{% endfor %} + \ No newline at end of file diff --git a/pages/blog/code-setup.htm b/pages/blog/code-setup.htm new file mode 100644 index 0000000..508ac3d --- /dev/null +++ b/pages/blog/code-setup.htm @@ -0,0 +1 @@ +{% global active_page = 'blog' %} \ No newline at end of file diff --git a/pages/blog/page-blog.htm b/pages/blog/page-blog.htm new file mode 100644 index 0000000..711308e --- /dev/null +++ b/pages/blog/page-blog.htm @@ -0,0 +1,46 @@ +--- +action: 'cmscontent:archive' +description: 'blog template' +template: default +protocol: all +published: true +name: Blog +url: '/archives/:type' +--- +
+
+
+ {% if archives | length > 0 or publishedPosts > 0 %} + {% paginate archives by 5 %} + {% set publishedPosts = 0 %} +
+ +
+
+ {% for post in archives %} + {% if post.status == "published" %} + {% set publishedPosts = publishedPosts + 1 %} + {% endif %} +
+

{{ post.title }}

+
{{ post.excerpt | unescape }}
+ +
+
+ {% endfor %} +
+ {% navigation %} +
+
+ {% endpaginate %} + {% else %} +

No posts found

+ {% endif %} +
+
+
\ No newline at end of file diff --git a/pages/category/page-category.htm b/pages/category/page-category.htm index 45a08a3..100ab68 100644 --- a/pages/category/page-category.htm +++ b/pages/category/page-category.htm @@ -2,7 +2,7 @@ action: 'shop:category' template: default protocol: all -published: true +published: 1 name: Category url: '/category/:urlName@/:page?' --- diff --git a/pages/checkout/code-script.htm b/pages/checkout/code-script.htm new file mode 100644 index 0000000..50c8463 --- /dev/null +++ b/pages/checkout/code-script.htm @@ -0,0 +1,9 @@ + \ No newline at end of file diff --git a/pages/contact/page-contact.htm b/pages/contact/page-contact.htm index d9fbaf5..1a4200a 100644 --- a/pages/contact/page-contact.htm +++ b/pages/contact/page-contact.htm @@ -1,11 +1,10 @@ ---- -template: default -protocol: all -published: true -name: Contact -url: /contact ---- - +--- +template: default +protocol: all +published: true +name: Contact +url: /contact +---
@@ -19,7 +18,7 @@

Contact Ventro

{{ open_form({'data-ajax-handler': 'system:onSendMessage'}) }} {{ flash() }} -
+

Need to send a message?

@@ -31,8 +30,10 @@

Need to send a message?

+ +
{{ close_form() }}
@@ -43,4 +44,4 @@

Contact Us here

Monday-Friday 1-9

-
+
\ No newline at end of file diff --git a/pages/product/code-breadcrumbs.htm b/pages/product/code-breadcrumbs.htm index f4a02f2..993b351 100644 --- a/pages/product/code-breadcrumbs.htm +++ b/pages/product/code-breadcrumbs.htm @@ -1,17 +1,17 @@ -{% set category = product ? product.categories[0] : null %} - -
-

- Home - / - {% if category %} - {% for parent in category.listAllParents() %} - {{ parent.name }} - / - {% endfor %} - {{ category.name }} - / - {% endif %} - {{ product.name }} -

+{% set category = product ? product.categories[0] : null %} + +
+

+ Home + / + {% if category %} + {% for parent in category.listAllParents() %} + {{ parent.name }} + / + {% endfor %} + {{ category.name }} + / + {% endif %} + {{ product.name }} +

\ No newline at end of file diff --git a/pages/product/page-product.htm b/pages/product/page-product.htm index 0ef5442..dd75228 100644 --- a/pages/product/page-product.htm +++ b/pages/product/page-product.htm @@ -1,12 +1,11 @@ ---- -action: 'shop:product' -template: default -protocol: all -published: true -name: Product -url: '/product/:urlName' ---- - +--- +action: 'shop:product' +template: default +protocol: all +published: true +name: Product +url: '/product/:urlName' +--- {{ open_form({'class': 'custom', 'onsubmit': 'return false'}) }} {% if product %}
@@ -16,3 +15,6 @@

We are sorry, the requested product was not found.

{% endif %} {{ close_form() }} + +{{ partial('shop-product-review-form') }} +{{ partial('shop-product-review') }} \ No newline at end of file diff --git a/pages/profile/code-script.htm b/pages/profile/code-script.htm new file mode 100644 index 0000000..a4901ec --- /dev/null +++ b/pages/profile/code-script.htm @@ -0,0 +1,45 @@ + diff --git a/pages/review/review.htm b/pages/review/review.htm new file mode 100644 index 0000000..94454ca --- /dev/null +++ b/pages/review/review.htm @@ -0,0 +1,56 @@ +--- +template: default +protocol: all +published: true +name: review +url: /review +--- +{{ open_form({'data-ajax-handler': 'system:onSendMessage', 'data-test': 'true'}) }} +

Review this product

+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ +
+
+ + +
+
+ + + + + + +{{ close_form() }} \ No newline at end of file diff --git a/partials/blog-categories.htm b/partials/blog-categories.htm new file mode 100644 index 0000000..bb44a22 --- /dev/null +++ b/partials/blog-categories.htm @@ -0,0 +1,15 @@ +{% set blogCategories = [] %} +
+ {% for post in cmsContent('blog')|extended_sort('published_on', false) %} + {% for category in post.categories %} + {% if category.name not in blogCategories %} + + {% set blogCategories = blogCategories|merge([category.name]) %} + {% endif %} + {% endfor %} + {% endfor %} +
\ No newline at end of file diff --git a/partials/breadcrumb-bar.htm b/partials/breadcrumb-bar.htm new file mode 100644 index 0000000..8ecc6c0 --- /dev/null +++ b/partials/breadcrumb-bar.htm @@ -0,0 +1,9 @@ + \ No newline at end of file diff --git a/partials/layout-foot.htm b/partials/layout-foot.htm deleted file mode 100644 index e69de29..0000000 diff --git a/partials/layout-footer.htm b/partials/layout-footer.htm index 37d78ac..5b36222 100644 --- a/partials/layout-footer.htm +++ b/partials/layout-footer.htm @@ -55,7 +55,6 @@
Follow us Socially
- diff --git a/partials/layout-head.htm b/partials/layout-head.htm index 3942a20..9ab4c31 100644 --- a/partials/layout-head.htm +++ b/partials/layout-head.htm @@ -18,6 +18,7 @@ +