Skip to content

Commit f5f9551

Browse files
v4.4.3
1 parent 1605761 commit f5f9551

File tree

12 files changed

+544
-67
lines changed

12 files changed

+544
-67
lines changed

includes/class-alg-wc-mppu.php

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Maximum Products per User for WooCommerce - Core Class.
44
*
5-
* @version 4.3.3
5+
* @version 4.4.3
66
* @since 3.9.6
77
* @author WPFactory
88
*/
@@ -24,7 +24,7 @@ class Alg_WC_MPPU {
2424
* @since 1.0.0
2525
* @var string
2626
*/
27-
public $version = '4.4.2';
27+
public $version = '4.4.3';
2828

2929
/**
3030
* @since 1.0.0
@@ -125,7 +125,7 @@ function init() {
125125
/**
126126
* add_cross_selling_library.
127127
*
128-
* @version 4.2.9
128+
* @version 4.4.3
129129
* @since 4.2.9
130130
*
131131
* @return void
@@ -136,7 +136,13 @@ function add_cross_selling_library(){
136136
}
137137
// Cross-selling library.
138138
$cross_selling = new \WPFactory\WPFactory_Cross_Selling\WPFactory_Cross_Selling();
139-
$cross_selling->setup( array( 'plugin_file_path' => $this->get_filesystem_path() ) );
139+
$cross_selling->setup( array(
140+
'plugin_file_path' => $this->get_filesystem_path(),
141+
'recommendations_box' => array(
142+
'enable' => true,
143+
'wc_settings_tab_id' => 'alg_wc_mppu',
144+
),
145+
) );
140146
$cross_selling->init();
141147
}
142148

langs/maximum-products-per-user-for-woocommerce.pot

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
# Copyright (C) 2025 WPFactory
1+
# Copyright (C) 2026 WPFactory
22
# This file is distributed under the GNU General Public License v3.0.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: maximum-products-per-user-for-woocommerce 4.4.2\n"
5+
"Project-Id-Version: maximum-products-per-user-for-woocommerce 4.4.3\n"
66
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/maximum-products-per-user-for-woocommerce\n"
77
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
88
"Language-Team: LANGUAGE <LL@li.org>\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=UTF-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"
12-
"POT-Creation-Date: 2025-12-08T20:41:56+01:00\n"
12+
"POT-Creation-Date: 2026-01-06T21:02:57+01:00\n"
1313
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1414
"X-Generator: WP-CLI 2.7.1\n"
1515
"X-Domain: maximum-products-per-user-for-woocommerce\n"
@@ -353,15 +353,15 @@ msgstr ""
353353
msgid "Saturday"
354354
msgstr ""
355355

356-
#: includes/class-alg-wc-mppu.php:159
356+
#: includes/class-alg-wc-mppu.php:165
357357
msgid "Max Products per User"
358358
msgstr ""
359359

360-
#: includes/class-alg-wc-mppu.php:160
360+
#: includes/class-alg-wc-mppu.php:166
361361
msgid "Maximum Products per User for WooCommerce"
362362
msgstr ""
363363

364-
#: includes/class-alg-wc-mppu.php:247
364+
#: includes/class-alg-wc-mppu.php:253
365365
msgid "Go Pro"
366366
msgstr ""
367367

maximum-products-per-user-for-woocommerce.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
Plugin Name: Maximum Products per User for WooCommerce
44
Plugin URI: https://wpfactory.com/item/maximum-products-per-user-for-woocommerce/
55
Description: Limit number of items your WooCommerce customers can buy (lifetime or in selected date range).
6-
Version: 4.4.2
6+
Version: 4.4.3
77
Author: WPFactory
88
Author URI: https://wpfactory.com
99
Text Domain: maximum-products-per-user-for-woocommerce
1010
Domain Path: /langs
11-
WC tested up to: 10.3
11+
WC tested up to: 10.4
1212
License: GNU General Public License v3.0
1313
License URI: http://www.gnu.org/licenses/gpl-3.0.html
1414
*/

readme.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: wpcodefactory, omardabbas, karzin, anbinder, kousikmukherjeeli
33
Tags: woocommerce, product quantity, limits, quantity restriction, order restriction
44
Requires at least: 4.4
55
Tested up to: 6.9
6-
Stable tag: 4.4.2
6+
Stable tag: 4.4.3
77
License: GNU General Public License v3.0
88
License URI: http://www.gnu.org/licenses/gpl-3.0.html
99

@@ -245,6 +245,9 @@ WPFactory has a diverse range of plugins tailored to enhance your experience, so
245245
= Is it possible that the limits could work for different products at the same time instead of the same ones?
246246
Yes, it's possible, but it's a bit of a workaround. You'll need to assign all your products to some category or tag. After that you need to enable "**Limits > Per product category**" (or "**Limits > Per product tag**"), and then set "**Limit per user**" option for that category (or tag) in "**Products > Categories > Your category > Edit**".
247247

248+
= Where do I report security bugs found in this plugin? =
249+
Please report security bugs found in the source code of the plugin through the [Patchstack Vulnerability Disclosure Program](https://patchstack.com/database/vdp/9e5fc117-4208-4864-8cde-7cbf9ebffa56). The Patchstack team will assist you with verification, CVE assignment, and notify the developers of this plugin.
250+
248251
== Installation ==
249252

250253
**Follow these simplified steps to get your plugin up and running:**
@@ -271,6 +274,11 @@ Once activated, access the plugin's settings by navigating to "WooCommerce > Set
271274

272275
== Changelog ==
273276

277+
= 4.4.3 - 06/01/2026 =
278+
* Dev - Updated Cross-Selling library from 1.0.6 to version 1.0.9.
279+
* Updated readme.
280+
* WC tested up to: 10.4.
281+
274282
= 4.4.2 - 08/12/2025 =
275283
* Fix - Fixed possible problem with the Background Processing library.
276284
* Tested up to: 6.9.

vendor/composer/installed.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -170,17 +170,17 @@
170170
},
171171
{
172172
"name": "wpfactory/wpfactory-cross-selling",
173-
"version": "v1.0.6",
174-
"version_normalized": "1.0.6.0",
173+
"version": "v1.0.9",
174+
"version_normalized": "1.0.9.0",
175175
"source": {
176176
"type": "git",
177177
"url": "https://github.com/wpcodefactory/wpfactory-cross-selling.git",
178-
"reference": "a371556ebb9bdadc8e5aa0f19bf7ecb5c69636c5"
178+
"reference": "8bd6caf3de67eeff5164a7a9a8cfd5c01c472a06"
179179
},
180180
"dist": {
181181
"type": "zip",
182-
"url": "https://api.github.com/repos/wpcodefactory/wpfactory-cross-selling/zipball/a371556ebb9bdadc8e5aa0f19bf7ecb5c69636c5",
183-
"reference": "a371556ebb9bdadc8e5aa0f19bf7ecb5c69636c5",
182+
"url": "https://api.github.com/repos/wpcodefactory/wpfactory-cross-selling/zipball/8bd6caf3de67eeff5164a7a9a8cfd5c01c472a06",
183+
"reference": "8bd6caf3de67eeff5164a7a9a8cfd5c01c472a06",
184184
"shasum": ""
185185
},
186186
"require": {
@@ -189,7 +189,7 @@
189189
"require-dev": {
190190
"wp-cli/wp-cli-bundle": "*"
191191
},
192-
"time": "2025-08-19T04:45:09+00:00",
192+
"time": "2025-12-22T19:17:39+00:00",
193193
"type": "library",
194194
"installation-source": "dist",
195195
"autoload": {
@@ -217,7 +217,7 @@
217217
]
218218
},
219219
"support": {
220-
"source": "https://github.com/wpcodefactory/wpfactory-cross-selling/tree/v1.0.6",
220+
"source": "https://github.com/wpcodefactory/wpfactory-cross-selling/tree/v1.0.9",
221221
"issues": "https://github.com/wpcodefactory/wpfactory-cross-selling/issues"
222222
},
223223
"install-path": "../wpfactory/wpfactory-cross-selling"

vendor/composer/installed.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
'name' => '__root__',
44
'pretty_version' => 'dev-master',
55
'version' => 'dev-master',
6-
'reference' => '4680e3258b213f37c46fd473b9fba049029923bc',
6+
'reference' => '4205514eeeb497dc71ea438100fdfce422196990',
77
'type' => 'library',
88
'install_path' => __DIR__ . '/../../',
99
'aliases' => array(),
@@ -13,7 +13,7 @@
1313
'__root__' => array(
1414
'pretty_version' => 'dev-master',
1515
'version' => 'dev-master',
16-
'reference' => '4680e3258b213f37c46fd473b9fba049029923bc',
16+
'reference' => '4205514eeeb497dc71ea438100fdfce422196990',
1717
'type' => 'library',
1818
'install_path' => __DIR__ . '/../../',
1919
'aliases' => array(),
@@ -47,9 +47,9 @@
4747
'dev_requirement' => false,
4848
),
4949
'wpfactory/wpfactory-cross-selling' => array(
50-
'pretty_version' => 'v1.0.6',
51-
'version' => '1.0.6.0',
52-
'reference' => 'a371556ebb9bdadc8e5aa0f19bf7ecb5c69636c5',
50+
'pretty_version' => 'v1.0.9',
51+
'version' => '1.0.9.0',
52+
'reference' => '8bd6caf3de67eeff5164a7a9a8cfd5c01c472a06',
5353
'type' => 'library',
5454
'install_path' => __DIR__ . '/../wpfactory/wpfactory-cross-selling',
5555
'aliases' => array(),

vendor/wpfactory/wpfactory-cross-selling/assets/css/admin.css

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,54 @@
143143
width: auto;
144144
}
145145

146+
.wpfcs-dashboard-banner {
147+
width: 100%;
148+
display: inline-block;
149+
margin: 30px 0 0;
150+
text-align: center;
151+
}
152+
.wpfcs-dashboard-banner:last-child {
153+
margin-bottom: 30px;
154+
text-align: center;
155+
}
156+
.wpfcs-dashboard-banner img {
157+
max-width: 100%;
158+
height: auto;
159+
}
160+
161+
.wpfcs-dashboard-banner-inner {
162+
display: inline-block;
163+
position: relative;
164+
}
165+
166+
.wpfcs-dashboard-banner-close-btn {
167+
position: absolute;
168+
top: -12px;
169+
background: #2d2d2d;
170+
border-radius: 27px;
171+
cursor: pointer;
172+
border: none;
173+
}
174+
.wpfcs-dashboard-banner-close-btn:hover {
175+
background: #2271b1;
176+
}
177+
.wpfcs-dashboard-banner-close-btn .dashicons-before {
178+
display: block;
179+
position: relative;
180+
left: -6px;
181+
top: -1px;
182+
}
183+
.wpfcs-dashboard-banner-close-btn .dashicons-before:before {
184+
font-size: 25px;
185+
margin: 1px 0 0 0.5px;
186+
color: #f0f0f1;
187+
}
188+
189+
.wpfcs-dashboard-banner-close-btn, .wpfcs-dashboard-banner-close-btn .dashicons-before::before {
190+
width: 27px;
191+
height: 27px;
192+
}
193+
146194
.wrap.woocommerce .form-table {
147195
table-layout: auto;
148196
}

vendor/wpfactory/wpfactory-cross-selling/assets/css/admin.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/wpfactory/wpfactory-cross-selling/langs/wpfactory-cross-selling.pot

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,15 @@ msgstr ""
77
"MIME-Version: 1.0\n"
88
"Content-Type: text/plain; charset=UTF-8\n"
99
"Content-Transfer-Encoding: 8bit\n"
10-
"POT-Creation-Date: 2025-08-18T22:06:50+02:00\n"
10+
"POT-Creation-Date: 2025-12-17T21:04:23+01:00\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"X-Generator: WP-CLI 2.12.0\n"
1313
"X-Domain: wpfactory-cross-selling\n"
1414

15+
#: class-banners.php:263
16+
msgid "Close"
17+
msgstr ""
18+
1519
#: class-products.php:46
1620
msgid "EAN Barcode Generator for WooCommerce: UPC, ISBN & GTIN Inventory"
1721
msgstr ""
@@ -212,15 +216,15 @@ msgstr ""
212216
msgid "WP Utilities"
213217
msgstr ""
214218

215-
#: class-recommendations-box.php:120
219+
#: class-recommendations-box.php:123
216220
msgid "Recommended Plugins"
217221
msgstr ""
218222

219-
#: class-wpfactory-cross-selling.php:103
223+
#: class-wpfactory-cross-selling.php:104
220224
msgid "WPFactory Recommendations"
221225
msgstr ""
222226

223-
#: class-wpfactory-cross-selling.php:104
224-
#: class-wpfactory-cross-selling.php:113
227+
#: class-wpfactory-cross-selling.php:105
228+
#: class-wpfactory-cross-selling.php:114
225229
msgid "Recommendations"
226230
msgstr ""

0 commit comments

Comments
 (0)