{"id":14287,"date":"2016-08-30T18:11:26","date_gmt":"2016-08-30T16:11:26","guid":{"rendered":"https:\/\/helpcenter.blendee.com\/article\/usare-le-condizioni-contestuali-divalore\/"},"modified":"2024-03-21T17:42:35","modified_gmt":"2024-03-21T16:42:35","slug":"usare-le-condizioni-contestuali-divalore","status":"publish","type":"article","link":"https:\/\/helpcenter.streamwise.it\/en\/article\/usare-le-condizioni-contestuali-divalore\/","title":{"rendered":"Use contextual and value conditions"},"content":{"rendered":"\n<p>Within the management of product recommendations (see if you have not already read the page <a href=\"https:\/\/helpcenter.blendee.com\/en\/article\/usare-le-condizioni-contestuali-divalore\/\" data-type=\"article\" data-id=\"2218\">\n  <b>Using mandatory and suggested conditions<\/b>\n<\/a>) there is also an extremely powerful and versatile possibility: the choice between <b>contextual<\/b> or <b>value<\/b> conditions.<\/p>\n\n<p>In order to make the contextual functionality available, it is necessary that the scripts presented on the page: <a href=\"https:\/\/helpcenter.blendee.com\/en\/article\/usare-le-condizioni-contestuali-divalore\/\" data-type=\"article\" data-id=\"2218\">\n  <b>Contextual Variables in Product recommendations<\/b>\n<\/a> have been correctly implemented.<\/p>\n\n<p>You can set contextual and value conditions once you have chosen to proceed to set up the mandatory and functional conditions of Product Recommendations.<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/helpcenter.blendee.com\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-30-alle-11.35.46.png\" data-lbwps-width=\"2832\" data-lbwps-height=\"1338\" data-lbwps-srcsmall=\"https:\/\/helpcenter.blendee.com\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-30-alle-11.35.46.png\"><img data-original=\"https:\/\/helpcenter.blendee.com\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-30-alle-11.35.46-1024x484.png\" alt=\"\" class=\"wp-image-9485\"\/><\/a><\/figure><\/div>\n<p><\/p>\n\n<h3 class=\"wp-block-heading\"><b>Contextual conditions<\/b><\/h3>\n\n<p>Contextual conditions refer to the &#8220;context&#8221; within which the personalization block will be placed. Imagine that you want to show personalized products within the &#8220;<b>Category<\/b>&#8221; page, filtered by the current (contextual) category. Just select &#8220;Category&#8221; in the drop-down menu of the condition, then choose the &#8220;Equals&#8221; option and then select &#8220;Contextual&#8221;.<\/p>\n\n<p><b>\n  <i>Please note<\/i>\n<\/b><i>: these conditions are only applicable to the Product Recommendations applicable to the website.<\/i><\/p>\n\n<h4 class=\"wp-block-heading\">\u00a0<\/h4>\n\n<h3 class=\"wp-block-heading\"><b>C<\/b><b>onditions Value<\/b><\/h3>\n\n<p>On the other hand, the <b>Value<\/b> condition behaves differently. This condition allows us to make explicit what is the value of the condition we want to apply.<\/p>\n\n<p>As an example, let&#8217;s imagine that you want to show some customization blocks on the Home Page. In one of these, let&#8217;s imagine that we want to show a set of recommended products filtered according to a specific <b>Category<\/b>.<\/p>\n\n<p>To do this we will have to choose in the drop-down menu <b>Type<\/b> -&gt; <b>Value<\/b>.<\/p>\n\n<p>Whenever possible, as in this case, the next box will show a drop-down menu that contains all the categories in the database, from which we can select the desired value.<\/p>\n\n<p><em><strong>N.B.: <\/strong> <\/em>Not all conditions have the option to enter a contextual value. This feature is only present for those values that are <a href=\"https:\/\/helpcenter.blendee.com\/en\/article\/usare-le-condizioni-contestuali-divalore\/\" data-type=\"article\" data-id=\"2218\">tracked in real time through tracking<\/a>.  <\/p>\n<div class=\"wrap-post-useful post_useful_14287\">\n<p><div style=\"color: black; margin-bottom: 15px;\"><strong>Was this content useful?<\/strong><\/div><\/p>\n<p class=\"post_useful_success post_useful_success_14287\">Thanks for contributing!<\/p>\n<div class=\"post-useful-buttons post_useful_buttons_14287\">\n<a href=\"javascript:;\" style=\"border:0px;\" title=\"Yes\" class=\"post-useful-vote post-useful-vote-yes\" data-id=\"14287\" data-rate=\"1\">Yes<\/a>\n<a href=\"javascript:;\" style=\"border:0px;\" title=\"No\" class=\"post-useful-vote post-useful-vote-no\" data-id=\"14287\" data-rate=\"0\">No<\/a>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Within the management of product recommendations (see if you have not already read the page Using mandatory and suggested conditions ) there is also an extremely powerful and versatile possibility: the choice between contextual or value conditions. In order to make the contextual functionality available, it is necessary that the scripts presented on the page: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"menu_order":0,"template":"","format":"standard","article-category":[169],"article-tag":[819,658,820],"class_list":["post-14287","article","type-article","status-publish","format-standard","hentry","article-category-web-site-product-recommendations","article-tag-contextual-conditions","article-tag-product-recommendation-en","article-tag-value-conditions"],"_links":{"self":[{"href":"https:\/\/helpcenter.streamwise.it\/en\/wp-json\/wp\/v2\/article\/14287"}],"collection":[{"href":"https:\/\/helpcenter.streamwise.it\/en\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/helpcenter.streamwise.it\/en\/wp-json\/wp\/v2\/types\/article"}],"author":[{"embeddable":true,"href":"https:\/\/helpcenter.streamwise.it\/en\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":3,"href":"https:\/\/helpcenter.streamwise.it\/en\/wp-json\/wp\/v2\/article\/14287\/revisions"}],"predecessor-version":[{"id":14543,"href":"https:\/\/helpcenter.streamwise.it\/en\/wp-json\/wp\/v2\/article\/14287\/revisions\/14543"}],"wp:attachment":[{"href":"https:\/\/helpcenter.streamwise.it\/en\/wp-json\/wp\/v2\/media?parent=14287"}],"wp:term":[{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/helpcenter.streamwise.it\/en\/wp-json\/wp\/v2\/article-category?post=14287"},{"taxonomy":"article-tag","embeddable":true,"href":"https:\/\/helpcenter.streamwise.it\/en\/wp-json\/wp\/v2\/article-tag?post=14287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}