PDA

View Full Version : Cart Buttons in /popular gallery


Andy
Apr-06-2006, 05:49 AM
If you have popular photos, they show up in a gallery on your site like this:

http://nickname.smugmug.com/popular or
http://yourcustomdomain.com/popular

You'll notice that the cart button(s) are visible there - EVEN IF your popular photos are not printable. Reason - you may have some popular photos that ARE printable and some that ARE NOT. Like now on my site:

www.moonriverphotography.com/popular
go ahead and click "buy multiples" and see what happens - you'll only be offered a choice of those that ARE printable. If none are printable, there's a little message that states that.

If you DO NOT want to have the buttons at all in the /popular gallery setting, and you are a Power or Pro customer, you can add this to your CSS:

/* removes the cart buttons from the Popular Gallery */
.popularGallery .cartbuttons {
display: none;
}

JosephPuchalski70
Feb-02-2008, 01:13 PM
Andy:

I was wondering if you could do this to other galleries. I created a guestbook using your example and now want to get the selling cart off the top of that page.

Thanks Much.

ivar
Feb-02-2008, 01:15 PM
Andy:

I was wondering if you could do this to other galleries. I created a guestbook using your example and now want to get the selling cart off the top of that page.

Thanks Much.Sure :thumb (and welcome to Digital Grin :wave )

But there is a much easier way. Go to 'customize gallery' and set the 'printable' option to 'no' :thumb

Allen
Feb-02-2008, 01:36 PM
You can do the same thing with keyword and date pages as the popular gallery.
Everything Andy said will apply there also.

/* removes the cart buttons from the Keyword Galleries */
.keywordPage .cartbuttons {
display: none;
}

/* removes the cart buttons from the Timeline Galleries */
.datePage .cartbuttons {
display: none;
}

or if you want to do them all

.popularGallery .cartbuttons,
.keywordPage .cartbuttons,
.datePage .cartbuttons {
display: none;
}

JosephPuchalski70
Feb-03-2008, 04:29 AM
Sure :thumb (and welcome to Digital Grin :wave )

But there is a much easier way. Go to 'customize gallery' and set the 'printable' option to 'no' :thumb

Thats great - I knew it would be something simple like that and thanks for the welcome.

waveland
Mar-05-2008, 03:21 AM
But there is a much easier way. Go to 'customize gallery' and set the 'printable' option to 'no' :thumb

I want to do the same (hide the "Buy" link in my "most popular" gallery), but there is no "customize" link for this particular gallery just "adjust: # of photos".

I'm also just a Standard user so I'm not sure if I can change the CSS.

How can I deactivate the buy option?

waveland.smugmug.com

tammyk
Sep-26-2008, 05:08 PM
I want to hide the shoppign cart and buy from all galleries. Do I copy and paste the code exactly like this? As it didn't work for me. Or do I put the /* at the beginning and end without the words "removes the cart buttons from the Popular Gallery"

/* removes the cart buttons from the Popular Gallery */
.popularGallery .cartbuttons {
display: none;
}

Andy
Sep-26-2008, 05:14 PM
I want to hide the shoppign cart and buy from all galleries. Do I copy and paste the code exactly like this? As it didn't work for me. Or do I put the /* at the beginning and end without the words "removes the cart buttons from the Popular Gallery"

/* removes the cart buttons from the Popular Gallery */
.popularGallery .cartbuttons {
display: none;
}




Link to your site?

this works:



.popularGallery .cartbuttons {display: none;}

tammyk
Sep-26-2008, 05:22 PM
Link to your site?

this works:



.popularGallery .cartbuttons {display: none;}

I just copied and pasted it in the CSS and they still show up???

