Developer forum

Forum » Rapido » 'Hide Price' doesn't work in Details view

'Hide Price' doesn't work in Details view

Mafalda Correa
Mafalda Correa
Reply

The option to 'Hide Price' works with Grid and List view, successfully removing the price of the products from the page, but in Details view, the price still appears. I tried the different configurations of the Detail views as well and the price always shows.

I've made a video to show the problem.

https://www.screencast.com/t/Jh3Cvg8h5

Regards


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Mafalda

That seems to be a bug. You can fix it by changing the /Files/Templates/Designs/Rapido/eCom/ProductList/Blocks/ViewDetails.cshtml template with this conditional:

@if (showPrice && !onlyPreview)
{
                    ....CODE GOES HERE....
}

See dump.

Sorry about the inconvenience.

BR Nicolai

Capture.PNG
Votes for this answer: 1
 
Mafalda Correa
Mafalda Correa
Reply

Hi Nicolai,

Thank you for the quick reply. The fix worked perfectly.

Regards

 

You must be logged in to post in the forum