custom/plugins/NetiNextEasyCoupon/src/Resources/views/storefront/page/product-detail/buy-widget.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/page/product-detail/buy-widget.html.twig' %}
  2. {% block page_product_detail_price %}
  3.     {% if
  4.         page.product.extensions is not defined
  5.         or page.product.extensions.netiEasyCouponProduct is not defined
  6.         or page.product.extensions.netiEasyCouponProduct.valueType is not defined
  7.         or not config('NetiNextEasyCoupon').config.active
  8.         or page.product.extensions.netiEasyCouponProduct.valueType is constant('NetInventors\\NetiNextEasyCoupon\\Core\\Content\\Product\\Aggregate\\EasyCouponProductEntity::VALUE_TYPE_FIXED')
  9.     %}
  10.         {{ parent() }}
  11.     {% endif %}
  12. {% endblock %}
  13. {% block page_product_detail_tax %}
  14.     {% if
  15.         page.product.extensions is not defined
  16.         or page.product.extensions.netiEasyCouponProduct is not defined
  17.         or page.product.extensions.netiEasyCouponProduct.valueType is not defined
  18.         or not config('NetiNextEasyCoupon').config.active
  19.         or page.product.extensions.netiEasyCouponProduct.valueType is constant('NetInventors\\NetiNextEasyCoupon\\Core\\Content\\Product\\Aggregate\\EasyCouponProductEntity::VALUE_TYPE_FIXED')
  20.     %}
  21.         {{ parent() }}
  22.     {% endif %}
  23. {% endblock %}