# Woocommerce Integration with generoi/sage-woocommerce

**URL:** https://discourse.roots.io/t/woocommerce-integration-with-generoi-sage-woocommerce/24634
**Category:** sage
**Tags:** woocommerce, sage10, acorn
**Created:** 2023-01-24T13:27:04Z
**Posts:** 2

## Post 1 by @vibcruz — 2023-01-24T13:27:04Z

Is there a way to use the extension generoi/sage-woocommerce without acord commands? I’m stuck on learning how to use acorn on local enviroment.

Here is the package link: [https://github.com/generoi/sage-woocommerce](https://github.com/generoi/sage-woocommerce)

And the steps asking for acorn commands:

Add the package to the cached package manifest.

```
wp acorn package:discover
```

Publish the required `single-product.blade.php` and `archive-product.blade.php` views.

```
wp acorn vendor:publish --tag="WooCommerce Templates"
```

Optionally publish a commented out `app/wc-template-hooks.php` file for customizing the WC template hooks.

```
wp acorn vendor:publish --tag="WooCommerce Template Hook Overrides"
```

---

## Post 2 by @ben — 2023-01-24T14:33:26Z

It’s possible by manually adding the service provider from the `config/` directory, which isn’t published/included by default at this time.

1. Add [`config/app.php`](https://github.com/roots/acorn/blob/16b91ac15d17a861515552e958195b11e94b2a49/config/app.php) to your theme directory
2. In that file under `Package Service Providers`, add: `Genero\Sage\WooCommerce\WooCommerceServiceProvider::class`
