On the WoCommerce Product category editor there is an option for display type with the following options:
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.
Thanks and kind regards
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.
You must be logged in to reply to this topic.Log in/Sign up
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.
The message was successfully sent
Your shopping cart is empty
Seems you did not register purchase code for XStore WordPress Support Forum to be able to create a topic on this forum.