On the WoCommerce Product category editor there is an option for display type with the following options:
– Standard
– Subcategories
– Products
– Both
I would like to add another option to this to display none. This will allow me to manually add content to the category page. I tried to update the WooCommerce > archive-product.php file to handle this. However, the upgrade from Xstore 4 to 5 broke my code.
Is there a function that I can hook into to help with this? I need to make sure that this option is upgrade friendly going forwards.
See the video in the link below for more info on this.
There is no such option by default in WooCommerce plugin, our theme is not responsible for display type. If you want to customize some functionality you need to use child theme, you can find child theme archive in the Downloads area of your account. Then you won’t lose your modification after theme update.
Would you be able to point out what file I would need to work on to achieve this? As mentioned, I had a developer work on the woocommerce > archive-product.php file before. This was added to my child theme. However, the file stopped working after upgrading. Version 5 of the theme seems to call in Ajax at the top of the template.
I am hoping you can help point me in the right directing as to where I can best modify the theme to avoid this from happening again. What file would I need to work on to add a new option to the Display Type options?
Unfortunately, additional customization is outside the scope of basic theme support according to ThemeForest support policy. We can help you only with existing theme options and parent theme and are not responsible for the child theme code. If you need help with your custom code submit customization request to Codeable team.
Regards
Viewing 4 results
1 through 4 (of 4 total)
You must be logged in to reply to this topic.Log in/Sign up
Our mission is to help Internet businesses and their customers interact in a way that mirrors real-world customer experience: personal, human, and fun.
Upload your translation files
Lorem ipsum dolor sit amet consectetur adipisicing elitsed do
Love us as much as we love you?
If you love XStore theme and have something nice to say
don’t hesitate to tell about this! We’d appreciate if you could take a moment to give us 5-stars!