Jump to content

How can I have a price clearly display that it applies to each item if I have identical items?

Recommended Posts

Hi everyone! I'm trying to figure out if there's a way, either through adding in code or through a feature I can't seem to find, to have a price display that it applies to each product. Sometimes we have two of the exact same item but, since they're vintage, we want to show both of them in the product listing. The quantity is updated so folks can buy both and we include copy in the description that they're priced individually (I attached a photo of an example we currently have listed). However, I'd love to have the option to make it more clear by having the price say, for example, $1100 ea. instead of just $1100 when we have a situation like this. Would that be possible? Thanks so much for any help you can provide!

 

Screen Shot 2022-11-04 at 2.02.04 PM.png

Link to comment

Can you share the website URL, page, and password (if applicable)? Thanks!

This Custom CSS will add .ea after the price on every product:

.product-price::after {
  content:'ea.';
}

If you want to target just some items you'll need to identify the product ID, use this guide:

https://squarefortytwo.com/squarespace-guides/find-an-id-in-squarespace-71

and then you should be able to have code that looks like this:

#item-6360381ff4b61f0f952c807c, #item-6360381ff4b61f0f952c426b {
 .product-price::after {
   content:'ea.';
 }
}

There are two product IDs separated by a comma, you can add as many as you need.

Hope that helps!

Please like and upvote if my comments were useful to you. Thanks!

Zygmunt Spray
Squarespace Website Designer
Contact me: https://squarefortytwo.com/ 
🔌Ghost Squarespace Plugins (Referral link)
Buy me a coffee

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.