I’m trying to customize a WooCommerce template (cart.php) with Tailwind classes. I copied the source template from the plugin’s folder into mysagetheme/woocommerce/cart/cart.php But:
hot reloading is not working, despite the fact that it works when editing .blade files
the Tailwind compiler seems oblivious to the fact that I’m adding Tailwind CSS classes to the code of the cart.php WooCommerce file.
How could I make aware both Vite (for hot reloading), and the Tailwind compiler (for CSS code compilation) of the fact that I am customizing WooCommerce template .php files?
I’ve just moved to Sage11 from sage10 for developing custom theme for my WordPress website. I’m using WooCommerce and trying to customize the product template. For that I’m adding single-product.blade.php and singple-product-content.blade.php files inside the theme directory: /mytheme/views/woocommerce. Unluckily it’s not overriding the the default structure of WooCommerce product template.
Do I need to do any additional steps to make this work or to setup WooCommerce in sage 11 environment?