Skip to content

Commit

Permalink
1.8.5: #50
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Jul 15, 2023
1 parent 6d44d39 commit 28f612a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Controller/Response/Catalog.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use Justuno\M2\Response as R;
use Justuno\M2\Settings as S;
use Justuno\M2\Store;
use Magento\Bundle\Model\Product\Type as Bundle;
use Magento\Catalog\Model\Category as C;
use Magento\Catalog\Model\Product as P;
use Magento\Catalog\Model\Product\Visibility as V;
Expand Down Expand Up @@ -48,6 +49,8 @@ function execute():Json {return R::p(function():array {
$pc->addAttributeToFilter('visibility', ['in' => [
V::VISIBILITY_BOTH, V::VISIBILITY_IN_CATALOG, V::VISIBILITY_IN_SEARCH
]]);
# 2023-07-15 «Products of type `bundle` do not have a quantity»: https://github.com/JustunoCom/m2/issues/50
$pc->addAttributeToFilter('type_id', ['neq' => Bundle::TYPE_CODE]);
/**
* 2019-11-22
* @uses \Magento\Catalog\Model\ResourceModel\Product\Collection::addMediaGalleryData() loads the collection,
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "justuno.com/m2"
,"version": "1.8.4"
,"version": "1.8.5"
,"description": "Justuno module for Magento 2"
,"type": "magento2-module"
,"homepage": "https://github.com/justunoCom/m2"
Expand Down

0 comments on commit 28f612a

Please sign in to comment.