The Add To Cart widget includes the Modal Cart, but adds the ability to add items to your cart using the product SKU from Vin65.
Download All Sample Files (Includes sample CSS)
To get remote tools working, follow the steps below. If you already are using remote tools for another widget, skip to the next set of instructions.
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<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>
<div v65remotejs="modalCart"></div>
<form method="post" action="https://generic.vin65.com/index.cfm?method=cart.addToCart" v65remotejs="addToCart"> <fieldset> <legend>Add To Cart</legend> <input type="hidden" name="productSKU" value="2004CabSauv"> <input type="text" name="Quantity" value="1" /> <button type="submit" value="submit">Add To Cart</button> </fieldset> </form>
<form method="post" action="https://generic.vin65.com/index.cfm?method=cartV2.addToCart" v65remotejs="addToCart"> ... </form>