deadlyserious Posted November 3, 2021 Share Posted November 3, 2021 Site URL: https://wolverine-sparrow-dk96.squarespace.com/ I currently have a lot of custom code written locally on my computer for my product pages on my website, which I insert under the additional product information section on each product. This works okay but is very time consuming to copy and paste to all products when I make a universal change to all the products. What I would like to do is to import this code directly to the product pages. Using Github I've committed all of these custom files to my repository, into the assets folder. My question is, how can I import these files to their respective product pages from the repository? Beyondspace 1 Link to comment
Beyondspace Posted November 9, 2021 Share Posted November 9, 2021 On 11/3/2021 at 9:42 PM, deadlyserious said: Site URL: https://wolverine-sparrow-dk96.squarespace.com/ I currently have a lot of custom code written locally on my computer for my product pages on my website, which I insert under the additional product information section on each product. This works okay but is very time consuming to copy and paste to all products when I make a universal change to all the products. What I would like to do is to import this code directly to the product pages. Using Github I've committed all of these custom files to my repository, into the assets folder. My question is, how can I import these files to their respective product pages from the repository? You can use something like a mapping using the name of the product and import the files accordingly BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace 🚀 Learn how to rank new pages on Google in 48 hours! If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment