Hello,
I need to display all categories of product, now I have only one category name in products grid.
This topic has 6 replies, 4 voices, and was last updated 10 months, 2 weeks ago ago by Andrew Mitchell
Hello,
I need to display all categories of product, now I have only one category name in products grid.
Hello, @Klaus,
Thank you so much for purchasing our theme and contacting our support center.
1/ To assist you more effectively, we kindly ask you to provide a detailed description of your request, including the specific outcome you are aiming to achieve. Additionally, if applicable, please share a screenshot of the issue and mark the relevant areas to help us better understand the situation.
2/ We suggest disabling all third-party plugins (including cache plugins and CDN ) that do not come bundled with XStore (https://xstore.helpscoutdocs.com/article/36-included-plugins ), clearing the cache of the browser, and then checking again. It is possible that one of the additional plugins is causing the issue.
If the issue still persists, please keep all third-party plugins deactivated on your site and grant permission to debug your site, which includes deactivating all third-party plugins and on-site Customization. This will allow us to investigate and assist you accordingly.
Please note that you should take a complete backup of your site before proceeding.
In addition, please provide your site’s WP Admin URL and credentials in the private content area of this topic, so that we can look into it further and help you:
Thank you for your cooperation and we look forward to hearing from you soon.
Best Regards,
8Theme’s Team
I’m sending a screenshot.
Hi @Klaus,
There is no settings for this, to show all the categories of product, please go to this file: /wp-content/plugins/et-core-plugin/app/controllers/elementor/general/product-grid.php from 4538 to 4541
+ Change:
if ($product_cats) {
list($first_cat) = explode('\n', $product_cats);
$category = $first_cat;
}
+ To:
if ($product_cats) {
//list($first_cat) = explode('\n', $product_cats);
$product_cats = str_replace('\n', ', ', $product_cats);
$category = $product_cats;
}
Hope it helps!
Yes it helped, thank you very much for your help.
Dear Klaus,
In the spirit of gratitude, we want to express our appreciation for your trust in our products. As a valued customer, your experience matters greatly. Would you consider sharing it by giving our theme a deserving 5-star rating on ThemeForest?
Click here to share your thoughts: https://themeforest.net/downloads
Being part of our community means a lot, and your feedback contributes immensely.
Best Regards,
The 8Theme Team
The issue related to '‘Archive products problem – displaying only one category of product’' has been successfully resolved, and the topic is now closed for further responses