Virhe tapahtui prosessoidessa esitysmallia.
The following has evaluated to null or missing:
==> useCustomURL  [in template "HYBRISPRODUCT_MACROS" at line 230, column 22]

----
Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #elseif useCustomURL && getContentVal...  [in template "HYBRISPRODUCT_MACROS" in macro "productCTA" at line 230, column 13]
	- Reached through: @productCTA noColors=true  [in template "20116#20152#HERO_HYBRIS_SINGLE" at line 31, column 9]
	~ Reached through: #nested  [in template "HYBRISPRODUCT_MACROS" in macro "productLink" at line 40, column 5]
	~ Reached through: @productLink always=true rid=rid  [in template "20116#20152#HERO_HYBRIS_SINGLE" at line 22, column 1]
----
1<#include "${templatesPath}/ADT_MACROS" /> 
2<#include "${templatesPath}/HYBRISPRODUCT_MACROS" /> 
3<#assign currentArticleId = .vars['reserved-article-id'].data /> 
4<#assign hybrisProductService = serviceLocator.findService("fi.dna.liferay.integration.hybris.service.HybrisProductService") /> 
5 
6<#-- always show product info and link to actual product --> 
7<#assign soldOut = false /> 
8<#assign cardUrlIsToShop = false /> 
9<#assign cardUrl = getContentValue(url) /> 
10<#assign cardExtraClass = "" /> 
11 
12<#assign recommendationIds =  (themeDisplay.getRequest().getAttribute("recommendationIds")?has_content)?then(themeDisplay.getRequest().getAttribute("recommendationIds"),'')/> 
13<#if recommendationIds?has_content> 
14    ${themeDisplay.getRequest().setAttribute("recommendationId", recommendationIds[entry.getClassPK()?c])} 
15</#if> 
16 
17<#assign rid = ''/> 
18<#if themeDisplay.getRequest().getAttribute("recommendationId")?has_content> 
19    <#assign rid = 'rid="${themeDisplay.getRequest().getAttribute("recommendationId")}"' /> 
20</#if> 
21 
22<@productLink always=true rid=rid> 
23 
24<div class="dna-card dna-card--normal dna-card--product ${cardExtraClass}"> 
25    <@productImage/> 
26    <@productDiscountTag/> 
27    <div class="dna-card__content--text"> 
28        <@productTitle/> 
29        <@productDescription/> 
30        <@productPrice noColors=true/> 
31        <@productCTA noColors=true/> 
32    </div> 
33</div> 
34 
35</@productLink> 
36 
37<script type="text/javascript"> 
38    $(document).ready(function () { 
39        require(['dna-fi-theme/js/common/spinnerImage.es'], function (spinnerImage) { 
40            spinnerImage.initSpinnerImages('#p_p_id_${themeDisplay.getPortletDisplay().getId()}_'); 
41        }); 
42    }); 
43</script> 

LG

Tasapainoiseksi muotoiltu. Tekoälyohjattu kaksoiskamera, 6” QHD+ -näyttö ja uskomaton äänentoisto.

Tutustu LG:n puhelimiin