Note: Requires WooCommerce 2.0+
- Download the .zip file from your WooCommerce account.
- Go to: WordPress Admin > Plugins > Add New and Upload Plugin with the file you downloaded with Choose File.
- Install Now and Activate the extension.
- Specific Products – Choose what products this content should show up on.
- Product Types – Choose to display the content on all products which are of a particular type.
- Product in Categories – Choose to display the content on all products in a particular set of categories.
- Products with Attributes – Display the content on products that have specific attributes.
- Product Price Range – Content will display on products that are in this price range.
- Stock Status – Display the content on products that are in or out of stock.
- Stock Level Range – Display the content on products which have inventory in a particular range.
- Sale Start and End dates – Display the content when the product is on sale between these dates.
- Sale Status – Display when the product is or is not on sale.
- Specific Roles – Display the content to specific user roles.
- Specific Users – Display the content to specific users.
- Cart Total – Display the message when the cart total is more or less than a particular value.
- Cart Products – Display the message when particular products are in the cart, at a specific quantity level..
- Categories of Products in Cart – Display the message when products from categories are in the cart, at a specific quantity level.
- Country – Display the content block when a user is or is not in a specific country. ( Added in 1.1.5 )
Note: Use of Single Product rules will only display the content on the Single Product page, regardless of the action you choose.In the following example we are choosing to display the content in the sidebar, by hooking into the WooFramework action, woo_sidebar_inside_before. If we used General Output rules, this content would display whenever the sidebar is displayed and the conditions are met. If we used Single Product rules as well, the content would display in the sidebar of Single Products when the conditions were met.
Conditional content can be used to assist in displaying custom pricing structures to your customers. These pricing structures could be pricing rules you have defined in Dynamic Pricing or other coupon or discount plugins. The way to display the pricing structures is to match the conditional content rules to that of your pricing structure and create content to inform the user of the price structures. For example, you have a Dynamic Pricing rule that says: Buy One T-Shirt, receive a second T-Shirt for free. You could create Conditional Content with rules of “Cart Quantity of T-Shirt is One and Product Category is T-Shirt”. Use a location filter, such as “After Product Summary” and enter in the text you would like to display to your shoppers when the conditions are met. This allows you to display your custom messages, custom calls to action or generic price tables, when they would make the most sense to your shoppers. The actual pricing table, sale bubble, call to action, etc.. for the Conditional Content block is up to you to provide. Examples could include include creating a pricing table in the editor, or by using a plugin such as Pricing Tables or creating a call to action bubble, again, provided by you in the content editor of the Conditional Content block. In this example, we’d like to show a content block to let customers know there are only a few items left in stock. It will be set up to show after the product title. This is what the customer sees: Have a question before you buy? Please fill out this pre-sales form. Already purchased and need some assistance? Get in touch the developer via the Help Desk.