Skip to content

Budolfsen/sage-woocommerce

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sage WooCommerce

Add WooCommerce support to Sage 10.

Installation

Install the composer package (in the theme folder).

composer require generoi/sage-woocommerce

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"

By default your theme has now declared WooCommerce support. To add support for specific features, add them to your app/setup.php

add_theme_support('wc-product-gallery-zoom');
add_theme_support('wc-product-gallery-lightbox');
add_theme_support('wc-product-gallery-slider');

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 88.2%
  • Blade 11.8%