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

YOU ARE HERE:
CP MP ad appearing Shopping Cart

HOME

CPSHOP|

|

|

EMAIL MARTY
  marty.net message board
  « CP MP ad appearing Shopping Cart »
Welcome, Guest. Please Login or Register.
12/12/17 at 10:22:32
Home Help Search Login Register
   marty.net message board
   About cpshop
   Customization Help
   CP MP ad appearing Shopping Cart
(Moderator: Marty)
Pages: 1 Reply Notify of replies Send the topic Print 
   Author  Topic: CP MP ad appearing Shopping Cart  (Read 734 times)
Sally
Gold Dragon
****

Gender: female
Posts: 171




   

WWW
CP MP ad appearing Shopping Cart
« on: 10/06/10 at 15:41:07 »
Reply with quote Modify message

When a customer buys a tee shirt from my PS, when they get to my shopping cart, a coupon appears announcing 40% off a mug if they buy one in addition to the tee. When you put the coupon code in the promo code box while checking out (I logged out to see this in action), a little disclaimer window pops up saying, "Oh, you have to buy all this in the MP to get the discount." So CP is attempting to steal customers right out of our shopping carts.

Now, the customer won't necessarily know what the Marketplace is or how to get there from where they are. Almost certainly won't know how to start over and get the same stuff they just put in the cart. But they will surely be confused when they don't get the discount and blame the SK. Nice.

Someone at Podforyou forum offered this code for either the css file in cpshop or the HEAD file at CP:

#offer {
height:0px;
visibility:hidden;
display:none;
}

The code is not working right for me. I've tried it both places (one at a time, then both together).

If I have more than one tee in the cart, no ad. If I delete everything except one tee, or start with an empty cart and add one tee, I get the ad.

If anyone can think of anything to help, I'd appreciate it. Figuring out code is beyond me.

Thanks so much!
Logged

www.Babies-Rule.com
www.TShirtcrusade.com
www.LibertyBuys.com
www.12StepTees.com
hazeleyes7
Gold Dragon
****

Gender: female
Posts: 212



Labs Rock!
   

WWW E-Mail
Re: CP MP ad appearing Shopping Cart
« Reply #1 on: 10/06/10 at 15:48:57 »
Reply with quote Modify message

Thanks so much for sharing the CSS. It was driving me crazy and killing my templates. I wish CP would stop messing with such embeds.
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: CP MP ad appearing Shopping Cart
« Reply #2 on: 10/06/10 at 15:50:13 »
Reply with quote Modify message

I haven't been able to see this in my shops, but no CSS change in CPShop would be likely to work:  the shopping cart comes straight from CP.

It probably should work in the HEAD of a premium shop, though, and if you're using that premium shop as your "dummy store id" then I'd think it would work in the CPShop too.

You could try this in the Premium shop's HEAD:


Code:
#offer {
display:none !important;
}
Logged
hazeleyes7
Gold Dragon
****

Gender: female
Posts: 212



Labs Rock!
   

WWW E-Mail
Re: CP MP ad appearing Shopping Cart
« Reply #3 on: 10/06/10 at 16:00:22 »
Reply with quote Modify message

You want to add it to your external CSS file or inline in your cptemplate file.
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: CP MP ad appearing Shopping Cart
« Reply #4 on: 10/06/10 at 16:03:14 »
Reply with quote Modify message

It shouldn't have any effect in the CPShop template.
Logged
hazeleyes7
Gold Dragon
****

Gender: female
Posts: 212



Labs Rock!
   

WWW E-Mail
Re: CP MP ad appearing Shopping Cart
« Reply #5 on: 10/06/10 at 16:07:06 »
Reply with quote Modify message

Dunno but I can tell you it works as my cptemplate is pulling the CSS from an external file. It works... can't explain it.  
Logged

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

Gender: female
Posts: 171




   

WWW
Re: CP MP ad appearing Shopping Cart
« Reply #6 on: 10/06/10 at 18:24:33 »
Reply with quote Modify message

Neither thing worked. I have Bradley's code in my HEAD file at CP and in my cptemplate file just before the body tag... still got the ad.

My keep shopping buttons work, though, so I'm going to cling to that happiness!
Logged

www.Babies-Rule.com
www.TShirtcrusade.com
www.LibertyBuys.com
www.12StepTees.com
Bradley W. Schenck
Gold Dragon
****

Posts: 242



Go Scots!
   

WWW
Re: CP MP ad appearing Shopping Cart
« Reply #7 on: 10/06/10 at 19:35:18 »
Reply with quote Modify message

If you put it into the HEAD it should be placed inside CSS tags, like this:


Code:
<style type="text/css">
#offer {
display:none !important;
}
</style>


But like I said, I haven't tried it.  I haven't seen this behavior in my carts.
Logged
Sally
Gold Dragon
****

Gender: female
Posts: 171




   

WWW
Re: CP MP ad appearing Shopping Cart
« Reply #8 on: 10/06/10 at 20:41:32 »
Reply with quote Modify message

I finally did that. In two of my shops, the style tags are in the Header section, not the HEAD section, which confused me (doesn't take much), but I found them. Put the code in and it works perfectly now!

Thank you!
Logged

www.Babies-Rule.com
www.TShirtcrusade.com
www.LibertyBuys.com
www.12StepTees.com
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.