johannesw Posted February 22, 2014 Share Posted February 22, 2014 Hi, Im having trouble with some of my products when I'm trying to reduce the price on them. The problem is that I'm setting a reduction at let's say 10sek from the original 100sek. The product is jumping into the drop-prices.php but there is nothing about that the price is reduced. You have to put it in the basket to see the actual price, and the basket is showing 90sek in this case. The problem only appear on some products, not all of them. On most of them it is working normally. Does anyone know what could possible be wrong? If the customer doesn't see the new lower price they will probably not ad it to the basket and so on.. All the products that dont have the red overlined price is affected on this page: http://www.manjana.se/outlet Im running version 1.4.8.2 One thing to try if it is a bug is to upgrade to 1.4.11 or what the latest version is but Ive made a lot of changes to the core files so upgrading is quite messy to me :/ Link to comment Share on other sites More sharing options...
johannesw Posted March 3, 2014 Author Share Posted March 3, 2014 No one have seen this problem? Link to comment Share on other sites More sharing options...
El Patron Posted March 3, 2014 Share Posted March 3, 2014 when you see this issue, it's typically due to cache... so when you see this, clear smarty cache (search forum on how to do so for your version)...(note you can also turn off smarty cache to test rather than clear) and see if that resolves the issue, then you will have narrowed this down hopefully Link to comment Share on other sites More sharing options...
johannesw Posted March 3, 2014 Author Share Posted March 3, 2014 Thanks for the replay! I am doing the "normal" smarty cache clear every time I change some files so if that would be the problem I would properly have found out, did try it again but no changes =( I also cleared the cache manually by erasing all files in /compile and /cache under the smarty folder. No change =( And as i said, the problem only appear to certain products, not all... if smarty would be the problem wouldn't it affect all products I am reducing the price on then? Link to comment Share on other sites More sharing options...
khodari Posted March 4, 2014 Share Posted March 4, 2014 Hi: I am trying to give a discount on quantities 3 and over. I do this from the product menu under price. However, when on the product page, I get this: 3 quantities CAD$NaN.00 I tried to change from % discount to amount discount with the same result. You can see an example here https://geniebox.ca/shop/en/tv-box/8-mk839-tv-box.html Help please. Link to comment Share on other sites More sharing options...
musicmaster Posted March 4, 2014 Share Posted March 4, 2014 NaN stands for "not-a-number" in PHP. So maybe you added some number to a text or so. If you would show the relevant code in your template it would be easier to say more. Link to comment Share on other sites More sharing options...
khodari Posted March 5, 2014 Share Posted March 5, 2014 I am not using any special templates. I am using the latest edition of Prestashop 1.5.6.2. Obviously there is something wrong with the programming. I tried different variations with same result. For example entering 15.00 instead of 15 as discount, used percent instead of amount. No use. Link to comment Share on other sites More sharing options...
musicmaster Posted March 5, 2014 Share Posted March 5, 2014 If you look at the source code of that NaN string you will see that it is in a class called "mnoz_sleva". As this is not part of the standard Prestashop install it must come from either your theme or one of your modules. Link to comment Share on other sites More sharing options...
khodari Posted March 5, 2014 Share Posted March 5, 2014 Hmmm. I only briefly changed the theme to Corp Pro then back to default. I am also using the Avalara tax module. However I have no clue what the mnoz_selva class is!! What can be done to correct that? Or is there another way (may be through price rules ---> catalog price rules) to do the same thing (give discount on amounts 3 or more) without this ugly result? Sorry, but I am a newbie here. Thanks in advance. Link to comment Share on other sites More sharing options...
musicmaster Posted March 5, 2014 Share Posted March 5, 2014 I suggest you do a text search in all your code for the term mnoz_selva to find out where it comes from. For that your will probably need to copy the site to your local computer if you haven't it there yet. Link to comment Share on other sites More sharing options...
Recommended Posts