banner.php
2 years ago
coming-soon-entire-site.php
1 year ago
coming-soon-store-only.php
2 years ago
coming-soon.php
2 years ago
discount-banner-with-image.php
2 years ago
discount-banner.php
2 years ago
featured-category-cover-image.php
2 years ago
featured-category-focus.php
2 years ago
featured-category-triple.php
2 years ago
featured-products-fresh-and-tasty.php
2 years ago
filters.php
2 years ago
footer-large-dark.php
2 years ago
footer-large.php
2 years ago
footer-simple-dark.php
2 years ago
footer-simple-menu.php
2 years ago
footer-simple.php
2 years ago
footer-with-2-menus-dark.php
2 years ago
footer-with-2-menus.php
2 years ago
footer-with-3-menus.php
2 years ago
header-centered-pattern.php
2 years ago
header-essential-dark.php
2 years ago
header-essential.php
2 years ago
header-large-dark.php
2 years ago
header-large.php
2 years ago
header-minimal.php
2 years ago
hero-product-3-split.php
2 years ago
hero-product-chessboard.php
2 years ago
hero-product-split.php
2 years ago
just-arrived-full-hero.php
2 years ago
no-products-found-filters.php
1 year ago
no-products-found.php
2 years ago
product-collection-3-columns.php
2 years ago
product-collection-4-columns.php
2 years ago
product-collection-5-columns.php
2 years ago
product-collection-banner.php
2 years ago
product-collection-featured-products-5-columns.php
2 years ago
product-collection-full-grid.php
2 years ago
product-collection-grid.php
2 years ago
product-collection-rows.php
2 years ago
product-collection-simple-grid.php
2 years ago
product-collections-featured-collection.php
2 years ago
product-collections-featured-collections.php
2 years ago
product-collections-newest-arrivals.php
2 years ago
product-details-listing.php
2 years ago
product-details-pattern.php
2 years ago
product-featured-2-columns.php
2 years ago
product-hero-2-col-2-row.php
2 years ago
product-hero.php
2 years ago
product-listing-with-gallery-and-description.php
2 years ago
product-query-4-column-product-row.php
2 years ago
product-query-large-image-product-gallery.php
2 years ago
product-query-minimal-product-list.php
2 years ago
product-query-product-gallery.php
2 years ago
product-query-product-list-with-1-1-images.php
2 years ago
product-query-product-list-with-full-product-description.php
2 years ago
product-search-form.php
1 year ago
related-products.php
2 years ago
shop-by-price.php
2 years ago
small-discount-banner-with-image.php
2 years ago
social-follow-us-in-social-media.php
2 years ago
store-info-alt-image-and-text.php
2 years ago
testimonials-3-columns.php
2 years ago
testimonials-single.php
2 years ago
coming-soon-store-only.php
61 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Title: Coming Soon Store Only |
| 4 | * Slug: woocommerce/coming-soon-store-only |
| 5 | * Categories: WooCommerce |
| 6 | * Feature Flag: launch-your-store |
| 7 | * |
| 8 | * @package WooCommerce\Blocks |
| 9 | */ |
| 10 | |
| 11 | $current_theme = wp_get_theme()->get_stylesheet(); |
| 12 | $inter_font_family = 'inter'; |
| 13 | $cardo_font_family = 'cardo'; |
| 14 | |
| 15 | if ( 'twentytwentyfour' === $current_theme ) { |
| 16 | $inter_font_family = 'body'; |
| 17 | $cardo_font_family = 'heading'; |
| 18 | } |
| 19 | |
| 20 | ?> |
| 21 | |
| 22 | <!-- wp:woocommerce/coming-soon {"storeOnly":true} --> |
| 23 | <div class="wp-block-woocommerce-coming-soon"> |
| 24 | |
| 25 | <?php |
| 26 | if ( wc_current_theme_is_fse_theme() ) { |
| 27 | echo '<!-- wp:template-part {"slug":"header","tagName":"header"} /-->'; |
| 28 | } |
| 29 | ?> |
| 30 | |
| 31 | <!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"center","orientation":"vertical"}} --> |
| 32 | <div class="wp-block-group"><!-- wp:spacer --> |
| 33 | <div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div> |
| 34 | <!-- /wp:spacer --> |
| 35 | |
| 36 | <!-- wp:heading {"textAlign":"center","level":1,"fontFamily":"<?php echo esc_html( $cardo_font_family ); ?>"} --> |
| 37 | <h1 class="wp-block-heading has-text-align-center has-<?php echo esc_html( $cardo_font_family ); ?>-font-family"><?php echo esc_html__( 'Great things are on the horizon', 'woocommerce' ); ?></h1> |
| 38 | <!-- /wp:heading --> |
| 39 | |
| 40 | <!-- wp:spacer {"height":"10px"} --> |
| 41 | <div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div> |
| 42 | <!-- /wp:spacer --> |
| 43 | |
| 44 | <!-- wp:paragraph {"align":"center","fontFamily":"<?php echo esc_html( $inter_font_family ); ?>"} --> |
| 45 | <p class="has-text-align-center has-<?php echo esc_html( $inter_font_family ); ?>-font-family"><?php echo esc_html__( 'Something big is brewing! Our store is in the works and will be launching soon!', 'woocommerce' ); ?></p> |
| 46 | <!-- /wp:paragraph --> |
| 47 | |
| 48 | <!-- wp:spacer --> |
| 49 | <div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div> |
| 50 | <!-- /wp:spacer --></div> |
| 51 | <!-- /wp:group --> |
| 52 | |
| 53 | <?php |
| 54 | if ( wc_current_theme_is_fse_theme() ) { |
| 55 | echo '<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->'; |
| 56 | } |
| 57 | ?> |
| 58 | |
| 59 | <style>.woocommerce-breadcrumb {display: none;}</style></div> |
| 60 | <!-- /wp:woocommerce/coming-soon --> |
| 61 |