1. Home
  2. Knowledge Base
  3. WooCommerce Product Add-Ons Ultimate
  4. Advanced Topics for Add-Ons Ultimate

Article Category: Advanced Topics for Add-Ons Ultimate

Overriding Templates

  • Plugin: WooCommerce Product Add-Ons Ultimate
  • Content Type: Support Document
You can use your own version of the field templates by duplicating files from the plugins template/frontend folder and creating your own product-extras folder...

Filter file types

  • Plugin: WooCommerce Product Add-Ons Ultimate
  • Content Type: Support Document
If you’re using the file upload field type, you can change the permitted file types by updating the ‘File types’...

Filter prices for add-ons in the cart

  • Plugin: WooCommerce Product Add-Ons Ultimate
  • Content Type: Support Document
If you just want to add the prices for extra items in the cart, just target the pewc-cart-item-price class in...

Filter field classes

  • Plugin: WooCommerce Product Add-Ons Ultimate
  • Content Type: Support Document
You can filter the class applied to each product extra field, just use the pewc_filter_single_product_classes filter: The filter also passes the...

Variation specific fields

  • Plugin: WooCommerce Product Add-Ons Ultimate
  • Content Type: Support Document
If you’re adding extra fields to variable products, you can choose to create different fields for different variations. When you...

Adding negative values for extra fields

  • Plugin: WooCommerce Product Add-Ons Ultimate
  • Content Type: Support Document
You can add negative values in the ‘Field Price’ parameter to create a discount. When the user adds a field...

Don’t remove parent products from cart

  • Plugin: WooCommerce Product Add-Ons Ultimate
  • Content Type: Support Document
If you don’t want your parent products to be removed from the cart when child products are deleted, add this...

Get add-ons meta data from the order

  • Plugin: WooCommerce Product Add-Ons Ultimate
  • Content Type: Support Document
If you need to get add-ons data from the order, you can use the following function. You’ll see that the...

Trigger action when order is processed

  • Plugin: WooCommerce Product Add-Ons Ultimate
  • Content Type: Support Document
If you would like to trigger an action, e.g. sending a custom email, depending on the value of a specific...
Next Page »