Skip to content

flannelware/torch-cellars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Torch Cellars

We created a very nice looking website for Torch Cellars that serves as their business card, their wine portfolio, and their eCommerce website hosted on SquareSpace.com for the frontend and VinoShippers.com for eCommerce. While this was a quick project, we ran into some interesting problems getting SquareSpace and VinoShippers to play nicely together. Below, we will document some of the snags we hit and how we overcame them.

VinoShippers Documentation

Vinoshippers have some very decent documentation regarding how best to implement the cart and checkout logic on multiple platforms including SquareSpace.com. See here.

Overriding VinoShippers Styling

Code Injection in SquareSpace

  • Go to Settings > Advanced > Code Injection
  • From here you can add your styling overrides. For us, they looked like the following.SquareSpace Code Injection
  • In the Header section we used the following.
<style>
#vs-winelist > div,
#vs-wineclub-signup > div {
	min-height: 1000px !important;
}

#vs-winelist > div:not(:first-child),
#vs-wineclub-signup > div:not(:first-child) {
	display: none !important;
}
</style>
  • In the Footer section we used the following.
<!-- VinoShipper Wine List Integration -->
<script type="text/javascript">
var vsDisableResize = false;
var vsCssUrl = "<link to your css file>";
var vsWineryId = <VinoShipper winery id>;
</script>
<script src="https://vinoshipper.com/iframe/v3/injector.js"></script>

Hosting Our Own Styles

We leveraged Cloudinary to host our CSS override file for VinoShippers, but we have plans to migrate to an S3 bucket. Our override file looks like this.

Future Plans

At some point, I'd like to document all of VinoShipper's endpoints in Postman and begin to write an Angular 9 component to make this process easier for companies that want more customization to their integration.

Postman Collection for VinoShippers

In Progress!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages