More Details Button

Store UI, layout, design, look and feel; Discussion on the customer facing pages of your online store. Cascading Style Sheets, Themes, Scriptlets, NVelocity and the components in the ConLib directory.
Post Reply
cierra
Ensign (ENS)
Ensign (ENS)
Posts: 19
Joined: Sun May 29, 2011 5:11 pm

More Details Button

Post by cierra » Fri Jun 03, 2011 12:53 pm

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!

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: More Details Button

Post by mazhar » Sat Jun 04, 2011 4:26 am

I think you need to make changes to Website/ConLib/AddToCart.ascx file. Edit this file and then update following code lines

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>
to

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>

cierra
Ensign (ENS)
Ensign (ENS)
Posts: 19
Joined: Sun May 29, 2011 5:11 pm

Re: More Details Button

Post by cierra » Sat Jun 04, 2011 7:24 am

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.

cierra
Ensign (ENS)
Ensign (ENS)
Posts: 19
Joined: Sun May 29, 2011 5:11 pm

Re: More Details Button

Post by cierra » Tue Jun 07, 2011 11:23 am

Any other suggestions for this? Please?

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: More Details Button

Post by mazhar » Wed Jun 08, 2011 3:55 am

Please also edit your Website/ConLib/AddToCartLink.ascx.cs file and locate following code

Code: Select all

MoreDetailsLink.Visible = !AC.Visible;
and then update it like

Code: Select all

MoreDetailsLink.Visible = true;

cierra
Ensign (ENS)
Ensign (ENS)
Posts: 19
Joined: Sun May 29, 2011 5:11 pm

Re: More Details Button

Post by cierra » Wed Jun 08, 2011 7:14 am

Yes, thank you, that was what was missing!

Post Reply