mlattke is this what you replaced:
CartBox.prototype.initAffix = function () {
var $affixEl = this.$el.closest(‘.affix-cart’),
offsetTop = $(‘.navbar-top’).height(),
offsetBottom = $(‘footer.footer’).outerHeight(true),
cartWidth = $affixEl.parent().width()
$affixEl.affix({
offset: {top: offsetTop, bottom: offsetBottom}
})
$affixEl.on('affixed.bs.affix', function () {
$affixEl.css('width', cartWidth)
})
}