| @@ -8,7 +8,7 @@ | ||
| 8 | 8 | ]); |
| 9 | 9 | echo "<div $wrapper_attributes>"; |
| 10 | 10 | // inverting the condition with "!" doesn't work, even though the docs use it (although different example), so thats why we use "cart_hide_express" instead of a normal "cart_show_express". (https://developer.wordpress.org/block-editor/reference-guides/interactivity-api/api-reference/) LP 2026-02-10 |
| 11 | 11 | echo '<span data-wp-bind--hidden="woocommerce::state.cart.extensions.woo-vipps.cart_hide_express">'; |
| 12 | -Vipps::instance()->cart_express_checkout_button_html(true); // always print the html, the directive 'data-wp-bind--hidden' above will show or hide it. LP 2026-02-10 | |
| 12 | +Vipps::instance()->cart_express_checkout_button_html('minicart'); // always print the html, the directive 'data-wp-bind--hidden' above will show or hide it. LP 2026-02-10 | |
| 13 | 13 | echo '</span>'; |
| 14 | 14 | echo "</div>"; |