Skip to content

Commit f3d2920

Browse files
committed
ADO-449: fixes undefined variable issue in v1.5.0
1 parent 09a536d commit f3d2920

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/code/Meta/Conversion/Helper/MagentoDataHelper.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,10 @@ public function hashValue($string): string
297297
*/
298298
public function getCartPayload($quote): array
299299
{
300+
$contentCategories = [];
301+
$contents = [];
302+
$categoryIds = [];
303+
300304
foreach ($quote->getAllItems() as $item) {
301305
$product = $item->getProduct();
302306
$categoryIds[] = $product->getCategoryIds();

0 commit comments

Comments
 (0)