kirubanidhi Posted August 16, 2017 Share Posted August 16, 2017 In my front page. There are 3 products available. The first and second product discount value is getting correctly. Third product discount value is wrong. How to resolve this problem. I attached my image url . https://ibb.co/kAr3sF Please give me any idea to resolve this problem. Link to comment Share on other sites More sharing options...
musicmaster Posted August 17, 2017 Share Posted August 17, 2017 Couldn't this just be a layout problem? That the discount price is 1000.85 and that it is overwritten by the original price? Link to comment Share on other sites More sharing options...
kirubanidhi Posted September 19, 2017 Author Share Posted September 19, 2017 The problem is having advanced voucher .js file Existing code: parseFloat(original_price.replace( /^\D+/g, '')) I changed replace function .js file . its working fine. New code: parseFloat(original_price.replace(/[^0-9.]+/g, '')); 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