diff --git a/Controller/Adminhtml/Ecommerce/Getaccountdetails.php b/Controller/Adminhtml/Ecommerce/Getaccountdetails.php
index a6b7d176..2168c023 100644
--- a/Controller/Adminhtml/Ecommerce/Getaccountdetails.php
+++ b/Controller/Adminhtml/Ecommerce/Getaccountdetails.php
@@ -81,9 +81,9 @@ public function execute()
$options['total_orders'] = ['label' => __('Total orders:'), 'value' => $totalOrders['total_items']];
$totalCarts = $api->ecommerce->carts->getAll($store, 'total_items');
$options['total_carts'] = ['label' => __('Total Carts:'), 'value' => $totalCarts['total_items']];
- $options['notsaved'] = ['label' => __('This MailChimp account is not connected to Magento.'), 'value' => ''];
+ $options['notsaved'] = ['label' => __('Ecommerce disabled, save configuration to enable.'), 'value' => ''];
} else {
- $options['nostore'] = ['label' => __('This MailChimp account is not connected to Magento.'), 'value' => ''];
+ $options['nostore'] = ['label' => __('Ecommerce disabled, only subscribers will be synchronized (your orders, products,etc will be not synchronized).'), 'value' => ''];
}
}
} catch (\Mailchimp_Error $e) {
diff --git a/Model/Config/Source/Details.php b/Model/Config/Source/Details.php
index 679b449b..15761593 100644
--- a/Model/Config/Source/Details.php
+++ b/Model/Config/Source/Details.php
@@ -126,9 +126,9 @@ public function toOptionArray()
[['label' => 'Total List Subscribers', 'value' => $this->_options['list_subscribers']]]
);
}
- $ret = array_merge($ret, [['label' => 'Ecommerce Data uploaded to MailChimp', 'value' => '']]);
if (isset($this->_options['store_exists']) && $this->_options['store_exists']) {
$ret = array_merge($ret, [
+ ['label' => 'Ecommerce Data uploaded to MailChimp', 'value' => ''],
['label' => ' Total Customers', 'value' => $this->_options['total_customers']],
['label' => ' Total Products', 'value' => $this->_options['total_products']],
['label' => ' Total Orders', 'value' => $this->_options['total_orders']],
@@ -145,7 +145,7 @@ public function toOptionArray()
}
} else {
$ret = array_merge($ret, [
- ['label'=>'This MailChimp account is not connected to Magento.','value'=>'']
+ ['label'=>'Ecommerce disabled, only subscribers will be synchronized (your orders, products,etc will be not synchronized).','value'=>'']
]);
}
}