+ + +
+
+ {% set advPhoto = count(adv.files) == 0 ? img('visiosoft.theme.base::images/no-image.png').url : null %} + {% set images = adv.getViewPhotoUrl %} + + +
+ {% set userId = setting_value('visiosoft.theme.sahibinden::default_owner') ?: adv.created_by_id %} + {% set user = setting_value('visiosoft.theme.sahibinden::default_owner') ? entries('users', 'users').find(setting_value('visiosoft.theme.sahibinden::default_owner')) : adv.created_by %} + {% set sellerInfo = setting_value('visiosoft.module.advs::hide_seller_info') %} + {% set owner = addBlock('ad-details/owner', {'userId': userId}) %} + +
+

{{ adv.name }}

+
+ {{ addBlock('ad-detail/top', {'adv': adv})|raw }} + + {{ trans('visiosoft.extension.biolife_style_provider::field.by') }}: + {% if owner %} + {{ owner|raw }} + {% else %} +
{{ user.name }}
+ {% endif %} +
+
+ {{ trans('visiosoft.extension.biolife_style_provider::field.sku') }}: #{{ adv.id }} + +

+ {{ adv.advs_desc|length > 140 ? adv.advs_desc|striptags|slice(0,140) ~ '...' : adv.advs_desc|striptags }} +

+
+ {{ adv.currency_price }} + {% if adv.currency_standard_price %} + {{ adv.currency_standard_price }} + {% endif %} +
+
+
+ {{ addBlock('ad-detail/details', {'adv':adv, 'options':options, 'configurations':configurations})|raw }} + +
+
    +
  • {{ img('visiosoft.extension.biolife_style_provider::images/card1.jpg').width(51).height(36)|raw }}
  • +
  • {{ img('visiosoft.extension.biolife_style_provider::images/card2.jpg').width(51).height(36)|raw }}
  • +
  • {{ img('visiosoft.extension.biolife_style_provider::images/card3.jpg').width(51).height(36)|raw }}
  • +
  • {{ img('visiosoft.extension.biolife_style_provider::images/card4.jpg').width(51).height(36)|raw }}
  • +
+
+
+
+ + +
+
+ +
+
+ +
+ + + + + + + + + + + + + + + +
{{ trans('visiosoft.theme.sahibinden::field.price.name') }} +

+ {% if not setting_value('visiosoft.module.advs::hide_zero_price') or adv.price != "0" %} + {{ adv.currency_price }} + {% else %} + {{ trans('visiosoft.theme.sahibinden::field.ask_for_price') }} + {% endif %} +

+
{{ trans('visiosoft.theme.sahibinden::field.ad.name') }}

{{ adv.id }}

{{ trans('visiosoft.theme.sahibinden::field.ad_date.name') }}

{{ adv.created_at|date('d/m/Y') }}

+ {{ addBlock('ad-detail/checkboxes',{'features':features})|raw }} +
+
+ {% include "visiosoft.module.advs::ad-detail/partials/map" %} +
+ {{ addBlock('ad-detail/content',{'features_detail':features, 'adv': adv})|raw }} +
+
+ + + {# TODO Link to recommended ads #} + {{ addBlock('ad-detail/section')|raw }} + +