Post by Axel Wers » Sun Apr 22, 2018 6:03 pm

Why OC3 shows only two decimals in admin price? I need to see four, like in older versions. What have to I change for this? Thanks.

OC 2.3.0.2


New member

Posts

Joined
Fri Aug 22, 2014 3:59 pm

Post by Axel Wers » Mon Apr 23, 2018 7:11 pm

Nobody knows? I need this soon. It's weird, in database is everywhere `price` decimal(15,4) NOT NULL DEFAULT '0.0000', so why in product list I see only 0.00?

OC 2.3.0.2


New member

Posts

Joined
Fri Aug 22, 2014 3:59 pm

Post by ostechnologies » Thu Apr 26, 2018 2:21 pm

Yes, You can achieve this by modifying controller under admin > catalog > product in getList function replace $this->currency->format($result['price'], $this->config->get('config_currency')) with $result['price'] and you will get desire result.

Opencart Expert | sales[at]ost.agency
Skype - manish.osuniverse | Gtalk - manishmt

Extensions for Opencart @ https://www.ost.agency/product/product- ... extensions
ost.agency - ecommerce website design, development and digital company


User avatar
Active Member

Posts

Joined
Mon Apr 06, 2015 1:30 pm
Who is online

Users browsing this forum: ravikumar22, Semrush [Bot] and 90 guests