What is your OpenCart version?
take a look at order totals modules in admin panel / extensions / extensions / order totals
https://odjazdowenaklejki.pl
My version is: 2.2.0.0
You can try to add to the top of your cart file
catalog/view/theme/default/template/checkout/cart.tpl
<style>
.col-sm-4.col-sm-offset-8 > table > tbody > tr {
display: none;
}
.col-sm-4.col-sm-offset-8 > table > tbody > tr:last-child {
display: table-row !important;
}
</style>
Attachments
Screen-Shot-2019-09-03.jpg (20.06 KiB) Viewed 1257 times
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
https://em-fashion.com.pl
Contact your theme developer
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
You can add the class to the page itself by using the original opencart file.
Or comment it out using <!-- code you are hiding -->
I will do this for you, but as commercial support since I am editing a commercial file.
You can PM me if you are interested.
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
In catalog/view/theme/you_theme/template/checkout/cart.tpl change this code:
Code: Select all
<table class="table table-bordered">
<?php foreach ($totals as $total) { ?>
<tr>
<td class="text-right"><strong><?php echo $total['title']; ?>:</strong></td>
<td class="text-right"><?php echo $total['text']; ?></td>
</tr>
<?php } ?>
Code: Select all
<table class="table table-bordered">
<?php foreach ($totals as $total) { ?>
<?php if ($total['code'] != 'sub_total' && $total['code'] != 'tax') { ?>
<tr>
<td class="text-right"><strong><?php echo $total['title']; ?>:</strong></td>
<td class="text-right"><?php echo $total['text']; ?></td>
</tr>
<?php } ?>
<?php } ?>
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
If you buy me a beer I will fix for you. PM me if you are interested.
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Users browsing this forum: No registered users and 200 guests