ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Change Add To Cart Button on Fly
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Change Add To Cart Button on Fly

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


Joined: 05-February-2009
Location: IOWA
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote earl_lee Quote  Post ReplyReply Direct Link To This Post Topic: Change Add To Cart Button on Fly
    Posted: 05-February-2009 at 7:31am
I have a client that uses Product Cart primarily as a vehicle to accept donations, as such we have modified the "Add to Cart" button to say "Give A Gift". Now however the foundation has decided to start selling a small number of items such as T-Shirts to support their fund-raising. So We would like to be able to have the Add To Cart Button display as "Add To Cart" anytime the product ID is other than a Donation. Anyone have q great idea on how to make this happen or point me in the right direction?
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 05-February-2009 at 7:56am
Hi Earl,
     Do you have just one donations - or several?
If it's several then I would assume they are all in the same category - which would ONLY contain donations.
If that's the case then a small customization would be possible to check for the category number and decide which image to display. 
Back to Top
earl_lee View Drop Down
Newbie
Newbie


Joined: 05-February-2009
Location: IOWA
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote earl_lee Quote  Post ReplyReply Direct Link To This Post Posted: 05-February-2009 at 8:15am
Actually there is just one product for donations which is productid 1 - So I thought the best best would be to check against the productid and if it anything ither than 1 display the "Add to Cart" - Problem is that I can't find where the buttons are actually initialized - what controls pcs_AddtoCart to look for the image pc_button_add.gif ?
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.047 seconds.