- WooCommerce Cookbook
- Patrick Rauland
- 250字
- 2021-07-23 19:35:08
Adding an extra fee to a product with the Product Add-ons plugin
Variable products are incredibly powerful and you can do a lot with them. In some situations where you have a ton of extras or add-ons, it doesn't make sense to make a variation for each one. In such cases, it's easier to use a separate plugin that WooThemes has created, called Product Add-ons.
Getting ready
You'll need to have installed and activated the Product Add-ons plugin available at http://www.woothemes.com/products/product-add-ons/.
You should also have a product in your store.
How to do it…
We can add an add-on cost with the help of the following steps:
- From the WordPress admin, go to the Products page and click on Edit for any one of your products.
- Scroll down to the Product Data panel and click on the Add-ons tab.
- Click on the New Addon Group button.
- Type in the name of the add-on group. If you're selling frames for your poster, you probably want to call it
Frame
. - You can now add as many options as you want. Make sure you enter a label and price for each one.
- Click on the Update button.
You now have plenty of options to choose from on the frontend.

推薦閱讀
- Web應用系統開發實踐(C#)
- Kubernetes實戰
- Unity 2020 Mobile Game Development
- AIRAndroid應用開發實戰
- Eclipse Plug-in Development:Beginner's Guide(Second Edition)
- Python機器學習算法與實戰
- Getting Started with Laravel 4
- 微信小程序開發與實戰(微課版)
- 零基礎學HTML+CSS
- R的極客理想:量化投資篇
- Learning Kotlin by building Android Applications
- Applied Deep Learning with Python
- Python 3快速入門與實戰
- Using Yocto Project with BeagleBone Black
- 一步一步學Spring Boot:微服務項目實戰(第2版)