Post by alikhan99 » Sat Jan 20, 2018 10:52 pm

Friends i recently found a bug in OC 3.0.3 (fresh install) that weather its a category page or search result page etc. if there is no product then {{ text_empty }} is fetching date from language/checkout/cart or language file instead of language/product/ category or search etc. hence the render text is Your shopping cart is empty! instead of There is no product that matches the search criteria. OR There are no products to list in this category.
I do not understand the reason for this even when the language/checkout/cart is not even called in these pages controllers.
A temporary solution that i could think of was to add the following line of code in controller/product/category file

Code: Select all

$data['text_empty'] = $this->language->get('text_empty');
but this does not seems to be the right way to solve this.
Hope you friends can help me find a better way to solve this bug.
Thank you

New member

Posts

Joined
Fri Jun 29, 2012 4:57 pm

Post by george.ele90 » Mon Jan 29, 2018 3:49 am

i can confirm this bug in 3.0.2.

Newbie

Posts

Joined
Mon Jan 29, 2018 3:46 am
Who is online

Users browsing this forum: No registered users and 5 guests