How do you remove estimated shipping and taxes from the cart page? I tried looking at Extensions > Extensions > Order totals but removing taxes also removes it from the cart price table, that's not what I want. What piece of code can I comment out using <!-- this --> ?
With HTML5, using <!-- and --> are not suggested. Rather, edit your catalog/view/theme/<your_theme>/template/checkout/cart.twig file or do it by CSS. Then, follow this FAQ: viewtopic.php?f=134&t=215776#p718325
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
If I correctly understand question, I don't think so...straightlight wrote: ↑Sat Feb 22, 2020 3:58 amWith HTML5, using <!-- and --> are not suggested. Rather, edit your catalog/view/theme/<your_theme>/template/checkout/cart.twig file or do it by CSS. Then, follow this FAQ: viewtopic.php?f=134&t=215776#p718325
If you need remove it from mini cart or cart. You should edit for minicart this file catalog/controller/common/cart.php
In mentioned file find:
Code: Select all
$data['totals'][] = array(
'title' => $total['title'],
'text' => $this->currency->format($total['value'], $this->session->data['currency']),
);
Code: Select all
if ($total['code'] == 'total') {
$data['totals'][] = array(
'title' => $total['title'],
'text' => $this->currency->format($total['value'], $this->session->data['currency']),
);
}
The same in catalog/controller/checkout/cart.php file...
Of course the best way to use OCMOD for that modifications.
Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here
Actually when you view the cart (not mini cart) you can enter a coupon and voucher code, and between those two there is a collapsible panel to calculate taxes and shipping (default OC theme, version 3.0.3.2). I want this specific part to be removed but not remove the taxes at order total.
Really? Got a link about this?
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Guru Member
So can we mark [SOLVED]?
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Guru Member
Already did since the OP did mentioned this is the solution he was looking for.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Great!straightlight wrote: ↑Mon Feb 24, 2020 7:32 pmAlready did since the OP did mentioned this is the solution he was looking for.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Guru Member