Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": [["@babel/preset-env", { "targets": "defaults" }]]
}
10 changes: 3 additions & 7 deletions .distignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,18 @@
/.github
/node_modules
/admin/src/
/admin/assets/scss/
/admin/assets/scss/
/public/assets/src/

.distignore
.gitignore
.babelrc
.editorconfig
rollup.config.js
rollup.config.cjs
build.config.cjs
gulpfile.js
webpack.config.js
webpack.mix.js
webpack.mix.cjs
package.json
package-lock.json
sftp-config.json
composer.json
composer.lock
notice.json
composer.lock
24 changes: 23 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,23 @@
/node_modules/*
# ignore everything in the root except the "wp-content" directory.
!wp-content/

# ignore everything in the "wp-content" directory, except:
# "mu-plugins", "plugins", "themes" directory
wp-content/*
!wp-content/mu-plugins/
!wp-content/plugins/
!wp-content/themes/

# ignore these plugins
wp-content/plugins/hello.php

# ignore specific themes
wp-content/themes/twenty*/

# ignore node dependency directories
node_modules/

# ignore log files and databases
*.log
*.sql
*.sqlite
Binary file modified .wordpress-org/screenshot-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .wordpress-org/screenshot-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .wordpress-org/screenshot-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed .wordpress-org/screenshot-5.png
Binary file not shown.
66 changes: 10 additions & 56 deletions README.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
=== Addonify Floating Cart For WooCommerce ===

Contributors: addonify
Tags: cart, ajax, ajax cart, woocommerce, woocommerce cart, floating cart, side cart, woo cart, woocommerce floating cart, woocommerce side cart, fly cart
Requires at least: 6.0.0
Tags: cart, woocommerce, woocommerce cart, floating cart, side cart, woo cart, woocommerce floating cart, woocommerce side cart, ajax cart
Requires at least: 5.9 or higher
Requires PHP: 7.4
Tested up to: 6.4.0
Stable tag: 1.2.2
Tested up to: 6.2.2
Stable tag: 1.1.9
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand All @@ -17,7 +17,7 @@ Addonify Floating Cart is a free WooCommerce addon that adds an interactive stic

Addonify Floating Cart is packed with lots of features and functionalities. The necessary cart actions such as adding product into the cart, removing product from the cart with undo functionality, updating cart quantities, applying coupon discounts etc. The sidebar shopping cart can be toggled on floating cart button click, or Add to Cart button click, or toast notification button click, or View Cart button click.

For visitors attention, display toast notification when a product is added into the cart and display shopping cart when clicked on it. Also to provide information on the schemes that you have created to engage visitors, display shopping meter with targeted amount and interactive custom text.
For vistors attention, display toast notification when a product is added into the cart and display shopping cart when clicked on it. Also to provide information on the schemes that you have created to engage visitors, display shopping meter with targeted amount and interactive custom text.

