hoesman LiteCart Fan Od Croatia Użytkownik od cze 2024 hoesman 26 wrz 2024 19:09 For some reason I get the item repeated twice in two languages when viewing a cart, while in active carts it shows correctly. Also the styling for dark theme when viewing cart isnt correct, great starting point otherwise!
hassan LiteCart Fan Od Morocco Użytkownik od maj 2024 hassan 26 wrz 2024 21:10 Download the latest version of CustomersActiveCarts, clear the cache related to the dark theme (it’s your own setting)... Thank you for choosing our plugin!
hoesman LiteCart Fan Od Croatia Użytkownik od cze 2024 hoesman 26 wrz 2024 21:32 Unfortunately both problems still present.. Ill try to fix it and post if I succeed
hoesman LiteCart Fan Od Croatia Użytkownik od cze 2024 hoesman 27 wrz 2024 12:48 I fixed the problems, in view_cart.php I changed the query: LEFT JOIN ". DB_TABLE_PREFIX ."products_info product ON product.product_id = cart.product_id with LEFT JOIN ". DB_TABLE_PREFIX ."products_info product ON (product.product_id = cart.product_id AND product.language_code = '". database::input(language::$selected['code']) ."') and added to the end GROUP BY cart.product_id``` for styling I added to the end of [url=https://github.com/litecart/litecart/blob/dev/public_html/includes/templates/default.admin/css/app.min.css]https://github.com/litecart/litecart/blob/dev/public_html/includes/templates/default.admin/css/app.min.css[/url] ```html.dark-mode .list-group .list-group-item { background-color: #222a3d; }``` Also not related to the addon but default LC is missing !important to ```html.dark-mode .featherlight-content { background:#283144 }``` Otherwise its like this
hassan LiteCart Fan Od Morocco Użytkownik od maj 2024 hassan 28 wrz 2024 01:26 Merci pour votre attention et votre aide, mais je pense que votre code masquera les produits avec des variantes, ainsi que d'autres qui ne sont pas dans la langue sélectionnée