Jump to content

Embedding Products In Code

Recommended Posts

Posted

I created a t chart using a HTML code converter and generator. No I want to link my products into the t chart. I created all my products on Squarespace, but now I cannot figure out how to link the products in my t chart. I am a rookie when it comes to coding and such so I need an easy way to link my products in my coded t chart. I tried pulling the link from the products on the site and linking it on the HTML converter, but the link just takes you to the home page of my site instead of the specific product. Please let me know what the best way is to do this!! 

  • Replies 4
  • Views 516
  • Created
  • Last Reply
Posted

Without being able to see the HTML code you have generated it is going to be hard to help.

You can get the URL for each product from the product editor.

New editor. SEO and URL.

1777037392_ScreenShot2021-08-10at2_28_33PM.png.9fa20bffa495e97a64517deda0d04616.png

If you copy and paste from here you need to fix  up the URL so there are no spaces and it's all in one line.

Classic Editor.

1181501123_ScreenShot2021-08-10at2_21_14PM.thumb.png.e35166c3685ef340aa4e03b148b8c3eb.png

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.

Posted

Does this make things easier to help? Because I did try to do it the way you told me to and still that did not work. This is the code that the site generated for me

Screen Shot 2021-08-10 at 3.40.43 PM.png

Posted

I can see part of the problem. You are using the internal backend editing URLs for your products. Those won't work for the outside world.

For testing you could go to your shop page., the product grid and right click on the products there and copy the URLs.

1291394867_ScreenShot2021-08-10at6_31_09PM.png.0a55cfc2fa1c288521231924cadf9a05.png

 

Let us know how it goes.

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.