This is a user-defined javascript function that can be called after an AJAX Add-To-Cart Request is called. The function specified here must be loaded on the page that the add to cart widget is shown. This function is only called if the 'Redirect To Checkout' box is unchecked.
This can be used to display a message the confirming the product has been added to the car and/or to fire add to cart analytics code for Google Facebook, etc.
In order for the minicart to be refreshed and have the callback function called, place a div tag around minicart plug-in instance call as shown below.
<div id="minicartblock">
{minicart}
</div>
© 2023 CORESense · info@coresense.com · 125 High Rock Avenue, Saratoga Springs, NY 12866