diff --git a/WebStore.UI/WebStore/ProductDetail.aspx.cs b/WebStore.UI/WebStore/ProductDetail.aspx.cs
index 5c2e9de..d4bff3a 100644
--- a/WebStore.UI/WebStore/ProductDetail.aspx.cs
+++ b/WebStore.UI/WebStore/ProductDetail.aspx.cs
@@ -1,6 +1,6 @@
/// Author:
/// Created: 2008-10-19
-/// Last Modified: 2012-10-02
+/// Last Modified: 2018-10-11
///
/// The use and distribution terms for this software are covered by the
/// Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
@@ -222,6 +222,15 @@ private void LoadSettings()
ScriptConfig.IncludeYahooMediaPlayer = true;
}
+ if (pageId > -1)
+ {
+ PageSettings pageSettings = new PageSettings(SiteId, pageId);
+ if (pageSettings != null && !String.IsNullOrWhiteSpace(pageSettings.BodyCssClass))
+ {
+ AddClassToBody(pageSettings.BodyCssClass.Replace("temp-ws-hide", string.Empty));
+ }
+ }
+
AddClassToBody("webstore webstoreproductdetail");
}
diff --git a/WebStore.UI/WebStore/Views/Web.config b/WebStore.UI/WebStore/Views/Web.config
new file mode 100644
index 0000000..18691a7
--- /dev/null
+++ b/WebStore.UI/WebStore/Views/Web.config
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/WebStore.UI/WebStore/Views/_Cart.cshtml b/WebStore.UI/WebStore/Views/_Cart.cshtml
new file mode 100644
index 0000000..0469b84
--- /dev/null
+++ b/WebStore.UI/WebStore/Views/_Cart.cshtml
@@ -0,0 +1,80 @@
+@using mojoPortal.Web.Helpers;
+@using mojoPortal.Business;
+
+@model PostListModel
+
+
+ @foreach (var item in Model.Posts)
+ {
+
+
+
+ @if (!string.IsNullOrWhiteSpace(item.HeadlineImageUrl))
+ {
+
+ }
+
+
+ @if (@item.SubTitle != "")
+ {
+ @item.SubTitle
+ }
+
+
+
+ @Html.Raw(item.Body)
+
+
+
+
+ }
+
View all posts »
+
\ No newline at end of file
diff --git a/WebStore.UI/WebStore/Views/_Checkout.cshtml b/WebStore.UI/WebStore/Views/_Checkout.cshtml
new file mode 100644
index 0000000..0469b84
--- /dev/null
+++ b/WebStore.UI/WebStore/Views/_Checkout.cshtml
@@ -0,0 +1,80 @@
+@using mojoPortal.Web.Helpers;
+@using mojoPortal.Business;
+
+@model PostListModel
+
+
+ @foreach (var item in Model.Posts)
+ {
+
+
+
+ @if (!string.IsNullOrWhiteSpace(item.HeadlineImageUrl))
+ {
+
+ }
+
+
+ @if (@item.SubTitle != "")
+ {
+ @item.SubTitle
+ }
+
+
+
+ @Html.Raw(item.Body)
+
+
+
+
+ }
+
View all posts »
+
\ No newline at end of file
diff --git a/WebStore.UI/WebStore/Views/_Home.cshtml b/WebStore.UI/WebStore/Views/_Home.cshtml
new file mode 100644
index 0000000..0469b84
--- /dev/null
+++ b/WebStore.UI/WebStore/Views/_Home.cshtml
@@ -0,0 +1,80 @@
+@using mojoPortal.Web.Helpers;
+@using mojoPortal.Business;
+
+@model PostListModel
+
+
+ @foreach (var item in Model.Posts)
+ {
+
+
+
+ @if (!string.IsNullOrWhiteSpace(item.HeadlineImageUrl))
+ {
+
+ }
+
+
+ @if (@item.SubTitle != "")
+ {
+ @item.SubTitle
+ }
+
+
+
+ @Html.Raw(item.Body)
+
+
+
+
+ }
+
View all posts »
+
\ No newline at end of file
diff --git a/WebStore.UI/WebStore/Views/_OfferList.cshtml b/WebStore.UI/WebStore/Views/_OfferList.cshtml
new file mode 100644
index 0000000..0469b84
--- /dev/null
+++ b/WebStore.UI/WebStore/Views/_OfferList.cshtml
@@ -0,0 +1,80 @@
+@using mojoPortal.Web.Helpers;
+@using mojoPortal.Business;
+
+@model PostListModel
+
+
+ @foreach (var item in Model.Posts)
+ {
+
+
+
+ @if (!string.IsNullOrWhiteSpace(item.HeadlineImageUrl))
+ {
+
+ }
+
+
+ @if (@item.SubTitle != "")
+ {
+ @item.SubTitle
+ }
+
+
+
+ @Html.Raw(item.Body)
+
+
+
+
+ }
+
View all posts »
+
\ No newline at end of file
diff --git a/WebStore.UI/WebStore/Views/_ProductList.cshtml b/WebStore.UI/WebStore/Views/_ProductList.cshtml
new file mode 100644
index 0000000..0469b84
--- /dev/null
+++ b/WebStore.UI/WebStore/Views/_ProductList.cshtml
@@ -0,0 +1,80 @@
+@using mojoPortal.Web.Helpers;
+@using mojoPortal.Business;
+
+@model PostListModel
+
+
+ @foreach (var item in Model.Posts)
+ {
+
+
+
+ @if (!string.IsNullOrWhiteSpace(item.HeadlineImageUrl))
+ {
+
+ }
+
+
+ @if (@item.SubTitle != "")
+ {
+ @item.SubTitle
+ }
+
+
+
+ @Html.Raw(item.Body)
+
+
+
+
+ }
+
View all posts »
+
\ No newline at end of file