You have no items in your shopping cart.

Thursday, March 28, 2024 12:21:17 PM

Bugs

Posted: 11 years ago

#13 Quote

Support

Posted: 11 years ago

#13 Quote
Topic for reporting any Nop Request a Quote plugin problems and Bugs.

IMPORTANT NOTE: There is a known issues with installing new plugins in nopCommerce.
Please read this post for more information.

Posted: 11 years ago

#48 Quote

veracruzy

Posted: 11 years ago

#48 Quote
I installed Plugin Request a Quote, but on the admin's email not received Name product. Below example message for admin

Request For Quotation
From: admin@yourStore.com
Email: admin@yourStore.com
Phone: 33

44

What is my problem?

Posted: 11 years ago

#49 Quote

Support

Posted: 11 years ago

#49 Quote
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.

Posted: 11 years ago

#50 Quote

veracruzy

Posted: 11 years ago

#50 Quote
NopCommerce 2.8
in view _ProductVariantLine.cshtml I added

@Html.Action("ProductRequestForQuotationButton", "RequestForQuotation", new {typeButton=0,productVariantId = Model.Id })

Posted: 11 years ago

#51 Quote

Support

Posted: 11 years ago

#51 Quote

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>

Posted: 10 years ago

#73 Quote

rogole

Posted: 10 years ago

#73 Quote
about the plugin!

I want to know, when my site users to send me a quotation request, where I would receive this request, how to view, what it looks like, and whether it contains information?

Posted: 10 years ago

#74 Quote

rogole

Posted: 10 years ago

#74 Quote
my english is worse!

i hope you can understand the mean!

Posted: 10 years ago

#75 Quote

Support

Posted: 10 years ago

#75 Quote
Changelog.
4. Plugin allows to select product attributes. (from NopCommerce  3.0)

Posted: 7 years ago

#1803 Quote
Hello-

I have installed this plugin to test it on a new site. It seems to be just what I need, but I see something that I cannot understand.

When you click the Request a Quote button and then see the form to request a quote, there is a text above the form:
  Please register on www.storedomain.com

I expected this text to only be visible when customer is not logged in, but it appears on the page regardless if logged in or not.

I see the code in the ProductRequest.cshtml:


                    @if (Model.IsRegisted==false)
                    {
                        <tr>
                            <td>
                            </td>
                            <td>
                                Please register on <a href="http://www.mydomain.com">www.mydomain.com</a>
                            </td>
                        </tr>
                    }


I thought maybe it was a typo (IsRegisted)...changed to "isRegistered" as a test, but error..no object by that name exists.

Is this a known bug?

Thanks,
Steve

Posted: 7 years ago

#1806 Quote

Support

Posted: 7 years ago

#1806 Quote
We use wrong name for this parameter and we'll change it in the next  release.
But you should rename this parameter back.  IsRegisted

Posted: 7 years ago

#1807 Quote
OK, yes, this is not a problem.  I can just remove this text (Please register at www.mysite.com) from the view easily, but I think the "if" condition is not working correctly because the text is always appearing, even when customers are registered and logged in....

Posted: 7 years ago

#1808 Quote

Support

Posted: 7 years ago

#1808 Quote
You didn't understand.
This message will be hidden if plugin is registered.
This message isn't for customers.

Posted: 7 years ago

#1809 Quote
Oh...OK...that makes sense...now I feel really stupid.

Powered by nopCommerce

Copyright © 2023 FoxNetSoft. All rights reserved