Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solutions #357

Merged
merged 82 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
110884b
Home page plugins nudge
aratidgr8 Sep 11, 2024
0451508
Logic to display solutions banner component on Home page
aratidgr8 Sep 11, 2024
e05643e
Logic to display solutions banner component on Home page
aratidgr8 Sep 11, 2024
e291d37
Remove WPSolutionsBanner from Ecommerce and load directly in BlueHost
aratidgr8 Sep 11, 2024
50098e6
Export WPSolutionsBanner file as component from Ecommerce module to B…
aratidgr8 Sep 11, 2024
c3867d2
No existing plan view of Homepage - PRESS0-2229
aratidgr8 Sep 13, 2024
f6f3af3
No existing plan view of Homepage - PRESS0-2229
aratidgr8 Sep 13, 2024
aefdd57
PRESS0-2231: Store page CTA for Plugins & Tools page
aratidgr8 Sep 16, 2024
1db15d8
PRESS0-1719: Add WP entitlements to Next Steps
aratidgr8 Sep 24, 2024
e9517a1
Merge branch 'trunk' into PRESS0-2212
wpscholar Sep 26, 2024
405515f
Updated Solutions Banner Component as per entitlements API response
aratidgr8 Sep 30, 2024
3932eba
Updated code for homepage banner as per solutions API call response -…
aratidgr8 Oct 1, 2024
e253bc4
Remove whitespace difference change from src/components/OnboardingScr…
aratidgr8 Oct 1, 2024
2083610
Added TODO comment
aratidgr8 Oct 1, 2024
f1ff71a
Correct error text color
aratidgr8 Oct 1, 2024
6d279d4
Code updated as per Solutions Entitlement API
aratidgr8 Oct 4, 2024
316fbae
Remove commented code
aratidgr8 Oct 4, 2024
4903755
Add HTML tags handling for No existing plans features section
aratidgr8 Oct 4, 2024
13fbb5a
Remove commented code
aratidgr8 Oct 4, 2024
abc71ee
Organize Imports
aratidgr8 Oct 4, 2024
8e13162
Code review comments resolved
aratidgr8 Oct 8, 2024
fff299d
custom button text
aratidgr8 Oct 8, 2024
bcde247
Plugin install & activate logic added in Homepage Banner
aratidgr8 Oct 9, 2024
d634220
PR comments
aratidgr8 Oct 9, 2024
1c4a5a1
Merge pull request #350 from newfold-labs/PRESS0-2212
circlecube Oct 9, 2024
7edf629
module version bump to 1.4.0-beta
circlecube Oct 9, 2024
981c25b
run `npm run build`
circlecube Oct 9, 2024
f279b30
show `Explore the features included with your solution` in next steps…
ramyakrishnai Oct 10, 2024
1ce6a55
PRESS0-2275 fix
aratidgr8 Oct 10, 2024
41b2c63
Removed "Booking & Appointments and "Gift Cards" cards if no solution
mamatharao05 Oct 10, 2024
6dcf058
Updated code review suggestion
mamatharao05 Oct 10, 2024
ab3cd0b
Typo
mamatharao05 Oct 10, 2024
c738715
Extra spaces removed
mamatharao05 Oct 10, 2024
7f340be
Merge branch 'solutions' into Fix/PRESS0-2283
mamatharao05 Oct 10, 2024
3e55ab0
Removed purchase option if hasSolution is true and hasYithExtended is…
mamatharao05 Oct 10, 2024
f32574f
Merge branch 'Fix/PRESS0-2283' of https://github.com/newfold-labs/wp-…
mamatharao05 Oct 10, 2024
486695c
PRESS0-2276 - fixes
aratidgr8 Oct 10, 2024
4af4628
Merge pull request #359 from newfold-labs/fix/PRESS0-2280
circlecube Oct 10, 2024
5eeb6c8
Merge pull request #361 from newfold-labs/Fix/PRESS0-2283
circlecube Oct 10, 2024
4b22271
Merge pull request #360 from newfold-labs/fix/solutions-bug-fixes
circlecube Oct 10, 2024
7a06d80
module version bump to 1.4.0-beta.2
circlecube Oct 10, 2024
e764c5f
PRESS0-2276 - fixes
aratidgr8 Oct 10, 2024
4283b3f
remove comments
circlecube Oct 10, 2024
1606fe2
use index value in key
circlecube Oct 10, 2024
b6451dc
Merge pull request #362 from newfold-labs/fix/solutions-bug-fixes
circlecube Oct 10, 2024
8fe1c5b
Add condition to check solutions availability for My plugins & tools …
aratidgr8 Oct 14, 2024
3607613
PRESS-2276 QA fixes
aratidgr8 Oct 15, 2024
2a3090e
Changes as per Micahs comment on PRESS0-2276 on 14th Oct
aratidgr8 Oct 15, 2024
8225de4
Prep for 1.4.0-beta.3 release
wpscholar Oct 16, 2024
3671bcd
Fix react console warnings for Home page
aratidgr8 Oct 16, 2024
e490d15
Data attributes updated as discussed with Arun
aratidgr8 Oct 16, 2024
a463e88
Data attributes & values updated in constants & plugins.php files
aratidgr8 Oct 16, 2024
270f9d5
Merge pull request #364 from newfold-labs/fix/react-warnings-fix-for-…
wpscholar Oct 16, 2024
0c81b64
Update index.asset.php file for Ecommerce Module
aratidgr8 Oct 17, 2024
0828846
package json update
aratidgr8 Oct 17, 2024
118f0fd
Add names for all plugins in constants.js
aratidgr8 Oct 17, 2024
5952a4d
Update package version
aratidgr8 Oct 17, 2024
d623d63
Merge pull request #365 from newfold-labs/data-plugin-name
aratidgr8 Oct 17, 2024
a9d0bb2
Add CTB properties
wpscholar Oct 17, 2024
d7330dc
Merge branch 'solutions' of https://github.com/newfold-labs/wp-module…
wpscholar Oct 17, 2024
292e5d3
Coding standards
wpscholar Oct 17, 2024
db70956
prep for beta 6
circlecube Oct 17, 2024
6fd43ae
fix ctbid attribute
circlecube Oct 18, 2024
cfbbf0d
bump to 1.4.0-beta.7
circlecube Oct 18, 2024
6983a44
update build file `npm run build`
circlecube Oct 18, 2024
704856f
bug fixes
ramyakrishnai Oct 21, 2024
903c965
Merge pull request #366 from newfold-labs/fix/solutionsBugs
circlecube Oct 21, 2024
cc39428
updates for 1.4.0-beta.8 release
circlecube Oct 21, 2024
87fd86e
Flip wide vs narrow cards on Commerce to match layout of other solutions
wpscholar Oct 22, 2024
c6d56ee
Update card alignment and font size to match Figma
wpscholar Oct 22, 2024
3b72c31
Ran build
wpscholar Oct 22, 2024
f3a96bc
PRESS0-2231 products & services page fix
aratidgr8 Oct 22, 2024
f900ce8
hide bookking & giftcards if it is ecommecre solution
ramyakrishnai Oct 22, 2024
4ce65b4
Slugs corrected
aratidgr8 Oct 22, 2024
c5b9598
Merge branch 'fix/bugs' of https://github.com/newfold-labs/wp-module-…
aratidgr8 Oct 22, 2024
d9ab610
index.asset.php updated
aratidgr8 Oct 22, 2024
3015ec1
Display logic for no existing plan section
aratidgr8 Oct 22, 2024
bd238f6
update constants.js as per entitlement API
aratidgr8 Oct 22, 2024
2d4cd3f
added data attributes
ramyakrishnai Oct 22, 2024
83defdb
Version Upgrade to 1.4.0-beta.9
aratidgr8 Oct 22, 2024
b532459
Merge pull request #368 from newfold-labs/fix/bugs
aratidgr8 Oct 22, 2024
125efbf
Version Upgrade to 1.4.0
aratidgr8 Oct 23, 2024
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
2 changes: 1 addition & 1 deletion bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

