File tree 2 files changed +2
-10
lines changed
2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -194,10 +194,6 @@ public function getContentCategory(): string
194
194
*/
195
195
public function getContentTypeQuote (): string
196
196
{
197
- $ items = $ this ->getQuote ()->getAllVisibleItems ();
198
- foreach ($ items as $ item ) {
199
- $ product = $ item ->getProduct ();
200
- }
201
- return $ this ->magentoDataHelper ->getContentType ($ product );/** @phpstan-ignore-line */
197
+ return 'product ' ;
202
198
}
203
199
}
Original file line number Diff line number Diff line change @@ -138,11 +138,7 @@ private function getContentTypeByQuote(CartInterface $quote): string
138
138
return '' ;
139
139
}
140
140
141
- $ items = $ quote ->getAllVisibleItems ();
142
- foreach ($ items as $ item ) {
143
- $ product = $ item ->getProduct ();
144
- }
145
- return $ this ->magentoDataHelper ->getContentType ($ product ); /** @phpstan-ignore-line */
141
+ return 'product ' ;
146
142
}
147
143
148
144
/**
You can’t perform that action at this time.
0 commit comments