$position['attributes'
] = \
is_array($attributes) ?
$attributes :
[];
if (\
in_array((int) $position['modus'
],
[CartPositionsMode::PRODUCT, CartPositionsMode::PREMIUM_PRODUCT
], true
)) { $kind =
(int) $position['kind'
];
$translation =
$translator->
read( $orderLocale,
$kind === 1 ? 'article' : 'variant',
$position[$kind === 1 ? 'articleID' : 'articleDetailID'
] );
$position =
$this->
assignAttributeTranslation($position,
$translation);
} $this->_positions->
offsetSet($key,
$position);
} } /**
* Get maximum used tax-rate in this order
*
* @return int|string
*/