user1550 من مجهول عضو منذ ديسمبر -0001 user1550 2 مايو 2015 21:43 Hi, First of all, let me take this opportunity to congratulate litecart on a fabulous product. It really does look the business! Now, I have run into a couple of problems that I am hoping you can be of help with. Before posting I have searched the forums to see if I could find solutions to my litecart-problems, which I am sure are just down to misconfiguration and oversights. The first problem I have is the following: I am setting up a store that will have Swedish and Danish customers primarily. The store currency, langauge, and location is set to Sweden. All good, no problem there. As long as I have my location set to Sweden, language to Swedish, and currency to SEK all functions as expected. But when I switch to Danish language, location, and DKK something goes wrong. On the product page, the converted prices are correct, and the VAT is correctly displayed. However, when the item is added to the cart, the price is wrong. It does not appear that VAT simply hasn't been added or something other mundane. I am scratching my head a bit as for what could be the cause of the issue. I have all countries set up with their own Geo Zone. What baffles me a bit, is that all aspects of litecart seem to recognize the configurations for DKK etc including the correct 25% VAT rate - that is all except the cart itself which changes the amounts. I have attached some screen shots that I have compiled into a PDF. Hopefully that makes things a little clearer. The other problem that I have is that I have installed the pickup shipping module. I have configured it to ignore Geozones. When I have my location set to Sweden, the shipping option appears in the shipping block on the cart page as expected. When I change my location to Denmark, the option goes away which seems a little odd since the geozone has been overridden/disabled for the module. Once again, Litecart looks like a phenomenal product and any help ironing out the last few quirks is very much appreciated. All the very best, Joe litecart copy.pdf
tim Founder من Sweden عضو منذ مايو 2013 tim 2 مايو 2015 22:08 Thank you for those kind words. I've been goin through your screen prints attached and something is not right I agree. Is it possible you delegate FTP and admin access so we can debug this installation on site? You can use the form at: http://www.litecart.net/support
user1550 من مجهول عضو منذ ديسمبر -0001 user1550 2 مايو 2015 22:16 Many thanks for the swift response. Info sent as requested.
litecart Main Crew من Sweden عضو منذ فبراير 2013 litecart 3 مايو 2015 02:10 Found a bug where round amounts is enabled in settings. Foreign amounts was rounded the opposite of what they should. LiteCart 1.3 is not affected, only 1.2.2.1. Thank you for reporting this. Here is a solution for everyone affected by this bug. In includes/library/lib_currency.inc.php On line 177, find $value = self::convert($value, settings::get('store_currency_code'), $currency_code); $value = round($value, self::$currencies[$currency_code]['decimals']); $value = self::convert($value, settings::get('store_currency_code'), $currency_code); Replace with $value = self::convert($value, settings::get('store_currency_code'), $currency_code); $value = round($value, self::$currencies[$currency_code]['decimals']); $value = self::convert($value, $currency_code, settings::get('store_currency_code'));
user1550 من مجهول عضو منذ ديسمبر -0001 user1550 3 مايو 2015 02:16 Great stuff! That works perfectly. Many, many thanks :)