diff --git a/Nop.Plugin.Misc.AuctionPlugin/Content/Images/wallpaper.jpg b/Nop.Plugin.Misc.AuctionPlugin/Content/Images/wallpaper.jpg new file mode 100644 index 0000000..e697db2 Binary files /dev/null and b/Nop.Plugin.Misc.AuctionPlugin/Content/Images/wallpaper.jpg differ diff --git a/Nop.Plugin.Misc.AuctionPlugin/Content/Js/MgMessageHandler.js b/Nop.Plugin.Misc.AuctionPlugin/Content/Js/MgMessageHandler.js index 4b7fdd1..ccfdd5c 100644 --- a/Nop.Plugin.Misc.AuctionPlugin/Content/Js/MgMessageHandler.js +++ b/Nop.Plugin.Misc.AuctionPlugin/Content/Js/MgMessageHandler.js @@ -4,74 +4,95 @@ const handlers = { announcement: function (data) { var myObject = JSON.parse(data); - toastr.info(`
${myObject.currentPrice}
${myObject.productName}
${myObject.currentPrice}
${myObject.productName}
${productToAuctionDto.auctionStatus}
${productToAuctionDto.id}
${productToAuctionDto.auctionStatus}
${productToAuctionDto.id}
| # | -Bidder | Bid Amount | -Date | +Account |
|---|
@@ -80,9 +81,11 @@
| @T("Products.Specs.AttributeName") | +@T("Products.Specs.AttributeValue") | +
|---|---|
| + @group.Name + | +|
| + @attr.Name + | +
+ @for (int j = 0; j < attr.Values.Count; j++)
+ {
+ var value = attr.Values[j];
+
+ @if (!string.IsNullOrEmpty(value.ColorSquaresRgb) && (value.AttributeTypeId == (int)SpecificationAttributeType.Option))
+ {
+
+
+
+
+
+ }
+ else
+ {
+ @Html.Raw(value.ValueRaw)
+ if (j != attr.Values.Count - 1)
+ {
+ |
+