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
add_filter( 'woocommerce_add_cart_item_data', 'ps_empty_cart', 10, 3); | |
function ps_empty_cart( $cart_item_data, $product_id, $variation_id ) { | |
global $woocommerce; | |
$woocommerce->cart->empty_cart(); | |
// Do nothing with the data and return | |
return $cart_item_data; | |
} |
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
function beaveraddons_popup_box() { | |
echo do_shortcode('[fl_builder_insert_layout slug="site-wide-popup"]'); | |
} | |
add_action('fl_after_content', 'beaveraddons_popup_box'); |
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
.form-style-10 { | |
background-image: url('https://wpbeaveraddons.com/wp-content/uploads/2016/06/demo-3.jpg'); | |
background-repeat: no-repeat; | |
background-size: cover; | |
padding: 50px; | |
position: relative; | |
} | |
.form-style-10:before { | |
content: ""; |
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
.form-style-8 { | |
background: #f52945; | |
padding: 50px | |
} | |
.form-style-8 .fl-input-group { | |
margin-bottom: 20px; | |
} | |
.form-style-8 .fl-input-group input, | |
.form-style-8 .fl-input-group textarea { |
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
.form-style-7 { | |
background-image: url('https://wpbeaveraddons.com/wp-content/uploads/2016/07/explore-unsplash.jpg'); | |
background-repeat: no-repeat; | |
background-size: cover; | |
padding: 50px; | |
position: relative; | |
} | |
.form-style-7:before { | |
content: ""; |
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
.subscribe-form-1 { | |
padding: 30px; | |
background: #1a1948; | |
} | |
.subscribe-form-1 a.fl-button { | |
box-shadow: 2px 2px 3px #4c9038; | |
} | |
.subscribe-form-1 .fl-form-field input { |
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
.subscribe-form-2 { | |
background: #c559bd; | |
padding: 40px 40px 30px; | |
} | |
.subscribe-form-2 .fl-form-field { | |
width: 38%; | |
display: inline-block; | |
} |
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
.subscribe-form-3 { | |
padding: 30px; | |
background: #efe46a; | |
} | |
.subscribe-form-3 .fl-form-field { | |
padding-right: 0 !important; | |
} | |
.subscribe-form-3 .fl-form-field input { | |
border: 1px solid #000; | |
background: transparent; |
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
.subscribe-form-5 { | |
padding: 30px; | |
background: #78f1da; | |
} | |
.subscribe-form-5 .fl-form-field { | |
width: 49.5%; | |
display: inline-block; | |
} |