Jump to content

Product Page Functionality

Recommended Posts

https://www.theenergystore.ie/ups-store/p/rt-series-5-10kva-standard-model-single-phase-online-ups

PW: Energy2023

My product page isn't behaving as it should - I've used css to move the price down to sit beside the Add To Cart button, and to set the variables to default on the first option. 

I have 2 issues:

1. The quantity change isn't being reflected in the price shown (only in cart) 

2. The Product Add On's are appearing above the product description. I'd like these to sit below the Add to Cart Button and reflect the price change if selected - currently they aren't doing this. 

Thanks in advance! 

 

Link to comment
  • Replies 3
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

The following css will shift the addons below add to cart. 

.pdp-product-add-ons {
  order: 4 !important;
}

Choosing an add on doesn't update the displayed price because:

  • The displayed price is a unit price for the item with selected variants. Changing a variant updates the unit price. 
  • Add ons are standalone products, rather than being bundled with the main product.  
Edited by colin.irwin

I'm Colin Irwin aka silvabokis.  I've been a Squarespace designer & developer since 2013. 
I remember when it was all wild prairies round these here parts. 🐃🤠
Advice I give on here is free, though I may sometimes post an affiliate link or promote something I've written.
That reminds me.. ..you might want to check out my
Squarespace template finder or have a look at my other Squarespace tips
Speaking of tips, 💲I've got a tip jar that you're welcome to throw a few quid into if you think I've helped you. 
If you're looking for a Squarespace developer 
Book a chat or Drop me a line - first meeting is always free  

 

Link to comment
26 minutes ago, DreamrW said:

I have 2 issues:

1. The quantity change isn't being reflected in the price shown (only in cart) 

2. The Product Add On's are appearing above the product description.

1. The price shown is the unit price. This isn't supposed to change when the quantity increases. As you say, the total cost will appear on the cart page.

2. You've added Custom CSS and specified the order for each item, except the add-on-details. You'll need to add Custom CSS to specify the order of this too, otherwise it will default to appearing above the items where you've specified it.

.collection-type-products .ProductItem-details .pdp-product-add-ons {
  order: 4;
}

Did this help? Please give feedback by clicking an icon below  ⬇️

Edited by paul2009

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

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.