Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

AddProductDetails.cshtml

@model Nop.Plugin.Misc.RFQ.Models.Admin.AddProductModel

@using Nop.Core.Domain.Catalog

@{
    Layout = "_AdminLayout";
    //page title
    ViewBag.PageTitle = string.Format(T("Plugins.Misc.RFQ.AdminRequest.Products.AddNew.Title2").Text, Model.Name, Model.QuoteId);
    //active menu item (system name)
    NopHtml.SetActiveMenuItemSystemName(RfqDefaults.RequestsAdminMenuSystemName);
}

@*we add enctype = "multipart/form-data" because "File upload" attribute control type requires it*@

@string.Format(T("Plugins.Misc.RFQ.AdminRequest.Products.AddNew.Title2").Text, Model.Name, Model.QuoteId) @T("Plugins.Misc.RFQ.AdminQuote.Products.AddNew.BackToQuote")

 
@if (Model.Warnings.Count > 0) {
    @foreach (var warning in Model.Warnings) {
  • @warning
  • }
}
@if (Model.ProductType == ProductType.SimpleProduct) {
var dataDict = new ViewDataDictionary(ViewData) { new("productId", Model.ProductId) }; @await Html.PartialAsync("_ProductAddAttributes.cshtml", Model.ProductAttributes, dataDict)
} else if (Model.ProductType == ProductType.GroupedProduct) {
Grouped products are not currently supported for adding to the quote
} else {
This product type (unknown) is not currently supported for adding to the quote
}