Documentation > Woocommerce

Creating Latest Products Woocommerce Popup

49

Both Brave Free and PRO version lets you display your shop’s latest products Woocommerce popup to your visitors. There are 3 ways you can display Woocommerce Latest Products popups.

  1. With Brave’s Products Element.
  2. With Brave’s Image, Text and Buttons Elements.
  3. With Woocommerce Shortcodes.

 

1. Displaying the Latest Products Woocommerce Popup with Brave’s Products Element

Displaying the latest Products with the Products Element is the most easiest way to display your latest products. The latest products are dynamic so you do not have to update the popup every time you add a new product.

To display the latest products of your store, create a popup and then drag and drop the Products Element into your Popup. Then from the Product element settings, select “Latest Products”. Then select the number of latest products you want to display.

If you are using the paid version, you can also enable the “Display from Relevant Category in Product/Category Pages” option. When enabled, If the popup is loaded in a Single Product page Product Element will display Latest Products related to that product’s category. For example, If the customer is a Product that is tagged with “Shoes”, the Products Element will display the latest items from Shoes category, instead of showing the latest item from the whole shop. The Products element will also display relevant category’s product when the visitor visits a category page.

If you want to track how many times the products were added from this woocommerce popup, you will have to make the Products Element a goal element. To do that, Just click the “Goal Settings” from top and set “Goal Completes when” to “Visitor clicks and element”. Then click the “Select” button in Target Elements section and select the Products Element in your Popup. Now when a visitor adds an item to cart from the popup, Brave will automatically update the conversion count of the popup.

 

2. Displaying the Latest Products with Brave’s Image, Text and Buttons Elements

Although adding latest products with Products elements is very easy and comes with lots of customization options, You may want further customization options or match how the products layout look on your website. To create a completely new Products layout, you can use Brave’s Image, Text and Button elements together to dynamically dynamically output your products data in them.

To Display Product’ Image inside a Image Element, Click the “Dynamic” tab from the Image Settings Panel and enable the dynamic data. Then select your “1st Latest Product” option to display the newest latest product image.

woocommerce popup

Now if you want to display the title and price of your first latest product, you can do that with Brave’s Text element. Just enable the “Dynamic Data” option from the Text Settings Panel and select the “1st Latest Product’s Title” option to display the title, or  “1st Latest Product’s Price”.

If you want to Link the Image or the title to the Product page, just Enable the “Make Clickable” option from the “Other” tab of their Settings panel and select Dynamic Link, and select the “1st Latest Products Link” option.

Now let’s say you want to display an “Add to Cart” button, that will automatically add the product to user’s cart when it’s clicked. To achieve this, simply Add a Button Element and from the “Action” tab of the Button’s Settings Panel, set “Click Action” to Dynamic Link and select the “1st Latest Product’s Add to Cart Button”.

All Images, Text and Links are dynamic, so when you add a latest product to your website, they will be automatically display the newest product’s data.

If you want to track how many times the products were added from the popup, you will have to make the Products Element a goal element. To do that, Just click the “Goal Settings” from top and set “Goal Completes when” to “Visitor clicks and element”. Then click the “Select” button in Target Elements section and select the Button Element that you linked to your “1st Products Add to Cart”. Now when a visitor clicks the button, Brave will automatically update the conversion count of the popup.

 

3. Displaying the Latest Products with Woocommerce Shortcode (Not Recommended)

Although these method is inferior to above methods and has not customization options, you may still use the Woocommerce Products Shortcode to display the Latest products in your Popup. To do so, First insert a Code Element into your Popup and paste this Shortcode: [recent_products limit=”3″] . Displaying the products this way may not look good if your popup is smaller than 400px.