Version Description
- 04.13.2016 =
- Tweak - Compatibility with products other than simple/variable (eg. Subscriptions).
Download this release
Release Info
Developer | jameskoster |
Plugin | Storefront Sticky Add to Cart |
Version | 1.1.2 |
Comparing to | |
See all releases |
Code changes from version 1.1.1 to 1.1.2
- assets/css/style.css +0 -0
- assets/css/style.scss +0 -0
- assets/js/variable.js +0 -0
- assets/js/variable.min.js +0 -0
- assets/js/waypoints.init.js +0 -0
- assets/js/waypoints.init.min.js +0 -0
- index.php +0 -0
- languages/storefront-sticky-add-to-cart.pot +0 -0
- readme.txt +5 -2
- storefront-sticky-add-to-cart.php +3 -3
assets/css/style.css
CHANGED
File without changes
|
assets/css/style.scss
CHANGED
File without changes
|
assets/js/variable.js
CHANGED
File without changes
|
assets/js/variable.min.js
CHANGED
File without changes
|
assets/js/waypoints.init.js
CHANGED
File without changes
|
assets/js/waypoints.init.min.js
CHANGED
File without changes
|
index.php
CHANGED
File without changes
|
languages/storefront-sticky-add-to-cart.pot
CHANGED
File without changes
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: jameskoster, woothemes
|
3 |
Tags: woocommerce, ecommerce, storefront, sticky
|
4 |
Requires at least: 4.0
|
5 |
-
Tested up to: 4.
|
6 |
-
Stable tag: 1.1.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -35,6 +35,9 @@ It's very simple, most of the core styles are loaded regardless. You'll just nee
|
|
35 |
|
36 |
== Changelog ==
|
37 |
|
|
|
|
|
|
|
38 |
= 1.1.1 - 03.08.2016 =
|
39 |
* Tweak - Storefront 2.0.0 compatibility.
|
40 |
* Tweak - General code tidy up.
|
2 |
Contributors: jameskoster, woothemes
|
3 |
Tags: woocommerce, ecommerce, storefront, sticky
|
4 |
Requires at least: 4.0
|
5 |
+
Tested up to: 4.5.0
|
6 |
+
Stable tag: 1.1.2
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
35 |
|
36 |
== Changelog ==
|
37 |
|
38 |
+
= 1.1.2 - 04.13.2016 =
|
39 |
+
* Tweak - Compatibility with products other than simple/variable (eg. Subscriptions).
|
40 |
+
|
41 |
= 1.1.1 - 03.08.2016 =
|
42 |
* Tweak - Storefront 2.0.0 compatibility.
|
43 |
* Tweak - General code tidy up.
|
storefront-sticky-add-to-cart.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Storefront Sticky Add to Cart
|
4 |
* Plugin URI: https://wordpress.org/plugins/storefront-sticky-add-to-cart/
|
5 |
* Description: Adds a sticky add-to-cart bar in single product pages that is revealed as the user scrolls down the page.
|
6 |
-
* Version: 1.1.
|
7 |
* Author: WooThemes
|
8 |
* Author URI: http://woothemes.com/
|
9 |
* Requires at least: 4.0.0
|
@@ -90,7 +90,7 @@ final class Storefront_Sticky_Add_to_Cart {
|
|
90 |
$this->token = 'storefront-sticky-add-to-cart';
|
91 |
$this->plugin_url = plugin_dir_url( __FILE__ );
|
92 |
$this->plugin_path = plugin_dir_path( __FILE__ );
|
93 |
-
$this->version = '1.1.
|
94 |
|
95 |
register_activation_hook( __FILE__, array( $this, 'install' ) );
|
96 |
|
@@ -297,7 +297,7 @@ final class Storefront_Sticky_Add_to_Cart {
|
|
297 |
|
298 |
if ( $product->is_type( 'simple' ) ) {
|
299 |
echo '<br /><a href="' . esc_url( $product->add_to_cart_url() ) . '" class="button alt">' . esc_attr( $product->single_add_to_cart_text() ) . '</a>';
|
300 |
-
}
|
301 |
echo '<br /><a class="button alt variable">' . esc_attr__( 'Select options', 'storefront-sticky-add-to-cart' ) . '</a>';
|
302 |
wp_enqueue_script( 'ssatc-variable' );
|
303 |
}
|
3 |
* Plugin Name: Storefront Sticky Add to Cart
|
4 |
* Plugin URI: https://wordpress.org/plugins/storefront-sticky-add-to-cart/
|
5 |
* Description: Adds a sticky add-to-cart bar in single product pages that is revealed as the user scrolls down the page.
|
6 |
+
* Version: 1.1.2
|
7 |
* Author: WooThemes
|
8 |
* Author URI: http://woothemes.com/
|
9 |
* Requires at least: 4.0.0
|
90 |
$this->token = 'storefront-sticky-add-to-cart';
|
91 |
$this->plugin_url = plugin_dir_url( __FILE__ );
|
92 |
$this->plugin_path = plugin_dir_path( __FILE__ );
|
93 |
+
$this->version = '1.1.2';
|
94 |
|
95 |
register_activation_hook( __FILE__, array( $this, 'install' ) );
|
96 |
|
297 |
|
298 |
if ( $product->is_type( 'simple' ) ) {
|
299 |
echo '<br /><a href="' . esc_url( $product->add_to_cart_url() ) . '" class="button alt">' . esc_attr( $product->single_add_to_cart_text() ) . '</a>';
|
300 |
+
} else {
|
301 |
echo '<br /><a class="button alt variable">' . esc_attr__( 'Select options', 'storefront-sticky-add-to-cart' ) . '</a>';
|
302 |
wp_enqueue_script( 'ssatc-variable' );
|
303 |
}
|