ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Remove add to cart button
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Remove add to cart button

 Post Reply Post Reply
Author
Message
amytxus View Drop Down
Newbie
Newbie


Joined: 09-August-2007
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote amytxus Quote  Post ReplyReply Direct Link To This Post Topic: Remove add to cart button
    Posted: 06-October-2007 at 3:47pm
I don't like the add to cart button that was added to featured products and categories with this new version.  Our products have many details that a customer must look at prior to making the choice of the correct item to purchase. If they just add to cart from the categories or featured pages, they will not have enough information to make the correct choice.  How can I remove the add to cart buttons on all pages except the product page itself ?
Back to Top
Matt View Drop Down
Moderator Group
Moderator Group


Joined: 20-July-2006
Location: United States
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote Matt Quote  Post ReplyReply Direct Link To This Post Posted: 11-October-2007 at 12:54am

You can do this with some manual editing.

- Download "includes/stringfunctions.asp"
- Backup the file
- Open in a text editor
- Find text “On Error Resume Next” around line 386
- Directly after "On Error Resume Next" add the following text

            pcf_AddToCart=False
            Exit Function

- Save the file and upload

This will hide the new buy now buttons. It will also disable the “Qty” input boxes in the "multiple add-to-cart" layout. 

 

Making this a Control Panel option is something I will add to our development “Wish List”.  In the meantime, keep in mind you would have to redo this edit anytime you install an update.

Back to Top
amytxus View Drop Down
Newbie
Newbie


Joined: 09-August-2007
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote amytxus Quote  Post ReplyReply Direct Link To This Post Posted: 11-October-2007 at 1:06am
Thank you for the reply.  I realized after upgrading that this would be a problem for us and I'm really glad to know a way to fix it. 
Back to Top
ProductCart View Drop Down
Admin Group
Admin Group

ProductCart Team

Joined: 01-October-2003
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote ProductCart Quote  Post ReplyReply Direct Link To This Post Posted: 12-November-2007 at 12:25pm

The article above applies to version 3.1
For version 3.11 (to be released soon) and above, this new FAQ will apply.

The ProductCart Team

Home of ProductCart shopping cart software
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.