use function NewfoldLabs\WP\ModuleLoader\register;

define( 'NFD_ECOMMERCE_MODULE_VERSION', '1.3.44' );
define( 'NFD_ECOMMERCE_MODULE_VERSION', '1.4.0' );

if ( function_exists( 'is_admin' ) && is_admin() ) {
$old_woocommerce_module_version = get_option( 'nfd_ecommerce_module_version' );
Expand Down
2 changes: 1 addition & 1 deletion build/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-api-fetch', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-url'), 'version' => '00a9f8f0dd08a3e19f74');
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-api-fetch', 'wp-data', 'wp-date', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-url'), 'version' => '06f7324e4a155909e837');
554 changes: 309 additions & 245 deletions composer.lock

Large diffs are not rendered by default.

51 changes: 50 additions & 1 deletion includes/Data/Plugins.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,55 @@ final class Plugins {
),
);

/**
* An associative array of premium plugins with their corresponding admin page URLs and file paths.
*
* @var array<string, array<string, string>> $free_plugins
*/
public static $premium_plugins = array(

//Search Engine Optimization
'wp-seo' => array(
'url' => 'admin.php?page=wpseo_dashboard#top#first-time-configuration',
'file' => 'wordpress-seo/wp-seo.php'
),
//Offer Content Courses
'sensei-lms' => array(
'url' => 'post-new.php?post_type=course',
'file' => 'sensei-lms/sensei-lms.php'
),
//Add An Affiliate Program
'yith-woocommerce-affiliates' => array(
'url' => 'admin.php?page=yith_wcaf_panel&tab=settings&sub_tab=settings-general',
'file' => 'yith-woocommerce-affiliates-premium/init.php'
),
//Setup Bookings
'yith-woocommerce-booking' => array(
'url' => 'edit.php?post_type=yith_booking&yith-plugin-fw-panel-skip-redirect=1',
'file' => 'yith-woocommerce-booking-premium/init.php'
),
//Setup A Loyalty Program
'yith-woocommerce-points-and-rewards' => array(
'url' => 'admin.php?page=yith_woocommerce_points_and_rewards&tab=points&sub_tab=points-standard',
'file' => 'yith-woocommerce-points-and-rewards-premium/init.php'
),
//Setup WishList
'yith-woocommerce-wishlist' => array(
'url' => 'admin.php?page=yith_wcwl_panel&tab=settings&sub_tab=settings-general',
'file' => 'yith-woocommerce-wishlist-premium/init.php'
),
//Enable Product Reviews
'yith-woocommerce-advanced-reviews' => array(
'url' => 'admin.php?page=yith_ywar_panel',
'file' => 'yith-woocommerce-advanced-reviews-premium/init.php'
),
//Create a Sales Campaign
'yith-woocommerce-dynamic-pricing-and-discounts' => array(
'url' => 'edit.php?post_type=ywdpd_discount&yith-plugin-fw-panel-skip-redirect=1',
'file' => 'yith-woocommerce-dynamic-pricing-and-discounts/init.php'
)
);

/**
* An associative array of supported plugins with their corresponding file paths and admin page URLs.
*
Expand Down Expand Up @@ -120,6 +169,6 @@ final class Plugins {
* @return array<string, array<string, string>> A combined array of supported and free plugins.
*/
public static function supported_plugins() {
return array_merge( self::$supported_plugins, self::$free_plugins );
return array_merge( self::$supported_plugins, self::$free_plugins, self::$premium_plugins );
}
}
Loading
Loading