Hello everyone,
I apologize for the lengthy text, but I would greatly appreciate the input of experts on this situation. I have some questions regarding the setup of a WordPress WooCommerce basis. Currently, I have the following basis established, utilizing Advanced Custom Fields (ACF) and the Gutenberg editor.
I’ve developed a custom system that automatically categorizes all my ACF blocks, ensuring that they are neatly organized within the Gutenberg block library under their respective categories. Each block comes with its own stylesheet and JavaScript file, which are automatically minified using my custom Node.js minifier. The system also ensures that only the necessary block stylesheets and JavaScript files are loaded on the front-end. Additionally, I’ve implemented a module system that automatically loads modules. These modules can contain blocks and are primarily intended for larger components, such as event or vacancy modules that can be utilized across various websites.
I find this system to be efficient at the moment and plan to maintain and enhance it over time, possibly even turning it into a plugin. Now that you have an understanding of how I work and how my system operates, I use this system on standard WordPress websites, but I want to create a basis that is compatible with WooCommerce.
My goal is to make this WooCommerce basis highly adaptable for various online shops in the future while ensuring compatibility with future plugin updates. It should be a basic framework, but with predefined styles and positions for specific WooCommerce elements, making it easy to tailor the appearance of a webshop to meet the client’s requirements.
In the past, I programmed a WooCommerce webshop by directly modifying the template files, but I’ve read that this is no longer a recommended approach.
In summary, what is the best approach? Which techniques should I employ, and how should I structure this to ensure maximum compatibility? Should you override templates? I’m really interested in how you guys go about this.
[ad_2]