File tree Expand file tree Collapse file tree 3 files changed +26
-13
lines changed
src/Presentation/SmartStore.Web/Views/Product Expand file tree Collapse file tree 3 files changed +26
-13
lines changed Original file line number Diff line number Diff line change 1- # Release Notes
1+ # Release Notes
22
33## SmartStore.NET 2.2
44
6060* #634 Bundle price in list should not differ from price in details if there is only one bundle item with one attribute
6161* Do not copy associated product when copying a bundle product
6262* Fixed: Product with inactive attribute combination could be moved onto wishlist, copied to cart and be ordered
63-
63+ * Mobile Theme: Show prices according to selected variant value, display of deliverytime
64+ * Bundles: Display base price according to Catalog Setting > Product Detail > Display Base Price
6465
6566## SmartStore.NET 2.1.1
6667
Original file line number Diff line number Diff line change 55<div class =" base-price muted @(!Model.IsBasePriceEnabled ? " hide fade " : " " )" >
66 @Model.BasePriceInfo
77</div >
8+
9+ @if (Model .DisplayDeliveryTime && Model .IsShipEnabled )
10+ {
11+ <div class =" delivery-time" >
12+ <span class =" delivery-time-label" >@T( " Products.DeliveryTime" )</span >
13+
14+ @if (Model .DisplayDeliveryTimeAccordingToStock )
15+ {
16+ <span class =" delivery-time-color" style =" background-color :@(Model.DeliveryTimeHexValue);@(Model .DeliveryTimeHexValue .HasValue () ? " " : " display:none; " )" title =" @Model.DeliveryTimeName" ></span >
17+ <span class =" delivery-time-value" >@Model.DeliveryTimeName </span >
18+ }
19+ else
20+ {
21+ <span class =" delivery-time-color" style =" display : none ;" title =" @Model.StockAvailability" ></span >
22+ <span class =" delivery-time-value" >@Model.StockAvailability </span >
23+ }
24+ </div >
25+ }
26+
827<div class =" add-to-cart" >
928 @if (Model .AddToCart .CustomerEntersPrice )
1029 {
Original file line number Diff line number Diff line change 2929 {
3030 @T (" Products.Price" )< text > : < / text >
3131 }
32-
33-
34- <span
35- @if (String.IsNullOrWhiteSpace(Model.PriceWithDiscount))
36- {
37- <text >class="product-price"</text>
38- }
39- >
32+
33+
34+ <span @if (String.IsNullOrWhiteSpace(Model.PriceWithDiscount)) { <text > class="product-price product-price-without-discount" </text> }>
4035 @Html.Raw(Model.Price)
4136 </span >
42-
43-
44-
37+
4538 if (! String .IsNullOrWhiteSpace (Model .PriceWithDiscount ))
4639 {
4740 < br / >
You can’t perform that action at this time.
0 commit comments