I would to set up the product reviews so that registered users don't have to login to post. Now if they write a review before they are logged in they are told they have to login. Then they are redirected to the home page and the review is lost.
Can anyone help?
submit product review without email
Re: submit product review without email
One quick workaround could be to first edit your ConLib/ProductReviewForm.ascx and then locate following line of code
and change it to
Now edit your ConLib/ProductReviewForm.ascx.cs file and locate following code
and make it look like
When you are done with changes try to login and place review now it will redirect you to product page instead default page.
Code: Select all
<asp:HyperLink ID="LoginLink" runat="server" Text="Login" NavigateUrl="../Login.aspx" SkinID="Button" EnableViewState="False"></asp:HyperLink>
Code: Select all
<asp:HyperLink ID="LoginLink" runat="server" Text="Login" NavigateUrl="../Login.aspx?ReturnUrl={0}" SkinID="Button" EnableViewState="False"></asp:HyperLink>
Code: Select all
if (!Page.IsPostBack) InitializeForm();
Code: Select all
Product product = ProductDataSource.Load(_ProductId);
LoginLink.NavigateUrl = string.Format(LoginLink.NavigateUrl, product.NavigateUrl);
if (!Page.IsPostBack) InitializeForm();