Skip to content

Commit

Permalink
MOL-1243: Fix subscriptions as variants (#621)
Browse files Browse the repository at this point in the history
* MOL-1243: Fix subscriptions as variants

* MOL-1243: override block

* MOL-1243: cleanup

---------

Co-authored-by: Vitalij Mik <[email protected]>
  • Loading branch information
BlackScorp and Vitalij Mik authored Sep 22, 2023
1 parent a7485fc commit 0590ca4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% sw_extends '@Storefront/storefront/component/buy-widget/buy-widget-form.html.twig' %}

{% block buy_widget_buy_container %}
{% block buy_widget_buy_button %}

{% if mollie_subscriptions_enabled and product.customFields.mollie_payments_product_subscription_enabled %}
<button class="btn btn-primary btn-block btn-buy" title="{{ "molliePayments.subscriptions.product.addToCartText"|trans|sw_sanitize }}" aria-label="{{ "molliePayments.subscriptions.product.addToCartText"|trans|sw_sanitize }}">
Expand Down

0 comments on commit 0590ca4

Please sign in to comment.