This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Nop.Core; | |
using Nop.Core.Caching; | |
using Nop.Core.Domain.Catalog; | |
using Nop.Core.Domain.Customers; | |
using Nop.Core.Domain.Media; | |
using Nop.Core.Domain.Orders; | |
using Nop.Core.Domain.Seo; | |
using Nop.Core.Domain.Vendors; | |
using Nop.Services.Catalog; | |
using Nop.Services.Directory; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Nop.Core; | |
using Nop.Core.Caching; | |
using Nop.Core.Domain.Catalog; | |
using Nop.Core.Domain.Customers; | |
using Nop.Core.Domain.Media; | |
using Nop.Core.Domain.Orders; | |
using Nop.Core.Domain.Seo; | |
using Nop.Core.Domain.Vendors; | |
using Nop.Services.Catalog; | |
using Nop.Services.Directory; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Nop.Core; | |
using Nop.Core.Caching; | |
using Nop.Core.Domain.Catalog; | |
using Nop.Core.Domain.Customers; | |
using Nop.Core.Domain.Media; | |
using Nop.Core.Domain.Orders; | |
using Nop.Core.Domain.Seo; | |
using Nop.Core.Domain.Vendors; | |
using Nop.Services.Catalog; | |
using Nop.Services.Directory; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@helper RenderProductsCardDeck(IList<ProductOverviewModel> products) | |
{ | |
var totalProducts = products.Count; | |
for (int i = 0; i < totalProducts; i++) | |
{ | |
var product = products[i]; | |
if (i == 0) | |
{ | |
@:<div class="card-deck"> | |
@:<div class="card border-0">@Html.Partial("_ProductBox", product)</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@model ProductDetailsModel | |
@using Nop.Web.Models.Catalog; | |
@{ | |
Html.AddScriptParts("~/Scripts/jquery.magnific-popup.min.js"); | |
Html.AddCssFileParts("~/Content/magnific-popup/magnific-popup.css"); | |
} | |
<div class="gallery"> | |
<div class="picture"> | |
@if (Model.DefaultPictureZoomEnabled) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Nop.Core; | |
using Nop.Core.Caching; | |
using Nop.Core.Domain.Catalog; | |
using Nop.Core.Domain.Customers; | |
using Nop.Core.Domain.Media; | |
using Nop.Core.Domain.Orders; | |
using Nop.Core.Domain.Seo; | |
using Nop.Core.Domain.Vendors; | |
using Nop.Services.Catalog; | |
using Nop.Services.Directory; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
// summary: | |
// Extracts an amount from the given string and then applies indicated currency format for that amount. | |
// Use toLocaleString() function to applies currency format. | |
// amountValue: [number/string] | |
// The number/string that contains an amount. | |
// languageCulture: [string] | |
// The indicated language culture to applies format. | |
// currencyCode: [string] | |
// The indicated currency code to applies format. |