diff options
author | diosmosis <benaka@piwik.pro> | 2015-08-06 14:54:34 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-08-07 17:15:43 +0300 |
commit | 2f91d3c83a834b0e451d3e58fa246ef0a87740fb (patch) | |
tree | 4c650ff22651921af10f84344557bf78106f4952 /plugins/Ecommerce | |
parent | 0f67ba1ae63db2ccef642ef215002379c3ee8bfe (diff) |
Add public methods to VisitProperties for property access and use instead of direct access.
Diffstat (limited to 'plugins/Ecommerce')
-rw-r--r-- | plugins/Ecommerce/Tracker/EcommerceRequestProcessor.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Ecommerce/Tracker/EcommerceRequestProcessor.php b/plugins/Ecommerce/Tracker/EcommerceRequestProcessor.php index fd701207d9..1bdf430032 100644 --- a/plugins/Ecommerce/Tracker/EcommerceRequestProcessor.php +++ b/plugins/Ecommerce/Tracker/EcommerceRequestProcessor.php @@ -67,7 +67,8 @@ class EcommerceRequestProcessor extends RequestProcessor { $goalsConverted = $visitProperties->getRequestMetadata('Goals', 'goalsConverted'); if (!empty($goalsConverted)) { - $isThereExistingCartInVisit = $this->goalManager->detectIsThereExistingCartInVisit($visitProperties->visitorInfo); + $isThereExistingCartInVisit = $this->goalManager->detectIsThereExistingCartInVisit( + $visitProperties->getProperties()); $visitProperties->setRequestMetadata('Goals', 'isThereExistingCartInVisit', $isThereExistingCartInVisit); } } |