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

YOU ARE HERE:
"Add to cart"

HOME

CPSHOP|

|

|

EMAIL MARTY
  marty.net message board
  « "Add to cart" »
Welcome, Guest. Please Login or Register.
12/14/17 at 08:13:24
Home Help Search Login Register
   marty.net message board
   About cpshop
   Customization Help
   "Add to cart"
(Moderator: Marty)
Pages: 1 Reply Notify of replies Send the topic Print 
   Author  Topic: "Add to cart"  (Read 1226 times)
back2magic
Green Dragon
*

Gender: male
Posts: 8



It's all so new and overwhelming!
   

WWW E-Mail
"Add to cart"
« on: 11/12/04 at 10:38:40 »
Reply with quote Modify message

Hey all,

Is there a way to replace Cafepress' "add to cart" buttons with my own? As I have a black background store, they clash a little.

Any help will be greatly appreciated.

Logged

Richard
Marty
Administrator Dragon
*****

Gender: male
Posts: a whole lot



That's me. :)
   

WWW E-Mail
Re: "Add to cart"
« Reply #1 on: 11/12/04 at 11:15:23 »
Reply with quote Modify message

Use the same technique as described here.
Logged

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

Gender: male
Posts: 8



It's all so new and overwhelming!
   

WWW E-Mail
Re: "Add to cart"
« Reply #2 on: 11/12/04 at 11:44:51 »
Reply with quote Modify message

No luck I'm afraid.

Here's the line I'm adding to my images file:

addtocart||||http://www.back2magic.com/cgi-bin/store/cpshop.cgi/2510114264?target=prod&page=1&trail=&st=&p=chrisschuh.13067950||||http://www.back2magic.com/images/store/add_to_cart.jpg||||

« Last Edit: 11/12/04 at 11:47:52 by back2magic » Logged

Richard
Marty
Administrator Dragon
*****

Gender: male
Posts: a whole lot



That's me. :)
   

WWW E-Mail
Re: "Add to cart"
« Reply #3 on: 11/13/04 at 00:47:09 »
Reply with quote Modify message

Wrong syntax, and you're replacing HTML submit buttons with an image, right?

Try something like:

*||||<input type=submit ||||<input type=image src="http://www.back2magic.com/images/store/add_to_cart.jpg" ||||

Logged

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

Gender: male
Posts: 8



It's all so new and overwhelming!
   

WWW E-Mail
Re: "Add to cart"
« Reply #4 on: 11/13/04 at 11:07:01 »
Reply with quote Modify message

Still nothing. Yes I wanna take away the default "add to cart" orange button and put in the jpg. image mentioned. Do I need the asterisk and do I need to close the wraps with a ">" tag after both input types?

*||||<input type=submit> ||||<input type=image src="http://www.back2magic.com/images/store/add_to_cart.jpg"> |||| ??
Logged

Richard
Marty
Administrator Dragon
*****

Gender: male
Posts: a whole lot



That's me. :)
   

WWW E-Mail
Re: "Add to cart"
« Reply #5 on: 11/15/04 at 00:35:11 »
Reply with quote Modify message

So, it looks like you got it working.  What syntax did you end up using?
Logged

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

Gender: male
Posts: 8



It's all so new and overwhelming!
   

WWW E-Mail
Re: "Add to cart"
« Reply #6 on: 11/23/04 at 07:13:35 »
Reply with quote Modify message

Hi there,

Apologies for the late reply. I used the last syntax mentioned. The trouble is I have someone else's book being displayed on my store. However, it's coming from his account because he's taking the profit (it's all legitemate however) and because he's not got cpshop we still get the ugly "add to cart" button for that product.

My products look great though!!
Logged

Richard
shirean
Gold Dragon
****

Posts: 66



Go Scots!
   

E-Mail
Re:
« Reply #7 on: 05/08/05 at 11:39:20 »
Reply with quote Modify message

Hi - I just updated to 1.5c and just noticed my custom 'add to cart' button is no longer showing, just the default CP one. I'm not entirely certain if it was like this prior to 1.5c, I just noticed now.

Anyway, I've had it working prior to this and haven't made any changes to my "cpshop.cgi.images" in over a year! This is what is in there:

||||http://www.cafepress.com/cp/img/addcart_btn.gif||||http://www.theheartgallery.net/images/base/addtocart.gif

I tried as you had suggested above and changed it to:

*||||<input type=submit ||||<input type=image src="http://www.theheartgallery.net/images/base/addtocart.gif" ||||

but still no joy. Any ideas?

Many thanks.
Logged
Marty
Administrator Dragon
*****

Gender: male
Posts: a whole lot



That's me. :)
   

WWW E-Mail
Re: "Add to cart"
« Reply #8 on: 05/09/05 at 00:47:44 »
Reply with quote Modify message

Try:

*||||<input type="submit" ||||<input type=image src="http://www.theheartgallery.net/images/base/addtocart.gif" ||||

Logged

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

Posts: 66



Go Scots!
   

E-Mail
Re: "Add to cart"
« Reply #9 on: 05/09/05 at 15:04:52 »
Reply with quote Modify message

Still no joy  
Logged
Marty
Administrator Dragon
*****

Gender: male
Posts: a whole lot



That's me. :)
   

WWW E-Mail
Re: "Add to cart"
« Reply #10 on: 05/10/05 at 00:41:33 »
Reply with quote Modify message

*||||http://www.cafepress.com/cp/img/btn_AddtoCart.gif||||http://www.theheartgallery.net/images/base/addtocart.gif||||
Logged

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

Posts: 66



Go Scots!
   

E-Mail
Re: "Add to cart"
« Reply #11 on: 05/10/05 at 09:39:21 »
Reply with quote Modify message

Hi - nope, that didn't work either...it produced a 'red x' image, so I took a look at the source of the page and it showed the second |||| at th end of my replacement image name.

After experimenting I got it working with the following:

*||||http://www.cafepress.com/cp/img/btn_AddtoCart.gif||||http://www.theheartgallery.net/images/base/addtocart.gif

So just * is added to what I originally started off with in my initial post, unless of course, the CP file name is case sensitive when it's pulled across? As I originally labelled it as all lower case.

Anyway, as always, thanks for your help.
« Last Edit: 05/10/05 at 09:42:04 by shirean » Logged
Marty
Administrator Dragon
*****

Gender: male
Posts: a whole lot



That's me. :)
   

WWW E-Mail
Re: "Add to cart"
« Reply #12 on: 05/10/05 at 11:44:18 »
Reply with quote Modify message

Actually, the name of the image changed.  I think that ultimately was the root of the problem.
Logged

--
Regards,
Marty·.¸¸.·´¯`·.¸¸.-> marty@marty.net
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.