megalos_2 Developer จาก Cyprus เป็นสมาชิกตั้งแต่ ต.ค. 2017 megalos_2 19 ธ.ค. 2022 21:38 ver 2.5.1 I have a problem saving the "Display Prices Including Tax" some debuging i did looks that saving the selection "Yes" or "No" works but can not show it after refresh..also cookies work fine any help here? pm: also the demo https://demo.litecart.net/ bahaves the same
tim Founder จาก Sweden เป็นสมาชิกตั้งแต่ พ.ค. 2013 tim 19 ธ.ค. 2022 23:36 Hi, the setting saves fine, but the reinserted value for the toggle was not recognized when a boolean value (true rather than 1). This fixes it: https://github.com/litecart/litecart/commit/291ef58957c9a3c3842a972bf5340dfe67568730 Thank you for reporting
megalos_2 Developer จาก Cyprus เป็นสมาชิกตั้งแต่ ต.ค. 2017 megalos_2 20 ธ.ค. 2022 10:14 thank you that line fixed the issue customer::$data['display_prices_including_tax'] = (int)$_POST['display_prices_including_tax'];