demo link http://demo280.foxnetsoft.com/build-your-own-computer
press button Request For Quotation.
On the next page you see link to Build your own computer
Our _ProductVariantLine.cshtml
@model ProductDetailsModel.ProductVariantModel
@using Nop.Web.Models.Catalog;
<div class="product-variant-line">
@if (!String.IsNullOrWhiteSpace(Model.PictureModel.ImageUrl))
{
<div class="variant-picture">
<img alt="@Model.PictureModel.AlternateText" src="@Model.PictureModel.ImageUrl"
title="@Model.PictureModel.Title" />
</div>
}
@if (!String.IsNullOrWhiteSpace(Model.Name))
{
<div class="variant-name">
@Model.Name
</div>
}
@if (!String.IsNullOrWhiteSpace(Model.Description))
{
<div class="variant-description">
@Html.Raw(Model.Description)
</div>
}
@Html.Partial("_DownloadSample", Model)
<div class="clear">
</div>
@Html.Action("ProductTierPrices", "Catalog", new { productVariantId = Model.Id })
<div class="clear">
</div>
@{
var dataDictAttributes = new ViewDataDictionary();
dataDictAttributes.TemplateInfo.HtmlFieldPrefix = string.Format("attributes_{0}", Model.Id);
@Html.Partial("_ProductAttributes", Model.ProductVariantAttributes, dataDictAttributes)
}
<div class="clear">
</div>
<!--product SKU, manufacturer part number, stock info-->
@Html.Partial("_ProductVariant_SKU_Man_Stock", Model)
<div class="clear">
</div>
<!--Back in stock subscription-->
@Html.Partial("_ProductVariantBackInStockSubscription", Model)
<div class="clear">
</div>
@{
var dataDictGiftCard = new ViewDataDictionary();
dataDictGiftCard.TemplateInfo.HtmlFieldPrefix = string.Format("giftcard_{0}", Model.Id);
@Html.Partial("_GiftCardInfo", Model.GiftCard, dataDictGiftCard)
}
<div class="clear">
</div>
@{
var dataDictPrice = new ViewDataDictionary();
dataDictPrice.TemplateInfo.HtmlFieldPrefix = string.Format("price_{0}", Model.Id);
@Html.Partial("_ProductVariantPrice", Model.ProductVariantPrice, dataDictPrice)
}
@{
var dataDictAddToCart = new ViewDataDictionary();
dataDictAddToCart.TemplateInfo.HtmlFieldPrefix = string.Format("addtocart_{0}", Model.Id);
@Html.Partial("_ProductVariantAddToCart", Model.AddToCart, dataDictAddToCart)
}
@Html.Action("ProductRequestForQuotationButton", "RequestForQuotation", new {typeButton=0,productVariantId = Model.Id })
</div>
Write version of NopCommerce.
Verify your code
@Html.Action("ProductRequestForQuotationButton", "RequestForQuotation", new {typeButton=0,productVariantId = Model.Id })
or
@Html.Action("ProductRequestForQuotationButton", "RequestForQuotation", new {typeButton=2,productVariantId = Model.ProductVariantId })
Plugin find ProductVariant by productVariantId.
Plugin don't find Product by productId.
Model.Id or Model.ProductVariantId - It's Id from ProductVariant, not from Product.
P.S.
We must wrote new version of plugin with 2 parameters productVariantId and productId.
How to install and configure the module in the online store.
Watch Youtube video
http://youtu.be/tlJEao3roJU
or read the text below
http://www.foxnetsoft.com/t/NopLiqPay.
Topic for reporting any problems and Bugs.
IMPORTANT NOTE: There is a known issues with installing new plugins in nopCommerce.
Please read this post for more information.
Topic for reporting any problems and Bugs.
IMPORTANT NOTE: There is a known issues with installing new plugins in nopCommerce.
Please read this post for more information.
How to install and configure the module in the online store.
Read the text below.
http://www.foxnetsoft.com/t/NopProductStickers.