RRP in Search Results

Posted By GlenN Fri 15 Jul 2016
Add to Favorites0
Author Message
GlenN
 Posted Fri 15 Jul 2016
Supreme Being

Supreme Being - (2,170 reputation)Supreme Being - (2,170 reputation)Supreme Being - (2,170 reputation)Supreme Being - (2,170 reputation)Supreme Being - (2,170 reputation)Supreme Being - (2,170 reputation)Supreme Being - (2,170 reputation)Supreme Being - (2,170 reputation)Supreme Being - (2,170 reputation)

Group: Forum Members
Last Active: Fri 15 Jul 2016
Posts: 5, Visits: 17
Hello,


Is it possible for me to display products' RRPs in the search results? Preferably below the Minprice. I found the following code, and tried to add it to its own div below the "minprice" div in ProductTemplateSearchResult.ascx, but to no avail:

<aspTongueanel EnableViewState="false" ID="pnlRRP" runat="server" Visible='<%# KartSettingsManager.GetKartConfig("frontend.versions.display.showrrp") = "y" And Eval("V_RRP") > 0 %>'>
<span class="rrp">
<asp:Literal EnableViewState="false" ID="litContentText_RRP" runat="server" Text="<%$ Resources: Versions, ContentText_RRP %>" />
<span class="figure">
<asp:Literal ID="litRRP" runat="server" Text='<%# Eval("V_RRP") %>' EnableViewState="false" /></span></span>
</aspTongueanel>



Thank you,
Glen
Tiggywiggler
 Posted Thu 28 Jul 2016
Supreme Being

Supreme Being - (105,346 reputation)Supreme Being - (105,346 reputation)Supreme Being - (105,346 reputation)Supreme Being - (105,346 reputation)Supreme Being - (105,346 reputation)Supreme Being - (105,346 reputation)Supreme Being - (105,346 reputation)Supreme Being - (105,346 reputation)Supreme Being - (105,346 reputation)

Group: Forum Members
Last Active: Mon 6 Dec 2021
Posts: 235, Visits: 750
V_RRP is not called with that dataset, therefore the data is not available for this page. I have checked and not only is the information not in the dataset, it is not in the SQL Procedure that is returning this data, so there is no quick fix.

You could add the control as a plain literal and then populate the RRP as the search page loads, but there is no function in ProductsBLL to get you this RRP from the product ID, so you will need to write one yourself.


We are always willing to help out the community or pitch in to help you fix a problem. However, if you want a complete solution made such as a code module or new feature added you have two options. Either
1) Reach out to the Kartris internal development team at http://www.kartris.com/Contact.aspx.
2) Contact one of the Kartris approved partners at http://www.kartris.com/t-Worldwide-Developers.aspx.

Have fun and good luck coding.

Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top