Tell me more ×
SmugMug Stack Exchange is a question and answer site for SmugMug developers and end users. It's 100% free, no registration required.

I can remove the "Buy" button from my galleries but when a user searches for a keyword the search results page shows the "Buy" button (even for pictures in galleries where the button is turned off)

How do I remove the "Buy" button from the search results page?

share|improve this question

2 Answers

Do you refer to keyword galleries? Keyword galleries can contain photos from lots of different galleries of which there may be a gallery that offers buy options. It's currently not possible to just have the buy button show if any of the photos is available for sale. To hide the buy button from all your keyword galleries, you can add this code to the advanced customizer > css box:

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

(source)

share|improve this answer

add #cartButtonsWrapper {display: none;} to your Advanced Customizer -> CSS box to remove this site wide

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.