This helped me;$(document).ready(function() { $('input[name="attributes[your_attribute]"]').change(function() { var newValue = $(this).is(':checked') ? 'Yes' : 'No';$.post('/cart/update.js', { attributes: { "your_attribute": newValue } }, function(ca...