wirke/woowire

There is no license information available for the latest version (dev-master) of this package.

Livewire Frontend Boilerplate for Woocommerce

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Language:Blade

dev-master 2024-08-16 15:25 UTC

This package is not auto-updated.

Last update: 2025-03-28 18:21:56 UTC


README

An attempt to replace the WooCommerce theme templates with Blade and Livewire with a base Tailwind styling.

What it intend to do

WooWire is intended to be used within Sage and Bedrock by Roots.

This package is meant as a boilerplate. run the woowire:publish command in the bedrock root to copy the files into your theme and then this package can be discarded.

If that command don't copy any files try the vendor:publish --tag=woowire command instead and let me know.

know that these commands overwrites your files if you have any with the same name.

The templates use tailwind classes so, run your tailwind compiler and ythat should be fixed.

The package got livewire, some laravel, woocommerce and the sage-woocommerce bridge by generoi required if you dont already use them, but i recomend requiring all of them yourself.

What it dont do

I don't intend to do anything to big affecting the checkout or how the backend works, it's just the single pages, archive pages and the mini cart

What you should do

you can add the @liveiwre('woo-wire-cart') component somewhere in your navigation to get that thing going. you should also probably remove the basic woocommerce styling with this filter

add_filter( 'woocommerce_enqueue_styles', '__return_empty_array' );

Updates

if you want to overwrite the files you copied with the publish commands with a newer version you can use woowire:update