Pop-up windows in cart

User 2137031 Photo


Registered User
37 posts

I like to offer a lot of additional information in my shopping carts. This includes standard pop up window with mounting information for my birdhouses also a "view larger image" link. These all involve using javascript to open the pop up window containing the info.

Can I add these to my detail pages in SCC Pro? If so, what would I reference to get this information on how to do it?

Thanks.
User 103173 Photo


VP of Software Development
0 posts

Colorbox is actually built into SCC Pro. Use the HTML Tool and enter this code:

<a href="/images/size-mens-tshirts.png" class="colorbox">sizing chart</a>

You can see this in action here at http://swag.coffeecup.com/viewitem.php?productid=63
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 2137031 Photo


Registered User
37 posts

After I posted this, I realized that I probably should elaborate on this a little. What I need to do is put a javascript routine in the header of the page, and then insert the javascript code in the body of the detail. I have managed to do the later, but how do i put the javascript routine in the head of the page?
User 103173 Photo


VP of Software Development
0 posts

Mark Roberts wrote:
After I posted this, I realized that I probably should elaborate on this a little. What I need to do is put a javascript routine in the header of the page, and then insert the javascript code in the body of the detail. I have managed to do the later, but how do i put the javascript routine in the head of the page?

Right now there is no way to do that without manually editing the PHP scripts on the server.
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 2137031 Photo


Registered User
37 posts

Is there any way at all to offer a "view larger image" option from the detail page?
User 103173 Photo


VP of Software Development
0 posts

Mark Roberts wrote:
Is there any way at all to offer a "view larger image" option from the detail page?

What exactly do you want to do Mark? You can already add 5 images to each product and when you click on the image, it will load it in a pop-up.
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 2137031 Photo


Registered User
37 posts

I guess the best way to explain this is to send you to one of my existing pages at:

http://birdhousesbymark.com/unique_birdhouses.shtml

And click on the "view larger image" link below one of the pictures. this will display a image approx 410 x 410 pixels. This allow the shopper to get more detail of the product.
User 2137031 Photo


Registered User
37 posts

Ok, Scott. Just script everything I just said. The shopping cart does do what I need for it to do. I just didn't take it far enough and was trying to make it much harder that it was. My bad. Thanks for your patience.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.