WooCommerce Integration

Extensive customization options for WooCommerce through the Combo plugin.

Configuration Options

Configure WooCommerce integration in your config.yml file:

1
woocommerce:
2
theme-support: false # Add theme support
3
disable-styles: false # Disable WooCommerce styles
4
disable-resize-images: false # Disable image resizing
5
disable-payment-gateways: false # Disable payment gateways
6
disable-setup-widget: false # Disable setup widget
7
disable-stock: false # Disable stock management
8
not-purchasable: false # Make products not purchasable
9
cart-redirect: false # Redirect to cart after add
10
statistics: 'auto' # Enable statistics
11
coupons: 'auto' # Enable coupons
12
per-page: 12 # Products per page
13
meta-boxes: # Meta boxes to show
14
postexcerpt: true
15
woocommerce-product-data: true
16
woocommerce-product-images: true
17
woocommerce-coupon-data: true
18
woocommerce-order-data: true
19
woocommerce-order-items: true
20
woocommerce-order-downloads: true
21
woocommerce-order-actions: true
22
woocommerce-order-notes: true
23
product-tabs: # Product tabs to show
24
general: true
25
inventory: true
26
advanced: true
27
linked_product: true
28
shipping: true
29
attribute: true
30
variations: true

General Options

  • theme-support: Add WooCommerce theme support.
  • disable-styles: Disable WooCommerce default styles (useful if you have custom styles).
  • disable-resize-images: Disable automatic image resizing.
  • disable-payment-gateways: Disable payment gateways (useful for development).
  • disable-setup-widget: Disable the WooCommerce setup widget in the admin dashboard.
  • disable-stock: Disable stock management.
  • not-purchasable: Make products not purchasable (useful for catalog-only mode).
  • cart-redirect: Redirect to cart page after adding a product.
  • statistics: Enable or disable statistics ('auto', true, or false).
  • coupons: Enable or disable coupons ('auto', true, or false).
  • per-page: Number of products to display per page.

Meta Boxes

Control which meta boxes are displayed in the WooCommerce admin:

1
woocommerce:
2
meta-boxes:
3
postexcerpt: true # Product excerpt
4
woocommerce-product-data: true # Product data
5
woocommerce-product-images: true # Product images
6
woocommerce-coupon-data: true # Coupon data
7
woocommerce-order-data: true # Order data
8
woocommerce-order-items: true # Order items
9
woocommerce-order-downloads: true # Order downloads
10
woocommerce-order-actions: true # Order actions
11
woocommerce-order-notes: true # Order notes

Set any option to false to hide the corresponding meta box.

Product Tabs

Control which product data tabs are displayed in the WooCommerce admin:

1
woocommerce:
2
product-tabs:
3
general: true # General tab
4
inventory: true # Inventory tab
5
advanced: true # Advanced tab
6
linked_product: true # Linked products tab
7
shipping: true # Shipping tab
8
attribute: true # Attributes tab
9
variations: true # Variations tab

Set any option to false to hide the corresponding product tab.

Example Configuration

Here's an example configuration for a custom WooCommerce setup:

1
woocommerce:
2
theme-support: true # Add theme support
3
disable-styles: true # Use custom theme styles
4
per-page: 24 # Show 24 products per page
5
6
meta-boxes: # Only show necessary meta boxes
7
woocommerce-product-data: true
8
woocommerce-product-images: true
9
10
product-tabs: # Only show necessary product tabs
11
general: true
12
inventory: true
13
shipping: true