Using gem solidus 3.1.8
I would like to modify the CART button on the main_nav_bar to not include money and just show the qty.
` Spree.fetch_cart('<%= j spree.cart_link_path %>')`
`Spree.fetch_cart = function(cartLinkUrl) {
Spree.ajax({
url: cartLinkUrl || Spree.pathFor("cart_link"),
success: function(data) {
$("#link-to-cart").html(data);
}
});
};`
In this bit of code data is returning the html code like:
`<a class="cart-info full" href="/cart">Cart: (1) <span class='amount'><span class="money-currency-symbol">$</span><span class="money-whole">925</span><span class="money-decimal-mark">.</span><span class="money-decimal">15</span></span></a>`
I don't seem to be able to track down where data is getting generated from to do an override.