Update excluded terms in product XML generation: Added 'marihuana' to the list of excluded terms in product titles within feeds.cjs, enhancing content filtering for SEO purposes.

This commit is contained in:
sebseb7
2025-07-18 13:18:08 +02:00
parent 5c2b4172da
commit 33fadc0279

View File

@@ -321,7 +321,7 @@ const generateProductsXml = (allProductsData = [], baseUrl, config) => {
const productDescription = (product.description || "").toLowerCase();
const excludedTerms = {
title: ['canna', 'hash', 'marijuana'],
title: ['canna', 'hash', 'marijuana', 'marihuana'],
description: ['cannabis']
};