block.json
1 year ago
controller.php
1 year ago
index.asset.php
1 year ago
index.js
1 year ago
style-index-rtl.css
1 year ago
style-index.css
1 year ago
view.php
1 year ago
view.php
27 lines
| 1 | <div |
| 2 | class="sc-cart-items-submit__wrapper" |
| 3 | style="<?php echo esc_attr( $wrapper_style ); ?>" |
| 4 | > |
| 5 | <div class="wp-block-button"> |
| 6 | <a |
| 7 | <?php |
| 8 | echo wp_kses_data( |
| 9 | get_block_wrapper_attributes( |
| 10 | array( |
| 11 | 'class' => 'wp-block-button__link wp-element-button sc-button__link ' . ( $styles['classnames'] ?? '' ), |
| 12 | 'style' => $styles['css'] ?? '', |
| 13 | ) |
| 14 | ) |
| 15 | ); |
| 16 | ?> |
| 17 | href="<?php echo esc_attr( \SureCart::pages()->url( 'checkout' ) ); ?>" |
| 18 | class="wp-block-button__link wp-element-button sc-button__link" |
| 19 | data-wp-bind--disabled="state.loading" |
| 20 | data-wp-class--sc-button__link--busy="state.loading" |
| 21 | > |
| 22 | <span class="sc-spinner" aria-hidden="false"></span> |
| 23 | <span class="sc-button__link-text"><?php echo wp_kses_post( $attributes['text'] ); ?></span> |
| 24 | </a> |
| 25 | </div> |
| 26 | </div> |
| 27 |