mirelr Posted November 2, 2016 Share Posted November 2, 2016 (edited) Salut, Problema mea cu acest modul este: Cand valoarea produsului este mai mare sau egala cu 1000 lei, Imi afiseaza in pagina produsului " Prin cumpărarea acestui produs se acordă până la 1 punct de loialitate " in loc de 1000. La valori de 3 cifre afiseaza corect. Ati mai intalnit cazul acesta? Cum as putea sa rezolv problema? Multumesc Am gasit - eroarea se rezolva cu o modificare in fisierul : @ themes\default-bootstrap\js\modules\loyalty\js\loyalty.js Se inlocuieste $(document).ready(function() { $(document).on('change', '#our_price_display', function(e){ updateLoyaltyView(parseInt($('#our_price_display').text())); }) updateLoyaltyView(parseInt($('#our_price_display').text())); }); cu $(document).ready(function() { $(document).on('change', '#our_price_display', function(e){ updateLoyaltyView(parseInt($('#our_price_display').content())); }) updateLoyaltyView(parseInt($('#our_price_display').content())); }); Edited November 11, 2016 by mirelr (see edit history) 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now