From 34a403203ca2489e2d4120356bbd3081f37c9a9c Mon Sep 17 00:00:00 2001 From: Muammer Top Date: Fri, 23 Oct 2020 12:18:48 +0300 Subject: [PATCH] product options add cart --- .../views/ad-detail/partials/detail.twig | 39 ++----------------- 1 file changed, 4 insertions(+), 35 deletions(-) diff --git a/addons/default/visiosoft/advs-module/resources/views/ad-detail/partials/detail.twig b/addons/default/visiosoft/advs-module/resources/views/ad-detail/partials/detail.twig index 6d48e678c..5d44a8108 100644 --- a/addons/default/visiosoft/advs-module/resources/views/ad-detail/partials/detail.twig +++ b/addons/default/visiosoft/advs-module/resources/views/ad-detail/partials/detail.twig @@ -44,41 +44,10 @@ {{ adv.created_at|date('d/m/Y') }} - -{# {{ dd(configurations) }}#} - {% if configurations != null %} -
-
-
-
- -
-
-
-
- -
-
- -
-
-
-
- {% else %} - - {{ addBlock('ad-detail/details',{'adv':adv, 'options':options})|raw }} - {{ addBlock('ad-detail/widget-details',{'adv':adv})|raw }} - - {% endif %} + + {{ addBlock('ad-detail/details',{'adv':adv, 'options':options, 'configurations':configurations})|raw }} + {{ addBlock('ad-detail/widget-details',{'adv':adv})|raw }} + {% if adv.isCorporate == 2 %}