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:
@@ -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']
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user