-= content single =-

Sub Total does not remember position (sort order)

Missing prefix for ‘sub_total_sort_order’. It must be ‘total_sub_total_sort_order’… One of the “f-greatest feature” added to OpenCart 3 to keep developers busy…

<file name="admin/controller/extension/total/sub_total.php">
<operation>
<search position="replace">
<![CDATA[
'sub_total_sort_order'
]]></search>
<add>
<![CDATA[
'total_sub_total_sort_order'
]]>
</add>
</operation>
</file>

<file name="admin/view/template/extension/total/sub_total.twig">
<operation>
<search position="replace">
<![CDATA[
name="sub_total_sort_order"
]]></search>
<add>
<![CDATA[
name="total_sub_total_sort_order"
]]>
</add>
</operation>
<operation>
<search position="replace">
<![CDATA[
value="{{ sub_total_sort_order }}"
]]></search>
<add>
<![CDATA[
value="{{ total_sub_total_sort_order }}"
]]>
</add>
</operation>
</file>

Leave a Reply

Your email address will not be published. Required fields are marked *

Yandex.Metrica