www.creativeimagesbytammy.smugmug.com (http://www.creativeimagesbytammy.smugmug.com)

Andy
Sep-26-2008, 05:27 PM
I just copied and pasted it in the CSS and they still show up???

www.creativeimagesbytammy.smugmug.com (http://www.creativeimagesbytammy.smugmug.com)


http://www.creativeimagesbytammy.smugmug.com/popular/#247577281_EdAMT

no cart buttons

tammyk
Sep-26-2008, 05:31 PM
http://www.creativeimagesbytammy.smugmug.com/popular/#247577281_EdAMT

no cart buttons

I don't want it to show in ANY of my galleries! When I go to wedding galleries and click on , say Jennifer and Brandon, and all the others the cart and buy button show up.

tammyk
Sep-26-2008, 05:33 PM
I don't want it to show in ANY of my galleries! When I go to wedding galleries and click on , say Jennifer and Brandon, and all the others the cart and buy button show up.

http://creativeimagesbytammy.smugmug.com/gallery/6072511_NAVAn#380887293_xRxH6

I see buttons, do you?

They didn't used to show up but now they are.

Andy
Sep-26-2008, 05:34 PM
http://creativeimagesbytammy.smugmug.com/gallery/6072511_NAVAn#380887293_xRxH6

I see buttons, do you?

They didn't used to show up but now they are.
http://creativeimagesbytammy.smugmug.com/gallery/6072511_NAVAn#380887293_xRxH6
is *not* a popular gallery, it's a regular gallery.

To turn off the cart there, go to gallery tools,customize gallery and set printing to No.

Allen
Sep-26-2008, 05:37 PM
I don't want it to show in ANY of my galleries! When I go to wedding galleries and click on , say Jennifer and Brandon, and all the others the cart and buy button show up.
In every gallery turn printing off under customize gallery and the cart buttons
will not show. The popular, timeline and keyword galleries are the only ones
you need the CSS for.

tammyk
Sep-26-2008, 05:39 PM
In every gallery turn printing off under customize gallery and the cart buttons
will not show. The popular, timeline and keyword galleries are the only ones
you need the CSS for.

I do have printing turned OFF, never have it on! Under printing I have the no button checked.

Andy
Sep-26-2008, 05:41 PM
I do have printing turned OFF, never have it on! Under printing I have the no button checked.
tammy, log out or use visitor view :D

tammyk
Sep-26-2008, 05:45 PM
tammy, log out or use visitor view :D

whew! Ok the buttons are gone but the shopping cart icon is there? Can I make that hidden as well? And the little smugmug icon toward the top...does that have to be there/

Sorry to be a pain! :)

Andy
Sep-26-2008, 05:59 PM
whew! Ok the buttons are gone but the shopping cart icon is there? Can I make that hidden as well? And the little smugmug icon toward the top...does that have to be there/

Sorry to be a pain! :)
Yes, don't 'hide owner' i set it to no for you http://creativeimagesbytammy.smugmug.com/gallery/6072511_NAVAn#380887293_xRxH6

tammyk
Sep-26-2008, 06:25 PM
Yes, don't 'hide owner' i set it to no for you http://creativeimagesbytammy.smugmug.com/gallery/6072511_NAVAn#380887293_xRxH6

THANKS so much!

Tammy

pjspics
Jan-16-2009, 12:39 AM
THANKS so much!

Tammy

Hi,

I have tried the CSS in this thread to remove the cart buttons (Buy and View Cart)from my Keywords Gallery, but they are still there.
I get to this via a simple Search Page:
http://pjspics.smugmug.com/gallery/7107465_FrrrT
and click on Keyword Search, then select a key word and thats where the cart buttons are visible.
Is there a way of removing these from this view.

Allen
Jan-16-2009, 05:49 AM
Hi,

I have tried the CSS in this thread to remove the cart buttons (Buy and View Cart)from my Keywords Gallery, but they are still there.
I get to this via a simple Search Page:
http://pjspics.smugmug.com/gallery/7107465_FrrrT
and click on Keyword Search, then select a key word and thats where the cart buttons are visible.
Is there a way of removing these from this view.
You are missing a } here at the bottom of your CSS above your cart removal CSS.

.find #featuredBox {
display: block;
}

pjspics
Jan-16-2009, 03:21 PM
You are missing a } here at the bottom of your CSS above your cart removal CSS.

.find #featuredBox {
display: block;
}

