Skip to content

Commit

Permalink
fix: version update
Browse files Browse the repository at this point in the history
  • Loading branch information
franmastromarino committed Nov 26, 2024
1 parent 1148f61 commit 11cf4a0
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 34 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions perfect-woocommerce-brands.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Plugin Name: Perfect Brands WooCommerce
* Plugin URI: https://quadlayers.com/products/perfect-woocommerce-brands/
* Description: Perfect WooCommerce Brands allows you to show product brands in your WooCommerce based store.
* Version: 3.4.5
* Version: 3.4.6
* Text Domain: perfect-woocommerce-brands
* Author: QuadLayers
* Author URI: https://quadlayers.com
Expand All @@ -23,7 +23,7 @@
define( 'PWB_PLUGIN_URL', plugins_url( '', __FILE__ ) );
define( 'PWB_PLUGIN_DIR', __DIR__ . DIRECTORY_SEPARATOR );
define( 'PWB_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
define( 'PWB_PLUGIN_VERSION', '3.4.5' );
define( 'PWB_PLUGIN_VERSION', '3.4.6' );
define( 'PWB_PLUGIN_NAME', 'Perfect WooCommerce Brands' );
define( 'PWB_PREFIX', 'pwb' );
define( 'PWB_PURCHASE_URL', 'https://quadlayers.com/products/perfect-woocommerce-brands/?utm_source=pwb_admin' );
Expand Down
6 changes: 4 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Donate link: https://quadlayers.com/products/perfect-woocommerce-brands/
Tags: woocommerce, woocommerce brands, woocommerce product, woocommerce manufacturer, woocommerce supplier, e-commerce
Requires at least: 4.7
Requires PHP: 5.6
Tested up to: 6.6
Stable tag: 3.4.5
Tested up to: 6.7
Stable tag: 3.4.6
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
WC requires at least: 4.0
Expand Down Expand Up @@ -94,6 +94,8 @@ You can also contribute [translating the plugin](https://translate.wordpress.org


== Changelog ==
= 3.4.6 =
* WooCommerce compatibility
= 3.4.5 =
* WooCommerce compatibility
= 3.4.4 =
Expand Down
44 changes: 14 additions & 30 deletions vendor_packages/wp-notice-plugin-promote.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,34 +23,30 @@
define( 'PWB_PROMOTE_CROSS_INSTALL_1_NAME', 'WooCommerce Checkout Manager' );
define( 'PWB_PROMOTE_CROSS_INSTALL_1_DESCRIPTION', esc_html__( 'This plugin allows you to add custom fields to the checkout page, related to billing, shipping or additional fields sections.', 'perfect-woocommerce-brands' ) );
define( 'PWB_PROMOTE_CROSS_INSTALL_1_URL', 'https://quadlayers.com/products/woocommerce-checkout-manager/?utm_source=pwb_admin' );
define( 'PWB_PROMOTE_CROSS_INSTALL_1_LOGO_SRC', plugins_url( '/assets/backend/img/woocommerce-checkout-manager.jpg', PWB_PLUGIN_FILE ) );
/**
* Notice cross sell 2
*/
define( 'PWB_PROMOTE_CROSS_INSTALL_2_SLUG', 'woocommerce-direct-checkout' );
define( 'PWB_PROMOTE_CROSS_INSTALL_2_NAME', 'WooCommerce Direct Checkout' );
define( 'PWB_PROMOTE_CROSS_INSTALL_2_DESCRIPTION', esc_html__( 'It allows you to reduce the steps in the checkout process by skipping the shopping cart page. This can encourage buyers to shop more and quickly. You will increase your sales reducing cart abandonment.', 'perfect-woocommerce-brands' ) );
define( 'PWB_PROMOTE_CROSS_INSTALL_2_URL', 'https://quadlayers.com/products/woocommerce-direct-checkout/?utm_source=pwb_admin' );
define( 'PWB_PROMOTE_CROSS_INSTALL_2_LOGO_SRC', plugins_url( '/assets/backend/img/woocommerce-direct-checkout.jpg', PWB_PLUGIN_FILE ) );

new \QuadLayers\WP_Notice_Plugin_Promote\Load(
PWB_PLUGIN_FILE,
array(
array(
'type' => 'ranking',
'notice_delay' => MONTH_IN_SECONDS,
'notice_delay' => 0,
'notice_logo' => PWB_PROMOTE_LOGO_SRC,
'notice_title' => sprintf(
esc_html__(
'Hello! Thank you for choosing the %s plugin!',
'perfect-woocommerce-brands'
),
PWB_PLUGIN_NAME
'notice_description' => sprintf(
esc_html__( 'Hello! %2$s We\'ve spent countless hours developing this free plugin for you and would really appreciate it if you could drop us a quick rating. Your feedback is extremely valuable to us. %3$s It helps us to get better. Thanks for using %1$s.', 'perfect-woocommerce-brands' ),
'<b>'.PWB_PLUGIN_NAME.'</b>',
'<span style="font-size: 16px;">🙂</span>',
'<br>'
),
'notice_description' => esc_html__( 'Could you please give it a 5-star rating on WordPress? Your feedback boosts our motivation, helps us promote, and continues to improve this product. Your support matters!', 'perfect-woocommerce-brands' ),
'notice_link' => PWB_PROMOTE_REVIEW_URL,
'notice_link_label' => esc_html__(
'Yes, of course!',
'perfect-woocommerce-brands'
),
'notice_more_link' => PWB_SUPPORT_URL,
'notice_more_label' => esc_html__(
'Report a bug',
Expand All @@ -64,7 +60,7 @@
'Purchase Now',
'perfect-woocommerce-brands'
),
'notice_delay' => MONTH_IN_SECONDS,
'notice_delay' => WEEK_IN_SECONDS,
'notice_logo' => PWB_PROMOTE_LOGO_SRC,
'notice_title' => esc_html__(
'Hello! We have a special gift!',
Expand All @@ -80,15 +76,11 @@
PWB_PROMOTE_PREMIUM_SELL_NAME
),
'notice_more_link' => PWB_PROMOTE_PREMIUM_SELL_URL,
'notice_more_label' => esc_html__(
'More info!',
'perfect-woocommerce-brands'
),
),
array(
'plugin_slug' => PWB_PROMOTE_CROSS_INSTALL_1_SLUG,
'notice_delay' => MONTH_IN_SECONDS * 4,
'notice_logo' => PWB_PROMOTE_LOGO_SRC,
'notice_delay' => MONTH_IN_SECONDS * 3,
'notice_logo' => PWB_PROMOTE_CROSS_INSTALL_1_LOGO_SRC,
'notice_title' => sprintf(
esc_html__(
'Hello! We want to invite you to try our %s plugin!',
Expand All @@ -97,16 +89,12 @@
PWB_PROMOTE_CROSS_INSTALL_1_NAME
),
'notice_description' => PWB_PROMOTE_CROSS_INSTALL_1_DESCRIPTION,
'notice_more_link' => PWB_PROMOTE_CROSS_INSTALL_1_URL,
'notice_more_label' => esc_html__(
'More info!',
'perfect-woocommerce-brands'
),
'notice_more_link' => PWB_PROMOTE_CROSS_INSTALL_1_URL
),
array(
'plugin_slug' => PWB_PROMOTE_CROSS_INSTALL_2_SLUG,
'notice_delay' => MONTH_IN_SECONDS * 6,
'notice_logo' => PWB_PROMOTE_LOGO_SRC,
'notice_logo' => PWB_PROMOTE_CROSS_INSTALL_2_LOGO_SRC,
'notice_title' => sprintf(
esc_html__(
'Hello! We want to invite you to try our %s plugin!',
Expand All @@ -115,11 +103,7 @@
PWB_PROMOTE_CROSS_INSTALL_2_NAME
),
'notice_description' => PWB_PROMOTE_CROSS_INSTALL_2_DESCRIPTION,
'notice_more_link' => PWB_PROMOTE_CROSS_INSTALL_2_URL,
'notice_more_label' => esc_html__(
'More info!',
'perfect-woocommerce-brands'
),
'notice_more_link' => PWB_PROMOTE_CROSS_INSTALL_2_URL
),
)
);
Expand Down

0 comments on commit 11cf4a0

Please sign in to comment.