I set WholesaleOnlySite to true, it hides the pricing etc. but it does not hide it on the details page for kitproducts, Is this a bug or am I missing something?
I set WholesaleOnlySite to true, it hides the pricing etc. but it does not hide it on the details page for kitproducts, Is this a bug or am I missing something?
MSX
Looks like a defect in kitproduct.aspx(cs), I was able to verify it on a stock install. I'll log this into our bug tracking system. Thanks for posting this.
BTW, can you tell us your 4-digit version you're on, please?
Last edited by ASPAlfred; 01-25-2011 at 05:57 AM.
It is 9.0.1.3
Just an FYI if I recall correctly I had the problem in v8 but I was able to overcome it using an an xmlpackage but this is set up different.
Thanks
MSX
Any update on this, we are ready to go live but we cant with this issue.
Thanks
MSX
I had this issue again on the new ML version 9101
I added this to kitproduct.aspx.cs
at line 128 I addedat line 489Code:IfWholesale();
and on kitproduct.aspx I addedCode:public void IfWholesale() { // only show pricing if user is logged in or is not a wholesale site if (AppLogic.AppConfigBool("WholesaleOnlySite")) { if (HttpContext.Current.User.Identity.IsAuthenticated) { kittable.Visible = true; } else {kittable.Visible = false;} } else { kittable.Visible = true; } }
Around the table with the class kit_table BTW that table is missing a closing td tag.Code:<asp:Panel ID="kittable" runat="server"> </asp:Panel>
MSX