- 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.

推薦閱讀
- 軟件界面交互設計基礎
- Learning Bayesian Models with R
- 機器人Python青少年編程開發實例
- C語言程序設計實踐教程
- Visual C
- Hands-On RESTful Web Services with Go
- 零基礎輕松學SQL Server 2016
- 計算機應用基礎實踐教程
- Building Machine Learning Systems with Python(Second Edition)
- BeagleBone Robotic Projects(Second Edition)
- Maven for Eclipse
- SAP HANA Starter
- Python Natural Language Processing
- 計算機信息技術實踐教程
- Python程序設計案例教程:從入門到機器學習(微課版)