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

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
nathanc
Ensign (ENS)
Ensign (ENS)
Posts: 11
Joined: Tue Oct 21, 2008 7:17 am

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

Post by nathanc » Tue Oct 21, 2008 8:17 am

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

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

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

Post by mazhar » Tue Oct 21, 2008 11:16 am

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>

Post Reply