Jump to content

Displaying SKU on product page

Recommended Posts

Site URL: https://turbot-accordion-apa7.squarespace.com/assortiment/p/brioche-mal-10cm-cy9sh

I would like to display the SKU of a product on that product page.

Here's an example of one of the products: Brioche Mal 10cm — TestBakery (squarespace.com) password is 12345. 

When I look at the source of the page and ctrl+f, I can find the SKU (SQ2431763) but I have no idea how to interact with that.

 

As a secondary question, would it be possible to have a generic/placeholder such as 'Shelflife1' on several product pages across the website, and to replace that with CSS to be what I actually want it to be? That way if I want to change the description of the shelf life, I'd be able to change it just once, and it'd update aross the entire site.

Link to comment
  • Replies 9
  • Views 2.2k
  • Created
  • Last Reply

Top Posters In This Topic

7 minutes ago, SKBV said:

I would like to display the SKU of a product on that product page.

The SKU is usually a back office reference that visitors do not need to see, and they are different for each variant of a product. Can you explain why you want to show them? 

 

10 minutes ago, SKBV said:

As a secondary question, would it be possible to have a generic/placeholder such as 'Shelflife1' on several product pages across the website, and to replace that with CSS to be what I actually want it to be? That way if I want to change the description of the shelf life, I'd be able to change it just once, and it'd update across the entire site.

CSS is primarily for styling, but it is possible to do this with JavaScript, if the site is on a Business or Commerce plan.

 

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.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

Link to comment
38 minutes ago, paul2009 said:

The SKU is usually a back office reference that visitors do not need to see, and they are different for each variant of a product. Can you explain why you want to show them? 

 

CSS is primarily for styling, but it is possible to do this with JavaScript, if the site is on a Business or Commerce plan.

 

The site will be on a business plan, so we will have access to that. 

We'll be using the store not as a store, but more as a way to show off our products. Ordering will be done via external platforms. The SKU will be adjusted to match our internal product codes. If we can display those, it means the customer knows which number to use when ordering.

Link to comment
  • 1 year later...
  • 3 months later...

Can you help me to understand why it would be helpful to display the SKU on the Product Detail Page (PDP)?

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.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

Link to comment
  • 1 year later...
16 minutes ago, nicky999doors said:

It's helpful for people running wholesale sites through Squarespace as well as for consumers to be able to locate a certain product in stock and communicate the exact number. Are you able to provide a solution?

I have some code that is close to what you describe. Please see the following.

You may want to read the follow on posts to go deeper.

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

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.