Custom text box for galleries with shopping cart enabled

zubenelgenubizubenelgenubi Registered Users Posts: 67 Big grins
edited June 5, 2014 in SmugMug Customization
I have just upgraded to a smugmug pro account and I have a question regarding the shopping cart function.

I only intend to enable the shopping cart on selected galleries. Is there any way to add a custom message to the top of the galleries for which the shopping cart is enabled? I'm thinking of a message to tell my viewers that if they order merchandise using the shopping cart they will help support my photography via a small commission paid to me. Of course, I do not want this message to appear at the top of galleries in which the shopping cart is disabled. Is there any way (perhaps through CSS) that this selective functionality could be implemented?

Any advice appreciated.

Thanks,

- Mark

Comments

  • AllenAllen Registered Users Posts: 10,013 Major grins
    edited June 4, 2014
    I have just upgraded to a smugmug pro account and I have a question regarding the shopping cart function.

    I only intend to enable the shopping cart on selected galleries. Is there any way to add a custom message to the top of the galleries for which the shopping cart is enabled? I'm thinking of a message to tell my viewers that if they order merchandise using the shopping cart they will help support my photography via a small commission paid to me. Of course, I do not want this message to appear at the top of galleries in which the shopping cart is disabled. Is there any way (perhaps through CSS) that this selective functionality could be implemented?

    Any advice appreciated.

    Thanks,

    - Mark
    In the gallery customize content flyout slide a text or html box to just under the breadcrumb.

    But first click "make this gallery custom" so what you add is only on this gallery and not all galleries.
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • zubenelgenubizubenelgenubi Registered Users Posts: 67 Big grins
    edited June 4, 2014
    Allen wrote: »
    In the gallery customize content flyout slide a text or html box to just under the breadcrumb.

    But first click "make this gallery custom" so what you add is only on this gallery and not all galleries.

    Allen,

    Thanks for this. It would work, but I'd have to set it up manually each time. It may well be what I end up having to do. But what I was really hoping for was a snippet of html or CSS that would automatically add the text to any gallery that has the shopping cart enabled.

    - Mark
  • pilotdavepilotdave Registered Users Posts: 785 Major grins
    edited June 4, 2014
    Allen,

    Thanks for this. It would work, but I'd have to set it up manually each time. It may well be what I end up having to do. But what I was really hoping for was a snippet of html or CSS that would automatically add the text to any gallery that has the shopping cart enabled.

    - Mark

    Ok this isn't complete css ready to use, but you might be able to use something like this as a starting point:

    .sm-gallery-buymenu:before {
    content:"Your text here.";
    position:relative;
    left:-300px;
    }

    This kind of works for me in a smugmug style gallery but no guarantees.

    Dave
  • zubenelgenubizubenelgenubi Registered Users Posts: 67 Big grins
    edited June 5, 2014
    Thanks Dave. I was able to get this to display a message, but the layout didn't look good and I couldn't figure out how to tweak it. For now I've just added a static text box that says "if you see the buy button then...."
Sign In or Register to comment.