Al,
As usual, to the rescue.
Many thanks :bow

capitoljayhawk
Jan-24-2009, 05:23 PM
How do I remove the search box and cart buttons from the homepage??

I see how I can get them off other places, but I cannot seem to figure out how to get them off that first page. They're kind of ugly next to my logo.

My site is http://spiegs.smugmug.com.

jfriend
Jan-24-2009, 09:14 PM
How do I remove the search box and cart buttons from the homepage??

I see how I can get them off other places, but I cannot seem to figure out how to get them off that first page. They're kind of ugly next to my logo.

My site is http://spiegs.smugmug.com. This was already taken care of with the mods in another thread.

BChat
Mar-21-2009, 05:45 AM
How do I make the following modifications to my popular gallery:

1. Remove the user style choice drop box
2. Remove page nav
3. Remove the slideshow button

Thanks in advance for your help!

Bertram
bchat.smugmug.com

BigRed
Nov-23-2009, 11:26 AM
How do I make the following modifications to my popular gallery:

1. Remove the user style choice drop box
2. Remove page nav
3. Remove the slideshow button

Thanks in advance for your help!

Bertram
bchat.smugmug.com

Hope it's OK to piggyback on this thread. Was there ever an answer to this question? I'd like to do the same for the Keywords gallery. The viewing style seems to default to SmugMug style (with no user choice dropdown in my case), but I'd prefer Thumbnails style to be consistent with all my regular galleries. Many thanks!

Allen
Nov-23-2009, 05:46 PM
How do I make the following modifications to my popular gallery:

1. Remove the user style choice drop box
2. Remove page nav
3. Remove the slideshow button

Thanks in advance for your help!

Bertram
bchat.smugmug.com
1. Remove the user style choice drop box
Bad idea, without the choice a visitor will be stuck in whatever style they
visited last. It's been mentioned many times in the past many times we
need some gallery settings for the keyword and popular pages.
Add to CSS

.popularGallery #viewingStylesButton {display: none;}

2. Remove page nav
Add to CSS

.popularGallery .pageNav {display: none;}

3. Remove the slideshow button
Add to CSS

.popularGallery #slideshowButton {display: none;}

BigRed
Nov-23-2009, 06:58 PM
1. Remove the user style choice drop box

Bad idea, without the choice a visitor will be stuck in whatever style they
visited last. It's been mentioned many times in the past many times we
need some gallery settings for the keyword and popular pages.

Add to CSS

.popularGallery #viewingStylesButton {display: none;}


Thanks, Al, for the guidance. Options for customizing the Keyword gallery are indeed quite baffling. Given the lack of gallery settings, I learned how to remove the cart buttons from your posting above, and I was crossing my fingers for something that would force a viewing style, and thus remove the Style button (which I agree shouldn't be done otherwise).

P.S. As it turns out, I actually don't even have a Style or Share button on my Keyword gallery, but that's another story in another thread.

jfriend
Nov-23-2009, 07:02 PM
Hope it's OK to piggyback on this thread. Was there ever an answer to this question? I'd like to do the same for the Keywords gallery. The viewing style seems to default to SmugMug style (with no user choice dropdown in my case), but I'd prefer Thumbnails style to be consistent with all my regular galleries. Many thanks! You can try customization #10 here (http://www.dgrin.com/showthread.php?t=135068) and change the view type to the ID for the thumbnails view to try forcing the popular photos view to thumbnails.

BigRed
Nov-23-2009, 07:27 PM
You can try customization #10 here (http://www.dgrin.com/showthread.php?t=135068) and change the view type to the ID for the thumbnails view to try forcing the popular photos view to thumbnails.

John -- Yay, that's exactly what I was hoping for! I knew someone else must have wanted to do this before me, but couldn't find it in the forums (guess I was too focused on the Keyword gallery to make the connection with its sister, Popular). Thank you for your assistance and exceptional documentation.

Think I'd better wait to implement the code until the SM folks hopefully figure out my button bug (other thread, thanks for your help there too!) since I do want the Share button.