thrifty34 wrote:Sweet, I suprisingly thought I did that but it didn't work with my code but now works.
One more question
Is it possible instead of showing "Call for Price" in product grid to have it say "request quote" and link to the page? And on product page it would have to be absent otherwise it would say it twice.
Sure, that would be possible, but I would lean toward creating a new option and leaving "call for price" as it is. But if you really want to change it here is the basics:
Part 1: In the file "_ProductVariantPrice.cshtml" change the following code as required:
else if (Model.CallForPrice)
{
<span class="productPrice">@T("Products.CallForPrice")</span>
}
Part 2:
1. Change the string resource value of "Products.CallForPrice" (Displays to the public).
2. Change the string resource value of "Admin.Catalog.Products.Variants.Fields.CallForPrice" (Displays in admin).
I believe that is all you would need to do so you can re-purpose the "CallForPrice" functionality. Also don't forget that you need to restart the website so the cache is cleared.