Add initial support for WooCommerce integration
This commit is contained in:
parent
05ac07d2e6
commit
25bf17715c
9 changed files with 70 additions and 3 deletions
|
@ -44,6 +44,9 @@ def includeme(config):
|
|||
# shopfoo views
|
||||
config.include('rattail_demo.web.views.shopfoo')
|
||||
|
||||
# woocommerce views
|
||||
config.include('tailbone_woocommerce.views.woocommerce')
|
||||
|
||||
# batch views
|
||||
config.include('tailbone.views.handheld')
|
||||
config.include('tailbone.views.batch.inventory')
|
||||
|
|
|
@ -5,9 +5,10 @@ Product views
|
|||
|
||||
from tailbone.views import products as base
|
||||
from tailbone_corepos.views import products as corepos_base
|
||||
from tailbone_woocommerce.views import products as woocommerce_base
|
||||
|
||||
|
||||
class ProductView(corepos_base.ProductView):
|
||||
class ProductView(corepos_base.ProductView, woocommerce_base.ProductView):
|
||||
"""
|
||||
Product overrides for online demo
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue