Hi All,
I am trying to add an option to hide the price in the ProductSlider.cshtml. I added the checkbox to the ItemType with a name "HidePrice" and checked it on the Homepage
Next i added a variable to the top of ProductSlider.cshtml with the same logic as the HideTitle field:
Added HidePrice as a parameter for RenderSlider
And hide the price paragraph in the RenderSlider method:
If i set the hidePrice to true in the variable declaration on top, the price is hidden. But if I set it to false (and expect to get the value set on the ItemType) the price is never hidden.
So it seems the variable does not find the value of the ItemType?
What am I missing?
Thanks,
Justin