In the searches I have done for this subject I have seen other suggest various code changes for various versions of nopCommerce but non of them seem to relate to the current (3.8) version. This seems like it would be a commonly requested/needed feature but it is not built in so I'm left with figuring out how to add it. Obviously I don't want to hide all prices, just those where products price field is set to 0.00.
I have been fumbling around in the code and would 'assume' this would be done in the 'view' part of the code and I have found ...\nopCommerce_3.80_Source\Presentation\Nop.Web\Views\Product\_ProductPrice.cshtml but then there is going to be some underlying C# code associated with the model that might be a better location for changes.
I am not fluent with web based code but from browsing thee above .cshtml file we eventually get to line #33:
<div class="@if (String.IsNullOrWhiteSpace(Model.PriceWithDiscount))
{
<text>product-price</text>
}
else
{
<text>non-discounted-price</text>
}">
So if there is no 'ModelPriceWithDiscount' then 'product-price' is used? I am unfamiliar with this type of markup though I gather that this section of code is run 'in-line'.
Any pointers as to where to look or how to accomplish this task would be much appreciated.