Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-sales
Test
Unit
Model
Config
_files
core_totals_config.php
Go to the documentation of this file.
1
<?php
7
return
[
8
// Totals declared in Magento_Sales
9
'subtotal'
=> [
'after'
=> [],
'before'
=> [
'grand_total'
]],
10
'shipping'
=> [
11
'after'
=> [
'subtotal'
,
'freeshipping'
,
'tax_subtotal'
],
12
'before'
=> [
'grand_total'
],
13
],
14
'grand_total'
=> [
'after'
=> [
'subtotal'
],
'before'
=> []],
15
'msrp'
=> [
'after'
=> [],
'before'
=> []],
16
// Totals declared in Magento_SalesRule
17
'freeshipping'
=> [
'after'
=> [
'subtotal'
],
'before'
=> [
'tax_subtotal'
,
'shipping'
]],
18
'discount'
=> [
'after'
=> [
'subtotal'
,
'shipping'
],
'before'
=> [
'grand_total'
]],
19
// Totals declared in Magento_Tax
20
'tax_subtotal'
=> [
'after'
=> [
'freeshipping'
],
'before'
=> [
'tax'
,
'discount'
]],
21
'tax_shipping'
=> [
'after'
=> [
'shipping'
],
'before'
=> [
'tax'
,
'discount'
]],
22
'tax'
=> [
'after'
=> [
'subtotal'
,
'shipping'
],
'before'
=> [
'grand_total'
]],
23
// Totals declared in Magento_Weee
24
'weee'
=> [
'after'
=> [
'subtotal'
,
'tax'
,
'discount'
,
'grand_total'
,
'shipping'
],
'before'
=> []]
25
];