All Questions
Tagged with order-totals customer-account
1 question
1
vote
1
answer
144
views
Magento 2 get total spend so far for each customer to custom customer attribute
public function test($setup)
{
/** @var CustomerSetup $customerSetup */
$customerSetup = $this->customerSetupFactory->create(['setup' => $setup]);
// Add new customer attribute
...