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

YOU ARE HERE:
cafepress's like/addthis link in product pages

HOME

CPSHOP|

|

|

EMAIL MARTY
  marty.net message board
  « cafepress's like/addthis link in product pages »
Welcome, Guest. Please Login or Register.
12/18/17 at 18:41:33
Home Help Search Login Register
   marty.net message board
   About cpshop
   Customization Help
   cafepress's like/addthis link in product pages
(Moderator: Marty)
Pages: 1 Reply Notify of replies Send the topic Print 
   Author  Topic: cafepress's like/addthis link in product pages  (Read 4547 times)
oph3lia
Gold Dragon
****

Posts: 58



Go Scots!
   

E-Mail
cafepress's like/addthis link in product pages
« on: 07/27/10 at 20:49:07 »
Reply with quote Modify message

I just recently noticed Cafepress is putting facebook like/addthis buttons on the product page. Unfortunately on my CPshop pages it puts the cafepress.com/myshop URL for the links instead of my CPshop URL.

I figured I could fix it with the cpshop.images.cgi file, but I'm having a hard time. I managed to replace the "like" and "share" urls, but the rest of the links I can't figure out.

example link:
<a class="addthis_button_google" addthis:url="http://www.cafepress.com/opheliasart.301506867?utm_medium=cp_social&utm_source=addthis&utm_campaign=PremiumShopPDP" ></a>

I was able to replace the first half of the link easily enough, but my urls end in .html and I can't figure out to get the .html in between the product number and the ?, because when I put the string beginning with a ? in my images file I get a program error.

If anyone has any advice, I'd be grateful!


Logged
Marty
Administrator Dragon
*****

Gender: male
Posts: a whole lot



That's me. :)
   

WWW E-Mail
Re: cafepress's like/addthis link in product pages
« Reply #1 on: 07/27/10 at 22:34:33 »
Reply with quote Modify message

Try using the latest update.
Logged

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

Posts: 58



Go Scots!
   

E-Mail
Re: cafepress's like/addthis link in product pages
« Reply #2 on: 07/28/10 at 01:10:23 »
Reply with quote Modify message

OK, cool, thanks Marty!!
Logged
hazeleyes7
Gold Dragon
****

Gender: female
Posts: 212



Labs Rock!
   

WWW E-Mail
Re: cafepress's like/addthis link in product pages
« Reply #3 on: 10/06/10 at 15:19:28 »
Reply with quote Modify message

Do you need to do some configuration because my share links are still going to the cafepress.com domain for my shop and not my CPShop?
Logged

https://shannonksteffen.com
http://www.dogwiregifts.com
http://www.8pawsup.com
http://www.angelcove.us
http://www.catwiregifts.com
Bradley W. Schenck
Gold Dragon
****

Posts: 242



Go Scots!
   

WWW
Re: cafepress's like/addthis link in product pages
« Reply #4 on: 10/06/10 at 15:39:26 »
Reply with quote Modify message

If it's still a problem, this can remove it completely:


Code:
#sharecontainer {
display:none !important;
}


You just add these lines to the CSS Override box in "Other Display Options"
« Last Edit: 10/06/10 at 15:40:10 by Bradley W. Schenck » 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.