Me Site Price is not being displayes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hace 11 años
Hi,
I have installed my site and began to config.
However, the price is not being displayed.
All i can see thought the site is the Currency symbol.
Please assist.
Hace 11 años
hi
check fallowing file may be u will get solution.
presentation\nop.web\views\catalog\_productvariantprice.cshtml

<div class="price">
    @if (Model.CustomerEntersPrice)
    {
        /*display nothing*/
    }
    else if (Model.CallForPrice)
    {
        <span class="productPrice">@T("Products.CallForPrice")</span>
    }
    else
    {
        if (!String.IsNullOrWhiteSpace(Model.OldPrice))
        {
        @T("List Price")<text>:</text>
        <span class="oldProductPrice" style="color: #FF0000; text-decoration: line-through;">@Model.OldPrice</span>
        <br />
        }
        if (!String.IsNullOrWhiteSpace(Model.OldPrice) ||
            !String.IsNullOrWhiteSpace(Model.PriceWithDiscount))
        {
        @T("Our Price")<text>:</text>
        }
        
        
        <span style="color: #008000"
        @if (String.IsNullOrWhiteSpace(Model.PriceWithDiscount))
        {
            <text>class="productPrice"</text>
        }
        >
            @if (Model.DynamicPriceUpdate && !Model.HidePrices && String.IsNullOrWhiteSpace(Model.PriceWithDiscount))
            {
                @Html.Raw(Regex.Replace(Model.Price, pattern, replacement))
            }
            else
            {
                @Html.Raw(Model.Price)
            }
        </span>
        
        
        
            if (!String.IsNullOrWhiteSpace(Model.PriceWithDiscount))
            {
        <br />
        @T("Products.Price.WithDiscount")<text>:</text>
        <span class="productPrice">
            @if (Model.DynamicPriceUpdate && !Model.HidePrices)
            {
                @Html.Raw(Regex.Replace(Model.PriceWithDiscount, pattern, replacement))
            }
            else
            {
                @Html.Raw(Model.PriceWithDiscount)
            }
        </span>
            }
    }
</div>
Hace 11 años
hi
u can add fallowing code in
presentation\nop.web\views\catalog\_productsmallbox.cshtml



<div class="prices">
        @Html.Partial("_ProductPrice", Model.ProductPrice)
    </div>
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.