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

Commit 9ef967e

Browse files
author
giaphn
committed
- Update HTML Sitemap
1 parent d734507 commit 9ef967e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Block/Sitemap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public function getProductCollection()
161161
break;
162162
}
163163

164-
if (!$this->_helper->getHtmlSitemapConfig('out_of_stock_products')) {
164+
if ($this->_helper->getHtmlSitemapConfig('out_of_stock_products')) {
165165
$this->_stockFilter->addInStockFilterToCollection($collection);
166166
}
167167

0 commit comments

Comments
 (0)