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

推薦閱讀
- C#高級編程(第10版) C# 6 & .NET Core 1.0 (.NET開發(fā)經(jīng)典名著)
- Django+Vue.js商城項目實戰(zhàn)
- Cocos2D-X權(quán)威指南(第2版)
- Mastering Adobe Captivate 2017(Fourth Edition)
- Getting Started with ResearchKit
- Visual Basic程序設(shè)計(第3版):學(xué)習(xí)指導(dǎo)與練習(xí)
- 云原生Spring實戰(zhàn)
- RTC程序設(shè)計:實時音視頻權(quán)威指南
- QTP自動化測試進階
- Nginx Lua開發(fā)實戰(zhàn)
- Node.js:來一打 C++ 擴展
- ArcGIS for Desktop Cookbook
- Android Development Tools for Eclipse
- SEO教程:搜索引擎優(yōu)化入門與進階(第3版)
- 軟件測試分析與實踐