Page 1 of 1

Removing the ""add to cart button" on the Category Page

Posted: Tue Oct 21, 2008 8:17 am
by nathanc
Is there a global way to make the "add to cart button" read "more details" on the category pages, without doing it one at a time? Is this level of customization done in the scriptlets on a programming level? I have 2000 skus. As well, how do I disable the "add to cart button" on the category pages, if I were to go ahead and make this change for all my product at once?

Thanks,

Nathan Cantkier
Site Administrator
Discounter's Pool & Spa Warehouse
A DIVISION OF CDS
Tel: 416-665-8006 x 253
Fax: 416-665-7400
Toll Free: 1-800-237-5565 x 253
email: nathancantkier@discounterspoolandspa.com
http://www.discounterspoolandspa.com

Re: Removing the ""add to cart button" on the Category Page

Posted: Tue Oct 21, 2008 11:16 am
by mazhar
If you are using CategoryGridPage for category display then edit the ConLib/CategoryGridPage.ascx file and locate following line of code

Code: Select all

<uc:AddToCartLink ID="Add2Cart" runat="server" ProductId='<%#Eval("ProductId")%>' />
and replace it with following code

Code: Select all

<%--<uc:AddToCartLink ID="Add2Cart" runat="server" ProductId='<%#Eval("ProductId")%>' />--%>
                    <asp:HyperLink ID="AC" runat="server" NavigateUrl='<%#Eval("NavigateUrl")%>' >More Details</asp:HyperLink>