Jump to content

Add Text Above "Add To Cart" Button On Store + Category Pages

Go to solution Solved by Web_Solutions,

Recommended Posts

I work with older customers who aren't as tech savvy, and may not realize they need to click on photos in my store page to see full product details. Is there a way to add text above the "Add To Cart Button" that says "Click For Product Details" or something similar? Open to alternative ideas. 

 

Screen Shot 2023-10-12 at 12.53.58 AM.png

Link to comment
30 minutes ago, pasWI said:

I work with older customers who aren't as tech savvy, and may not realize they need to click on photos in my store page to see full product details. Is there a way to add text above the "Add To Cart Button" that says "Click For Product Details" or something similar? Open to alternative ideas. 

 

Screen Shot 2023-10-12 at 12.53.58 AM.png

 

Add these code on Custom CSS panel in Website Utilities Website Tools > Custom CSS.

.products {
  .grid-item-link {
    position: relative !important;
    text-align: center;
  }
  .grid-item-link:after {
    content: "Click For Product Details";
    display: block;
  }
}

 

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Link to comment
11 hours ago, Web_Solutions said:

 

Add these code on Custom CSS panel in Website Utilities Website Tools > Custom CSS.

.products {
  .grid-item-link {
    position: relative !important;
    text-align: center;
  }
  .grid-item-link:after {
    content: "Click For Product Details";
    display: block;
  }
}

 

Thanks @Web_Solutions, this worked well! I made a few small changes (to decrease font size, bold and change padding). 

ScreenShot2023-10-12at1_23_53PM.thumb.png.ee7a530ae3b2cb3ca39f727a01fdad65.png
Additional Question:

Can I remove this option from "You Might Also Like" (and if you know how to do it - I'm hoping I can get those pictures to be square, so they aren't cropped?):


Here are the login details, if you need them!

https://www.crescentmoonacres.com/
Help!Code930

Link to comment
22 minutes ago, pasWI said:

Thanks @Web_Solutions, this worked well! I made a few small changes (to decrease font size, bold and change padding). 

ScreenShot2023-10-12at1_23_53PM.thumb.png.ee7a530ae3b2cb3ca39f727a01fdad65.png
Additional Question:

Can I remove this option from "You Might Also Like" (and if you know how to do it - I'm hoping I can get those pictures to be square, so they aren't cropped?):


Here are the login details, if you need them!

https://www.crescentmoonacres.com/
Help!Code930

I think you have made these

Screenshot_230.png

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Link to comment

Please post the URL for a page on your site where we can see your issue.

A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

Please set up a site-wide password, if your site is not public and you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site.

Please read the site-wide password and how to share a link documentation to understand how they work.

We can then take a look at your issue.

You may find How to post a forum question post useful.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
  • Solution
9 hours ago, pasWI said:

I'm looking at the product detail pages. If you scroll down, you will see the "You Might Also Like" section where I would like those additional changes. I don't want the "Click Photo For Product Details" to be visible there, and hoping there is a way to update the photos in that section to be square.

Example:
https://www.crescentmoonacres.com/store/p/smoked-ham

 

I have updated the code. Please replace the previous code with the code below.

.products .grid-item-link.product-lists-item {
    position: relative !important;
    text-align: center
}

.products .grid-item-link.product-lists-item:after {
    content: "Click Photo For Product Details";
    display: block;
    font-size: 15px;
    font-weight: bold;
    padding-top: 25px !important;
    padding-bottom: 4px !important
}
.ProductItem-relatedProducts .grid-item {
    padding-bottom: 45px;
}
.ProductItem-relatedProducts .grid-item .grid-item-link:after {
    content: "Click Photo For Product Details";
    bottom: 0;
    position: absolute;
    font-size: 15px;
    font-weight: bold;
    width: 100%;
    text-align: center;
}

 

Screenshot_232.png

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Link to comment
2 hours ago, pasWI said:

I switched layout for my product details page and now the "You Might Also Like" photos are cropped. I'd like them to be square. Any ideas on how to make that happen?

ScreenShot2023-10-12at9_48_05PM.thumb.png.2c04c0c0567eda04a69fa3bc6ed0d15c.png

 

 

 

 

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.