Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit f355b95

Browse files
mikejolleyAljullu
authored andcommitted
Add catalog visibility arg to product query attributes (#1753)
* Add catalog visibility arg to product query attributes * catalog visibility
1 parent 117eca7 commit f355b95

File tree

1 file changed

+1
-0
lines changed
  • assets/js/base/components/product-list

1 file changed

+1
-0
lines changed

assets/js/base/components/product-list/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ const generateQuery = ( { sortValue, currentPage, attributes } ) => {
5050
};
5151
return {
5252
...getSortArgs( sortValue ),
53+
catalog_visibility: 'catalog',
5354
per_page: columns * rows,
5455
page: currentPage,
5556
};

0 commit comments

Comments
 (0)