Hi Nightwing,
Did you end up resolving this problem ? I am having the same issue.
If I understand this correctly there is no fix, it is required to have the SUB-TOTAL as the first of all totals in the sort order otherwise totals like COUPONS with a sort order less than SUB-TOTAL will be not be shown in the checkout and excluded from the calculations ?
I have to say that this did the trick for me. Thanks!
My model file did not have the "total_" prefix.
My model file did not have the "total_" prefix.
nightwing wrote: ↑Fri Mar 19, 2021 4:35 amHey sw!tch the below are in my files, I uninstalled the extension, cleared mod, cleared both caches and reinstalled, same effect.
sub_total.php (controller)sub_total.twigCode: Select all
if (isset($this->request->post['total_sub_total_sort_order'])) { $data['total_sub_total_sort_order'] = $this->request->post['total_sub_total_sort_order']; } else { $data['total_sub_total_sort_order'] = $this->config->get('total_sub_total_sort_order'); }
catalog > model (sub_total.php)Code: Select all
<input type="text" name="total_sub_total_sort_order" value="{{ total_sub_total_sort_order }}" placeholder="{{ entry_sort_order }}" id="input-sort-order" class="form-control" />
[/b]Code: Select all
'sort_order' => $this->config->get('total_sub_total_sort_order')
Who is online
Users browsing this forum: No registered users and 12 guests