Last active
August 29, 2022 09:29
-
-
Save kimcoleman/0395f6b8b12641b7156b6b8d56fb474e to your computer and use it in GitHub Desktop.
Sample content for Sitewide Sales: Fancy Coupon Template for WooCommerce
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Sale Type: WooCommerce | |
* Sale Template: Fancy Coupon | |
*/ | |
// Landing Page Content: | |
<!-- wp:swsales/sale-content {"period":"pre-sale"} --> | |
<div class="wp-block-swsales-sale-content"><!-- wp:heading {"level":1} --> | |
<h1>Sale Coming Soon!</h1> | |
<!-- /wp:heading --> | |
<!-- wp:heading {"level":4} --> | |
<h4>Get ready for the best sale ever. Coming January 2230!</h4> | |
<!-- /wp:heading --> | |
<!-- wp:buttons --> | |
<div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"black","style":{"border":{"radius":"100px"}},"fontSize":"medium"} --> | |
<div class="wp-block-button has-custom-font-size has-medium-font-size"><a class="wp-block-button__link has-black-background-color has-background" style="border-radius:100px"><strong>Join Our Email List »</strong></a></div> | |
<!-- /wp:button --></div> | |
<!-- /wp:buttons --></div> | |
<!-- /wp:swsales/sale-content --> | |
<!-- wp:swsales/sale-content {"period":"sale"} --> | |
<div class="wp-block-swsales-sale-content"><!-- wp:heading {"level":1} --> | |
<h1>Fancy Coupon Sale On Now</h1> | |
<!-- /wp:heading --> | |
<!-- wp:heading {"level":4} --> | |
<h4>Save 50% on everything—sale ends 11/30.</h4> | |
<!-- /wp:heading --> | |
<!-- wp:buttons --> | |
<div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"black","style":{"border":{"radius":"100px"}},"fontSize":"medium"} --> | |
<div class="wp-block-button has-custom-font-size has-medium-font-size"><a class="wp-block-button__link has-black-background-color has-background" style="border-radius:100px"><strong>Shop Featured Products »</strong></a></div> | |
<!-- /wp:button --></div> | |
<!-- /wp:buttons --> | |
<!-- wp:html --> | |
<br /> | |
<!-- /wp:html --> | |
<!-- wp:shortcode --> | |
[featured_products] | |
<!-- /wp:shortcode --></div> | |
<!-- /wp:swsales/sale-content --> | |
<!-- wp:swsales/sale-content {"period":"post-sale"} --> | |
<div class="wp-block-swsales-sale-content"><!-- wp:heading {"level":1} --> | |
<h1>The sale has ended!</h1> | |
<!-- /wp:heading --> | |
<!-- wp:heading {"level":4} --> | |
<h4>Sorry, this sale has ended. Look out for more fancy sales coming soon.</h4> | |
<!-- /wp:heading --> | |
<!-- wp:buttons --> | |
<div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"black","style":{"border":{"radius":"100px"}},"fontSize":"medium"} --> | |
<div class="wp-block-button has-custom-font-size has-medium-font-size"><a class="wp-block-button__link has-black-background-color has-background" style="border-radius:100px"><strong>Get in Touch »</strong></a></div> | |
<!-- /wp:button --></div> | |
<!-- /wp:buttons --></div> | |
<!-- /wp:swsales/sale-content --> | |
// Banner Title: | |
You're so fancy. | |
// Banner Content: | |
Save 50% on everything in the store! Use code: | |
// Banner Button Text: | |
Start Shopping |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment