{% set ageVerification = document.getProperty('hasAgeVerification') or product.getProperty('hasAgeVerification') ?? null %} 
{% if ageVerification %} 
    {{ pimcore_inc(sitePath ~ pimcore_document(navigationStartId).path ~ app.request.locale ~ '/includes/age-verification') }} 
{% endif %}