Hi,
We like to add a More Details button below the Add to Cart button, but I can't find a way to do this. We want this on the category pages. It might seem redundant since customers can click either the title or the image to do the same thing, but we have a lot of customers that are not web savvy. If someone could please tell us how to do this, I would really appreciate it!
More Details Button
Re: More Details Button
I think you need to make changes to Website/ConLib/AddToCart.ascx file. Edit this file and then update following code lines
to
Code: Select all
<asp:LinkButton ID="AC" runat="server" SkinID="BuyNowButton" CausesValidation="false"><asp:Image ID="LI" runat="server" SkinID="BuyNowButton" AlternateText='<%# String.Format("Add {0} to Cart",ProductName) %>' /><asp:Literal ID="LT" runat="server" Text=""></asp:Literal></asp:LinkButton>
<asp:HyperLink ID="MoreDetailsLink" runat="server" EnableViewState="false" Visible="false"><asp:Image ID="MDI" runat="server" SkinId="MoreDetailsButton" AlternateText="More Details" /></asp:HyperLink>
Code: Select all
<table>
<tr>
<td>
<asp:LinkButton ID="AC" runat="server" SkinID="BuyNowButton" CausesValidation="false"><asp:Image ID="LI" runat="server" SkinID="BuyNowButton" AlternateText='<%# String.Format("Add {0} to Cart",ProductName) %>' /><asp:Literal ID="LT" runat="server" Text=""></asp:Literal></asp:LinkButton>
</td>
</tr>
<tr>
<td>
<asp:HyperLink ID="MoreDetailsLink" runat="server" EnableViewState="false" Visible="false"><asp:Image ID="MDI" runat="server" SkinId="MoreDetailsButton" AlternateText="More Details" /></asp:HyperLink>
</td>
</tr>
</table>
Re: More Details Button
No, sorry, this did not work. It only moved the Add to Cart button off to the left. We are using AC 7.07 if that helps.
Re: More Details Button
Any other suggestions for this? Please?
Re: More Details Button
Please also edit your Website/ConLib/AddToCartLink.ascx.cs file and locate following code
and then update it like
Code: Select all
MoreDetailsLink.Visible = !AC.Visible;
Code: Select all
MoreDetailsLink.Visible = true;
Re: More Details Button
Yes, thank you, that was what was missing!