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

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...
主站蜘蛛池模板: 平乡县| 平安县| 合江县| 宜川县| 西城区| 元谋县| 营口市| 铁力市| 基隆市| 金华市| 策勒县| 新平| 兴义市| 崇文区| 永泰县| 拜泉县| 绩溪县| 南陵县| 衡东县| 襄汾县| 进贤县| 尚志市| 中牟县| 香港 | 深泽县| 梓潼县| 资溪县| 徐州市| 红河县| 兰考县| 闻喜县| 安顺市| 长治县| 马公市| 鄂尔多斯市| 巴彦县| 循化| 大城县| 康平县| 永靖县| 武鸣县|