Remote Widgets
- 04 May 2023
- 1 Minute to read
- Print
- DarkLight
- PDF
Remote Widgets
- Updated on 04 May 2023
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
WineDirect Remote Widgets allow designers to pull 'live' data from a WineDirect-hosted website to a website not hosted with WineDirect. No server-side scripting is required.
A common use for small widgets is for shop-only sites. When the main content site is not hosted with WineDirect, adding remote widgets helps make the shopping experience seamless for your customers.
Due to a recent change in cookies for Safari and Chrome, wineries using Remote Widgets must update their WineDirect Remote Widget script to include the following lines:
<script type="text/javascript" src="https://assetss3.vin65.com/js/vin65remotetools.1.2.js"></script> <script type="text/javascript">vin65remote.cart.init('https://generic.vin65.com',0);</script>
When updating from vin65remotetools.1.1 to vin65remotetools.1.2, the following scripts will need to be removed :
<script type=“text/javascript”>vin65remote.cart.modalCart('https://generic.vin65.com',0);</script> <script type=“text/javascript”>vin65remote.cart.addToCart('https://generic.vin65.com');</script>
Download Sample Files (Includes sample CSS)
The widgets that are available for use are:
Was this article helpful?