Skip to content

Commit e207e7d

Browse files
Merge pull request #886 from sdinteractive/ADO-449-categoryid-issue
Ado 449 categoryid issue
2 parents 3cccad6 + a33464f commit e207e7d

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)