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

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/component/buy-widget/buy-widget.html.twig' %}
  2. {% block buy_widget_price %}
  3.     {% if
  4.         product.extensions is not defined
  5.         or product.extensions.netiEasyCouponProduct is not defined
  6.         or product.extensions.netiEasyCouponProduct.valueType is not defined
  7.         or not config('NetiNextEasyCoupon').config.active
  8.         or 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 buy_widget_tax %}
  14.     {% if
  15.         product.extensions is not defined
  16.         or product.extensions.netiEasyCouponProduct is not defined
  17.         or product.extensions.netiEasyCouponProduct.valueType is not defined
  18.         or not config('NetiNextEasyCoupon').config.active
  19.         or product.extensions.netiEasyCouponProduct.valueType is constant('NetInventors\\NetiNextEasyCoupon\\Core\\Content\\Product\\Aggregate\\EasyCouponProductEntity::VALUE_TYPE_FIXED')
  20.     %}
  21.         {{ parent() }}
  22.     {% endif %}
  23. {% endblock %}