Skip to content

Watchlist

The watchlist allows visitors to your website to save interesting properties and retrieve them later as a collection. The saved properties are stored in a browser cookie and can be accessed via a dedicated URL. The watchlist is available starting with the PLUS license. You can upgrade at any time and only pay the difference. If you are interested in an upgrade, please contact our Support.

Navigate to WordPress Backend > WP-ImmoMakler > Settings > Watchlist and enable the “Activate watchlist” option. A “Save” button will then appear next to each property in both the list view and detail view.

In the backend of your website (wp-admin) → WP-ImmoMakler → Settings → Watchlist, the following options are available:

Option Description
Activate watchlist Displays the save button in archive and expose views
Save button only for available properties Hides the button for references and sold/rented properties
Activate “Share watchlist” Adds a copyable link above the watchlist that can be shared via email or social media
Contact form below the watchlist Displays a combined contact form for inquiring about all saved properties
Wishlist with three saved properties, the share link and the button back to all properties

The watchlist is automatically accessible at the following URL (the exact path depends on your configured property slug):

/immobilien/merkliste/

You can also test the watchlist on our demo site.

If you build your property list or the detail view with a page builder, add the save button as a separate element: Property: Save button is available in Gutenberg, Elementor, Divi 4 and 5, Bricks, WPBakery, Enfold and Avada. It fits into the cards of a loop, for example as a heart in a corner of the image, as well as into the detail view.

Setting Description
Display Icon only or Icon and text
Icon Heart, star or bookmark. As long as the property is not saved, the icon appears as an outline, afterwards filled
Labeling Text of the button, “Merken” if left empty. With Icon only, screen readers read the label aloud
Icon color (saved) Color of the filled icon, for example red for a heart. If left empty, the icon takes over the text color

You can make the save button look like a button of your theme, outlined or filled, without any custom CSS. This applies to both displays: with Icon and text you get a classic button, with Icon only for example a heart on a round disc that is clickable as a whole. You will find the settings in the design settings of the element, in most page builders under Button style. If left empty, the button stays as it is.

Setting Description
Background color Fills the button, for example with your theme’s accent color
Text color Color of text and icon. In Gutenberg, Elementor, Bricks and Divi, set it with the text or font color of the element
Border color Color of the border. Without a border width, the border is 1 px wide
Border width In px, for example 2
Corner radius In px or %, for example 4 for slightly rounded corners or 50% for a round button
Inside distance Space between border and content, for example “10px 20px”: 10 px top and bottom, 20 px left and right
Full width The button takes up the full width, with its content centered

For an outlined button, set the border color, corner radius and inside distance; for a filled one, also set the background color and a matching text color. For a heart on a round disc, choose Icon only, a background color such as white, a corner radius of 50% and an inside distance such as 10px; the text color then colors the heart. In the Gutenberg block, set the corner radius in px; a value at least half the size of the button makes it round. In Bricks, the Bricks-native Border (width, color, corner radius) and Padding settings combine these values.

The size and color of the icon follow the font of the element, which you set in the design settings of your page builder. The button only appears if the watchlist is activated, and not for reference properties. If “Save button only for available properties” is enabled, it is also hidden for brokered properties.

So that visitors can reach their watchlist from every page, show a link to the watchlist with the number of saved properties in the header or in the navigation.

PLUS

In Gutenberg, Elementor, Divi 4 and 5, Bricks, WPBakery, Enfold and Avada there is the Watchlist counter element for this. It fits into a header template as well as anywhere else on your website.

Setting Description
Display Icon and count or Icon, text and count
Icon Heart, star or bookmark, matching the save button
Labeling Text of the link, “Merkliste” if left empty. With Icon and count, screen readers read the label aloud
Also show when the watchlist is empty Without this setting the counter only appears once the visitor has saved a property
Background color of the count, text color of the count Colors of the number. If left empty, it appears with a border in the text color

The size and color of icon and text follow the font of the element, which you set in the design settings of your page builder. The counter only appears if the watchlist is activated. In the editor it is always visible, even if your own watchlist is empty.

Everywhere else, for example in a text widget, use the shortcode:

[immomakler-cart-indicator]

The shortcode renders a button with a badge showing the current number of saved properties.

Element and shortcode read the count from the visitor’s watchlist cookie on every page load, so it is correct even with a page cache. When the visitor clicks a save button, the number changes immediately.

When the “Share watchlist” option is enabled, an input field with a copyable link appears above the watchlist. This link contains all currently saved property IDs as parameters and can be shared with others, who can then view the same selection of properties — without their own cookie.

The default label “merken” can be customized via a filter in the WP-ImmoMakler Child-Skin-Plugin’s functions.php:

add_filter( 'immomakler_cart_add_to_cart', function() {
return 'auf Merkliste';
} );

The icons of the save button (active/inactive) use Bootstrap Glyphicons and can be changed via filters. Please add the following filters to the functions.php of your WP-ImmoMakler Child-Skin-Plugin:

add_filter( 'immomakler_cart_checked_class', function() {
return 'glyphicon-heart';
} );
add_filter( 'immomakler_cart_unchecked_class', function() {
return 'glyphicon-heart-empty';
} );

WP-ImmoMakler ships with these glyphicons: glyphicon-heart, glyphicon-heart-empty, glyphicon-star, glyphicon-star-empty, glyphicon-bookmark, glyphicon-check, glyphicon-unchecked, glyphicon-ok, glyphicon-link, and glyphicon-file. For a different glyphicon, enable the “Vollständiges Bootstrap CSS und vollständige glyphicons verwenden” option, see Settings: Display.