🌍 [Live Demo Preview](https://demo.addonify.com/woo/01/floating-cart/)
📋 [Documentation Guide](https://docs.addonify.com/kb/floating-cart/)
Expand All @@ -39,8 +39,6 @@ For visitors attention, display toast notification when a product is added into
- Sidebar cart display position.
- Toast notification when product is added into the cart.
- Open cart when product is added to the WooCommerce cart.
- Open cart when trigger button is hovered.
- Conditionally disable floating cart on cart and checkout pages.
- Choose shipping address and calculate shipping cost in the cart.
- Supports TAX calculation in the cart.
- Supports all WooCommerce product types.
Expand Down Expand Up @@ -75,7 +73,7 @@ We are open to any kind of discussions that can help improve this plugin. Share

#### 🌐 TRANSLATIONS

If you wish Addonify Floating Cart to be translated in your language, feel free to contribute translating at [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/addonify-floating-cart) directly.
If you wish Addonify Floating Cart to be translated in your language, feel free to contribute translating at [*transalte.wordpress.org*](https://translate.wordpress.org/projects/wp-plugins/addonify-floating-cart) directly.


== Frequently Asked Questions ==
Expand Down Expand Up @@ -109,57 +107,13 @@ Floating cart button and sidebar shopping cart will not be visible on cart and c

1. Addonify Floating Cart setting page on admin dashboard.
2. Addonify Floating Cart design setting page on admin dashboard.
3. Floating Cart drawer on the Front-End.
4. Floating Cart discount section on the Front-End.
4. Floating Cart shipping section on the Front-End.
3. Floating Cart drawer on frontend.
4. Floating Cart discount section on frontend.


== Changelog ==

= 1.2.2 - 31 October, 2023 =

- Added: RTL CSS.
- Added: JavaScript API.
- Improvement: Code refactoring (Public JS).
- Tested: WordPress v6.4
- Tested: WooCommerce 8.2.1
- Dev: Replaced Gulp with Rollup for bundling JS & SCSS files.

= 1.2.1 - 11 September, 2023 =

- Fix: Issue caused by rendering of cart sidebar modal template in cart and checkout page.
- Update: Checked whether the cart fragments is undefined and is object in `added_to_cart` JS event.
- Improvement: Code refactoring.
- Tweak: Plugin setting page header design.

= 1.2.0 - 01 September, 2023 =

- New: Brand new plugin setting page design.
- Added: Option to open cart modal on trigger button hover.
- Added: Plugin setting page notification messages.
- Added: Option to set separate background color for shopping meter once the threshold amount is reached.
- Fix: Plugin setting page link in plugins listing page is displayed before `Deactivate` link.
- Fix: Documentation link in plugin setting page header section.
- Improvement: Used `plugins_loaded` hook to run the plugin.
- Improvement: Plugin setting page vue js code
- Improvement: Plugin setting page SCSS.
- Improvement: Plugin setting page REST API options.
- Improvement: Number input control (Vue JS).
- Improvement: Slider control (Vue JS).
- Updated: element-ui to v2.3.8 (Vue JS).
- Tested: WordPress version 6.3.1.
- Tested: WooCommerce version 8.0.3.


= 1.1.11 - 18 July, 2023 =

- Fix: Shopping meter threshold amount & progress bar issue. Parsed remaining threshold amount & progress bar percentage to float value before evaluating the condition. #213

= 1.1.10 - 16 July, 2023 =

- Fix: Update Cart trigger button visibility state. Now trigger button also listens the cart event. #221

= 1.1.9 - 14 July, 2023 =
= 1.1.9 - ? July, 2023 =

- Added: Option, Trigger button badge text color on hover. #218
- Added: Option, Trigger button badge background color on hover. #218
Expand Down Expand Up @@ -231,7 +185,7 @@ Floating cart button and sidebar shopping cart will not be visible on cart and c

- Update: Static texts in UDP Agents are now translation ready.
- Removed: Option for showing/hiding tax at cart footer section.
- Removed: Option for show/hide shipping calculation in floating cart. Shipping option now works with WooCommerce options.
- Removed: Option for show/hide shipping calculation in floating cart. Shippping option now works with woocommerce options.
- Added: Option for compare Shopping Meter Threshold with Subtotal Before or After Discount.


Expand Down
27 changes: 6 additions & 21 deletions addonify-floating-cart.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* Plugin Name: Addonify Floating Cart For WooCommerce
* Plugin URI: https://addonify.com/addonify-floating-cart
* Description: Addonify Floating Cart is a free WooCommerce addon that adds an interactive sticky shopping cart on your website allowing your visitors no need to go to cart page to manage their cart items.
* Version: 1.2.2
* Requires at least: 6.0.0
* Version: 1.1.9
* Requires at least: 5.9 or higher
* Requires PHP: 7.4
* Author: Addonify
* Author URI: https://addonify.com/
Expand All @@ -31,8 +31,7 @@
* Start at version 1.0.0 and use SemVer - https://semver.org
* Rename this for your plugin and update it as you release new versions.
*/
define( 'ADDONIFY_FLOATING_CART_VERSION', '1.2.2' );
define( 'ADDONIFY_FLOATING_CART_BASENAME', plugin_basename( __FILE__ ) );
define( 'ADDONIFY_FLOATING_CART_VERSION', '1.1.9' );
define( 'ADDONIFY_FLOATING_CART_PATH', plugin_dir_path( __FILE__ ) );
define( 'ADDONIFY_FLOATING_CART_DB_INITIALS', 'addonify_fc_' );

Expand Down Expand Up @@ -76,22 +75,8 @@ function deactivate_addonify_floating_cart() {
*/
function run_addonify_floating_cart() {

if ( class_exists( 'WooCommerce' ) ) {

$plugin = new Addonify_Floating_Cart();
$plugin->run();
} else {
add_action(
'admin_notices',
function() {
?>
<div class="notice notice-error is-dismissible">
<p><?php echo esc_html__( 'Addonify Floating Cart requires WooCommerce in order to work.', 'addonify-floating-cart' ); ?></p>
</div>
<?php
}
);
}
$plugin = new Addonify_Floating_Cart();
$plugin->run();

}
add_action( 'plugins_loaded', 'run_addonify_floating_cart', 50 );
run_addonify_floating_cart();
966 changes: 964 additions & 2 deletions admin/assets/css/admin.css

Large diffs are not rendered by default.

6,519 changes: 6,517 additions & 2 deletions admin/assets/js/main.js

Large diffs are not rendered by default.

Loading