File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
app/code/Magento/Catalog/Model/ResourceModel/Product
dev/tests/integration/framework/Magento/TestFramework/ApplicationStateComparator/_files Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 26
26
use Magento \Store \Model \Store ;
27
27
use Magento \Catalog \Model \ResourceModel \Category ;
28
28
use Zend_Db_Expr ;
29
- use Magento \Catalog \Model \ResourceModel \Product \Gallery ;
30
29
31
30
/**
32
31
* Product collection
@@ -723,6 +722,10 @@ protected function _afterLoad()
723
722
$ this ->_prepareUrlDataObject ();
724
723
$ this ->prepareStoreId ();
725
724
725
+ if (isset ($ this ->_selectAttributes ['media_gallery ' ])) {
726
+ $ this ->addMediaGalleryData ();
727
+ }
728
+
726
729
if (count ($ this )) {
727
730
$ this ->_eventManager ->dispatch ('catalog_product_collection_load_after ' , ['collection ' => $ this ]);
728
731
}
Original file line number Diff line number Diff line change 566
566
\Magento \Framework \Stomp \StompClient::class => null ,
567
567
\Magento \Framework \MessageQueue \QueueRepository::class => null ,
568
568
Stomp \StatefulStomp::class => null ,
569
+ \Magento \ProductVideo \Model \ResourceModel \Video::class => null ,
570
+ \Magento \ProductVideo \Model \Plugin \ExternalVideoResourceBackend::class => null ,
569
571
],
570
572
'placeOrder-fromConstructed ' => [
571
573
// AMQP message queue objects
583
585
\Magento \Framework \MessageQueue \QueueRepository::class => null ,
584
586
\Stomp \StatefulStomp::class => null ,
585
587
],
588
+ 'applyCouponToCart ' => [
589
+ \Magento \ProductVideo \Model \ResourceModel \Video::class => null ,
590
+ \Magento \ProductVideo \Model \Plugin \ExternalVideoResourceBackend::class => null ,
591
+ \Magento \PageBuilder \Plugin \Catalog \Model \Product \Attribute \RepositoryPlugin::class => null ,
592
+ ],
593
+ 'mergeCarts ' => [
594
+ \Magento \ProductVideo \Model \ResourceModel \Video::class => null ,
595
+ \Magento \ProductVideo \Model \Plugin \ExternalVideoResourceBackend::class => null ,
596
+ \Magento \PageBuilder \Plugin \Catalog \Model \Product \Attribute \RepositoryPlugin::class => null ,
597
+ ],
586
598
];
You can’t perform that action at this time.
0 commit comments