Skip to content

Instantly share code, notes, and snippets.

@MillerMedia
MillerMedia / volusion-product-page-reload-options.js
Last active May 23, 2018 19:32
Volusion - Reload selected product options when clicking back to product page from Shopping Cart
if(!VOLUSION_HELPERS){
throw new Error('Volusion Helpers functions not available. Aborting.');
}
var PRODUCT_PAGE_OPTIONS = PRODUCT_PAGE_OPTIONS || {};
PRODUCT_PAGE_OPTIONS.ajax = {
updateOptions: function( cartItemUrl ){
jQuery.get( cartItemUrl, function( data ) {
// Parse the list items