marty.net 1001 Postcards Love Love Love Meep Meep ZenZodiac DailyQuotation

YOU ARE HERE:
Image for Add to Cart button

HOME

CPSHOP|

|

|

EMAIL MARTY
  marty.net message board
  « Image for Add to Cart button »
Welcome, Guest. Please Login or Register.
12/16/17 at 08:59:56
Home Help Search Login Register
   marty.net message board
   About cpshop
   Customization Help
   Image for Add to Cart button
(Moderator: Marty)
Pages: 1 Reply Notify of replies Send the topic Print 
   Author  Topic: Image for Add to Cart button  (Read 874 times)
depresident
White Dragon
**

Posts: 11



Ding ding y'all.
   

Image for Add to Cart button
« on: 10/07/07 at 03:42:58 »
Reply with quote Modify message

Is it possible to exchange the default Add to Cart button with an image?

Like so...

Code:
<input type="image" src="addtocart.gif">


Thanks in advance
/carl

« Last Edit: 10/07/07 at 03:43:18 by depresident » Logged
Marty
Administrator Dragon
*****

Gender: male
Posts: a whole lot



That's me. :)
   

WWW E-Mail
Re: Image for Add to Cart button
« Reply #1 on: 10/07/07 at 23:37:52 »
Reply with quote Modify message

You can use cpshop.cgi.images to do that kind of replacement.  The exact syntax would depend on your installation, but it would be something like:

*||||<input type="submit" Value="Add||||<input type="image" src="/images/addtocart.gif" name="submit" alt="Add

Logged

--
Regards,
Marty·.¸¸.·´¯`·.¸¸.-> marty@marty.net
depresident
White Dragon
**

Posts: 11



Ding ding y'all.
   

Re: Image for Add to Cart button
« Reply #2 on: 10/08/07 at 11:02:46 »
Reply with quote Modify message

Worked like a charm!

Thanks!
Carl
Logged
Jason
Gold Dragon
****

Posts: 54




   

Re: Image for Add to Cart button
« Reply #3 on: 10/11/07 at 05:15:49 »
Reply with quote Modify message

Any idea why this stopped working?  
Logged

www.viadesigns.com
Jason
Gold Dragon
****

Posts: 54




   

Re: Image for Add to Cart button
« Reply #4 on: 10/11/07 at 05:34:05 »
Reply with quote Modify message

Nm, it's b/c I use the pop-up cart. If anyone is interested the code for those using the cart in a pop-up window:
*||||<input type=submit onClick="if||||<input type="image" src="/images/addtocart.gif" onClick="if
Logged

www.viadesigns.com
Kippygo
Silver Dragon
***

Posts: 44



Go Scots!
   

E-Mail
Re: Image for Add to Cart button
« Reply #5 on: 10/13/07 at 03:29:52 »
Reply with quote Modify message

I'm so excited to finally know how to change this!  Thanks  
Logged
Pages: 1 Reply Notify of replies Send the topic Print 
Jump to:


marty.net message board (http://www.marty.net/cgi/marty/board/messageboard)

Powered by YaBB 1 Gold - Release (Yet Another Bulletin Board)
Copyright © 2000-2001, X-Null. All Rights Reserved.