官术网_书友最值得收藏!

  • 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:

  1. From the WordPress admin, go to the Products page and click on Edit for any one of your products.
  2. Scroll down to the Product Data panel and click on the Add-ons tab.
    How to do it…
  3. Click on the New Addon Group button.
  4. Type in the name of the add-on group. If you're selling frames for your poster, you probably want to call it Frame.
  5. You can now add as many options as you want. Make sure you enter a label and price for each one.
    How to do it…
  6. Click on the Update button.

You now have plenty of options to choose from on the frontend.

How to do it…

There's more...

There are different ways to use add-ons. With frames for a poster, it might make sense to only let the user choose one add-on. In such cases, you can change the Group "Frame" setting to use Radio buttons instead of Checkboxes.

There's more...
主站蜘蛛池模板: 承德市| 洛南县| 宜阳县| 和政县| 星子县| 门头沟区| 遂宁市| 和田市| 云林县| 聊城市| 浦县| 苏尼特左旗| 镇宁| 大厂| 定兴县| 定远县| 山西省| 香格里拉县| 苏尼特左旗| 阳朔县| 荃湾区| 平遥县| 莆田市| 乾安县| 铁力市| 兴安盟| 南华县| 平谷区| 大邑县| 晋城| 清涧县| 茌平县| 吴川市| 高清| 井研县| 秦皇岛市| 历史| 朝阳区| 获嘉县| 拉萨市| 岱山县|