diff --git a/.wp-env.json b/.wp-env.json
index ec625b24d..199613a86 100644
--- a/.wp-env.json
+++ b/.wp-env.json
@@ -1,5 +1,5 @@
{
- "core": "WordPress/WordPress#tags/6.6.1",
+ "core": "WordPress/WordPress#tags/6.6.2",
"config": {
"WP_DEBUG": true,
"WP_DEBUG_LOG": true,
diff --git a/bluehost-wordpress-plugin.php b/bluehost-wordpress-plugin.php
index ddef799d2..7e4fdef21 100644
--- a/bluehost-wordpress-plugin.php
+++ b/bluehost-wordpress-plugin.php
@@ -12,10 +12,10 @@
* Plugin URI: https://bluehost.com
* Update URI: https://github.com/bluehost/bluehost-wordpress-plugin
* Description: WordPress plugin that integrates a WordPress site with the Bluehost control panel, including performance, security, and update features.
- * Version: 3.14.8
+ * Version: 3.14.9
* Requires at least: 6.4
* Requires PHP: 7.3
- * Tested up to: 6.6.1
+ * Tested up to: 6.6.2
* Author: Bluehost
* Author URI: https://bluehost.com
* Text Domain: wp-plugin-bluehost
@@ -32,7 +32,7 @@
}
// Define constants
-define( 'BLUEHOST_PLUGIN_VERSION', '3.14.8' );
+define( 'BLUEHOST_PLUGIN_VERSION', '3.14.9' );
define( 'BLUEHOST_PLUGIN_FILE', __FILE__ );
define( 'BLUEHOST_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
define( 'BLUEHOST_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
diff --git a/composer.json b/composer.json
index 94753f5b2..531abf1d5 100644
--- a/composer.json
+++ b/composer.json
@@ -78,7 +78,7 @@
"newfold-labs/wp-module-context": "^1.0.1",
"newfold-labs/wp-module-data": "^2.6.3",
"newfold-labs/wp-module-deactivation": "^1.2.3",
- "newfold-labs/wp-module-ecommerce": "^1.3.41",
+ "newfold-labs/wp-module-ecommerce": "^1.3.43",
"newfold-labs/wp-module-facebook": "^1.0.9",
"newfold-labs/wp-module-features": "^1.4.2",
"newfold-labs/wp-module-global-ctb": "^1.0.13",
@@ -86,6 +86,7 @@
"newfold-labs/wp-module-loader": "^1.0.10",
"newfold-labs/wp-module-marketplace": "^2.4.0",
"newfold-labs/wp-module-migration": "^1.0.11",
+ "newfold-labs/wp-module-my-products": "^1.0.5",
"newfold-labs/wp-module-notifications": "^1.5.0",
"newfold-labs/wp-module-onboarding": "^2.3.11",
"newfold-labs/wp-module-patterns": "^2.4.1",
diff --git a/composer.lock b/composer.lock
index 314b4b695..cd7f3bb52 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "6cb19b13ff307ad98af2649af4473ce2",
+ "content-hash": "ad4a37cf18f4dcd02781daefd2765914",
"packages": [
{
"name": "doctrine/inflector",
@@ -989,16 +989,16 @@
},
{
"name": "newfold-labs/wp-module-ecommerce",
- "version": "v1.3.41",
+ "version": "v1.3.43",
"source": {
"type": "git",
"url": "https://github.com/newfold-labs/wp-module-ecommerce.git",
- "reference": "4e4d787d6a033c2f2f3672ceaae4ae17ff41968d"
+ "reference": "a4c7c46c83cf54cf99183d442d9abdcf0c90d77e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/newfold-labs/wp-module-ecommerce/zipball/4e4d787d6a033c2f2f3672ceaae4ae17ff41968d",
- "reference": "4e4d787d6a033c2f2f3672ceaae4ae17ff41968d",
+ "url": "https://api.github.com/repos/newfold-labs/wp-module-ecommerce/zipball/a4c7c46c83cf54cf99183d442d9abdcf0c90d77e",
+ "reference": "a4c7c46c83cf54cf99183d442d9abdcf0c90d77e",
"shasum": ""
},
"require": {
@@ -1041,10 +1041,10 @@
],
"description": "Brand Agnostic eCommerce Experience",
"support": {
- "source": "https://github.com/newfold-labs/wp-module-ecommerce/tree/v1.3.41",
+ "source": "https://github.com/newfold-labs/wp-module-ecommerce/tree/v1.3.43",
"issues": "https://github.com/newfold-labs/wp-module-ecommerce/issues"
},
- "time": "2024-08-21T09:22:19+00:00"
+ "time": "2024-09-05T13:57:17+00:00"
},
{
"name": "newfold-labs/wp-module-facebook",
@@ -1481,6 +1481,65 @@
},
"time": "2024-08-21T14:04:06+00:00"
},
+ {
+ "name": "newfold-labs/wp-module-my-products",
+ "version": "1.0.5",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/newfold-labs/wp-module-my-products.git",
+ "reference": "6a0da2da3309bef8b148323b6bc14f1390d03542"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/newfold-labs/wp-module-my-products/zipball/6a0da2da3309bef8b148323b6bc14f1390d03542",
+ "reference": "6a0da2da3309bef8b148323b6bc14f1390d03542",
+ "shasum": ""
+ },
+ "require": {
+ "newfold-labs/wp-module-context": "^1.0",
+ "newfold-labs/wp-module-data": "^2.6.1",
+ "newfold-labs/wp-module-features": "^1.3.0"
+ },
+ "require-dev": {
+ "newfold-labs/wp-php-standards": "^1.2"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "NewfoldLabs\\WP\\Module\\MyProducts\\": "includes"
+ },
+ "files": [
+ "bootstrap.php"
+ ]
+ },
+ "scripts": {
+ "fix": [
+ "vendor/bin/phpcbf --standard=phpcs.xml ."
+ ],
+ "lint": [
+ "vendor/bin/phpcs --standard=phpcs.xml -s ."
+ ]
+ },
+ "license": [
+ "GPL-2.0-or-later"
+ ],
+ "authors": [
+ {
+ "name": "Vara Prasad Maruboina",
+ "email": "varaprasad.maruboina@newfold.com"
+ },
+ {
+ "name": "Girish Lokapure",
+ "email": "girish.lokapure@newfold.com"
+ }
+ ],
+ "description": "A module for rendering user-specific product data utilizing the Hiive Users API, which integrates with the Fulfilment Gateway API.",
+ "support": {
+ "source": "https://github.com/newfold-labs/wp-module-my-products/tree/1.0.5",
+ "issues": "https://github.com/newfold-labs/wp-module-my-products/issues"
+ },
+ "time": "2024-09-07T21:52:21+00:00"
+ },
{
"name": "newfold-labs/wp-module-notifications",
"version": "1.5.0",
@@ -1893,16 +1952,16 @@
},
{
"name": "newfold-labs/wp-module-staging",
- "version": "2.1.0",
+ "version": "2.1.1",
"source": {
"type": "git",
"url": "https://github.com/newfold-labs/wp-module-staging.git",
- "reference": "87116edaff795913173dd5d0dc4cb258d6cda8ef"
+ "reference": "bf00499e80ba23729dfe140e8211a325627c259c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/newfold-labs/wp-module-staging/zipball/87116edaff795913173dd5d0dc4cb258d6cda8ef",
- "reference": "87116edaff795913173dd5d0dc4cb258d6cda8ef",
+ "url": "https://api.github.com/repos/newfold-labs/wp-module-staging/zipball/bf00499e80ba23729dfe140e8211a325627c259c",
+ "reference": "bf00499e80ba23729dfe140e8211a325627c259c",
"shasum": ""
},
"require": {
@@ -1940,10 +1999,10 @@
],
"description": "Newfold module for staging functionality in brand plugins",
"support": {
- "source": "https://github.com/newfold-labs/wp-module-staging/tree/2.1.0",
+ "source": "https://github.com/newfold-labs/wp-module-staging/tree/2.1.1",
"issues": "https://github.com/newfold-labs/wp-module-staging/issues"
},
- "time": "2024-07-03T17:28:16+00:00"
+ "time": "2024-09-03T18:35:49+00:00"
},
{
"name": "newfold-labs/wp-module-survey",
@@ -3459,12 +3518,12 @@
"source": {
"type": "git",
"url": "https://github.com/Roave/SecurityAdvisories.git",
- "reference": "4d6c8b84df3bb029a1c98366a87e7768bd324a59"
+ "reference": "f6547941a3b3a96c1b20b77c6ebf126b195f814e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/4d6c8b84df3bb029a1c98366a87e7768bd324a59",
- "reference": "4d6c8b84df3bb029a1c98366a87e7768bd324a59",
+ "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/f6547941a3b3a96c1b20b77c6ebf126b195f814e",
+ "reference": "f6547941a3b3a96c1b20b77c6ebf126b195f814e",
"shasum": ""
},
"conflict": {
@@ -3684,7 +3743,7 @@
"genix/cms": "<=1.1.11",
"getformwork/formwork": "<1.13.1|==2.0.0.0-beta1",
"getgrav/grav": "<1.7.46",
- "getkirby/cms": "<=4.3",
+ "getkirby/cms": "<=3.6.6.5|>=3.7,<=3.7.5.4|>=3.8,<=3.8.4.3|>=3.9,<=3.9.8.1|>=3.10,<=3.10.1|>=4,<=4.3",
"getkirby/kirby": "<=2.5.12",
"getkirby/panel": "<2.5.14",
"getkirby/starterkit": "<=3.7.0.2",
@@ -3914,7 +3973,7 @@
"phpmyfaq/phpmyfaq": "<3.2.5|==3.2.5",
"phpoffice/common": "<0.2.9",
"phpoffice/phpexcel": "<1.8",
- "phpoffice/phpspreadsheet": "<2.2.1",
+ "phpoffice/phpspreadsheet": "<1.29.1|>=2,<2.2.1",
"phpseclib/phpseclib": "<2.0.47|>=3,<3.0.36",
"phpservermon/phpservermon": "<3.6",
"phpsysinfo/phpsysinfo": "<3.4.3",
@@ -3923,9 +3982,10 @@
"phpxmlrpc/extras": "<0.6.1",
"phpxmlrpc/phpxmlrpc": "<4.9.2",
"pi/pi": "<=2.5",
- "pimcore/admin-ui-classic-bundle": "<=1.5.1",
+ "pimcore/admin-ui-classic-bundle": "<1.5.4",
"pimcore/customer-management-framework-bundle": "<4.0.6",
"pimcore/data-hub": "<1.2.4",
+ "pimcore/data-importer": "<1.8.9|>=1.9,<1.9.3",
"pimcore/demo": "<10.3",
"pimcore/ecommerce-framework-bundle": "<1.0.10",
"pimcore/perspective-editor": "<1.5.1",
@@ -4270,7 +4330,7 @@
"type": "tidelift"
}
],
- "time": "2024-08-29T19:05:41+00:00"
+ "time": "2024-09-04T15:05:11+00:00"
},
{
"name": "squizlabs/php_codesniffer",
@@ -4354,16 +4414,16 @@
},
{
"name": "symfony/finder",
- "version": "v5.4.42",
+ "version": "v5.4.43",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
- "reference": "0724c51fa067b198e36506d2864e09a52180998a"
+ "reference": "ae25a9145a900764158d439653d5630191155ca0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/finder/zipball/0724c51fa067b198e36506d2864e09a52180998a",
- "reference": "0724c51fa067b198e36506d2864e09a52180998a",
+ "url": "https://api.github.com/repos/symfony/finder/zipball/ae25a9145a900764158d439653d5630191155ca0",
+ "reference": "ae25a9145a900764158d439653d5630191155ca0",
"shasum": ""
},
"require": {
@@ -4397,7 +4457,7 @@
"description": "Finds files and directories via an intuitive fluent interface",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/finder/tree/v5.4.42"
+ "source": "https://github.com/symfony/finder/tree/v5.4.43"
},
"funding": [
{
@@ -4413,7 +4473,7 @@
"type": "tidelift"
}
],
- "time": "2024-07-22T08:53:29+00:00"
+ "time": "2024-08-13T14:03:51+00:00"
},
{
"name": "symfony/polyfill-php80",
diff --git a/package-lock.json b/package-lock.json
index 681026ac3..0ab239448 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,26 +1,26 @@
{
"name": "bluehost-wordpress-plugin",
- "version": "3.14.8",
+ "version": "3.14.9",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "bluehost-wordpress-plugin",
- "version": "3.14.8",
+ "version": "3.14.9",
"license": "GPL-2.0-or-later",
"dependencies": {
"@heroicons/react": "^2.1.5",
- "@newfold-labs/wp-module-ecommerce": "^1.3.41",
+ "@newfold-labs/wp-module-ecommerce": "^1.3.43",
"@newfold-labs/wp-module-facebook": "1.0.7",
"@newfold-labs/wp-module-runtime": "^1.0.10",
"@newfold/ui-component-library": "^1.1.0",
"@reduxjs/toolkit": "^2.2.7",
"@wordpress/compose": "^7.6.0",
- "@wordpress/dom-ready": "^4.5.0",
+ "@wordpress/dom-ready": "^4.6.0",
"@wordpress/element": "^6.3.0",
"@wordpress/html-entities": "^4.6.0",
"@wordpress/i18n": "^5.6.0",
- "@wordpress/icons": "^10.5.0",
+ "@wordpress/icons": "^10.6.0",
"classnames": "^2.5.1",
"jquery": "^3.7.1",
"lodash": "^4.17.21",
@@ -31,12 +31,12 @@
"semver": "^7.6.3"
},
"devDependencies": {
- "@tailwindcss/forms": "^0.5.7",
+ "@tailwindcss/forms": "^0.5.8",
"@testing-library/cypress": "^10.0.2",
- "@wordpress/env": "^10.5.0",
+ "@wordpress/env": "^10.6.0",
"@wordpress/eslint-plugin": "^20.3.0",
"@wordpress/scripts": "^27.9.0",
- "cypress": "^13.13.3",
+ "cypress": "^13.14.2",
"cypress-axe": "^1.5.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.29.1",
@@ -3197,10 +3197,9 @@
}
},
"node_modules/@newfold-labs/wp-module-ecommerce": {
- "version": "1.3.41",
- "resolved": "https://npm.pkg.github.com/download/@newfold-labs/wp-module-ecommerce/1.3.41/d9a093b1da7e519c16b081619587663d85c04e2c",
- "integrity": "sha512-BWw84zCmPNxeBrh0eLg42HTywYZcbNPIC2vZXZIna3UJpdY/rjqA/AsTKhWmpCZt8pIKSqrNt8p354cFHFRbGQ==",
- "license": "GPL-2.0-or-later",
+ "version": "1.3.43",
+ "resolved": "https://npm.pkg.github.com/download/@newfold-labs/wp-module-ecommerce/1.3.43/a80b4f62baf70120810c2b09a356249f13f4dc9c",
+ "integrity": "sha512-KLZD9irH1Gv3XeySa5WtMkD0vW+rHPesruWHo7zOeWDEiBcNtX6vepjyNju795qua9LhZyjuRVgkD1FjE34o5w==",
"dependencies": {
"@faizaanceg/pandora": "^1.1.1",
"@heroicons/react": "2.1.3",
@@ -4182,15 +4181,15 @@
}
},
"node_modules/@tailwindcss/forms": {
- "version": "0.5.7",
- "resolved": "https://registry.npmjs.org/@tailwindcss/forms/-/forms-0.5.7.tgz",
- "integrity": "sha512-QE7X69iQI+ZXwldE+rzasvbJiyV/ju1FGHH0Qn2W3FKbuYtqp8LKcy6iSw79fVUT5/Vvf+0XgLCeYVG+UV6hOw==",
+ "version": "0.5.8",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/forms/-/forms-0.5.8.tgz",
+ "integrity": "sha512-DJs7B7NPD0JH7BVvdHWNviWmunlFhuEkz7FyFxE4japOWYMLl9b1D6+Z9mivJJPWr6AEbmlPqgiFRyLwFB1SgQ==",
"dev": true,
"dependencies": {
"mini-svg-data-uri": "^1.2.3"
},
"peerDependencies": {
- "tailwindcss": ">=3.0.0 || >= 3.0.0-alpha.1"
+ "tailwindcss": ">=3.0.0 || >= 3.0.0-alpha.1 || >= 4.0.0-alpha.20"
}
},
"node_modules/@tannin/compile": {
@@ -5800,9 +5799,9 @@
}
},
"node_modules/@wordpress/dom-ready": {
- "version": "4.5.0",
- "resolved": "https://registry.npmjs.org/@wordpress/dom-ready/-/dom-ready-4.5.0.tgz",
- "integrity": "sha512-5dALG1lQtoH/Rk7DWFe9DaIF2bQQM5U0x+c1lQnk1cnBJ69AijIcbZMYaMzlgngo4dVF2PnFZ/VKVSUOKghhQQ==",
+ "version": "4.6.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/dom-ready/-/dom-ready-4.6.0.tgz",
+ "integrity": "sha512-3fX1O1abmp3++FpZMPnDQygeygUggqfEvWQQQ80di/ksMEo6DXvIdtXolwDQt9WIC1WetLdI7Mf3KKVJnruyxg==",
"dependencies": {
"@babel/runtime": "^7.16.0"
},
@@ -5879,9 +5878,9 @@
}
},
"node_modules/@wordpress/env": {
- "version": "10.5.0",
- "resolved": "https://registry.npmjs.org/@wordpress/env/-/env-10.5.0.tgz",
- "integrity": "sha512-Hx+fi6qTEAuycznulkuMi4d5RDPZ6lPPAxaylpCwXNX2hgx5jrrpgnY4Zn0chBgZMpShO7BbA+zNDq2E6evvTw==",
+ "version": "10.6.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/env/-/env-10.6.0.tgz",
+ "integrity": "sha512-hK4JH5oyGUKOlSBGKx+DS64G1VN8azU1Kvpn1aob3bYYFCvtoXjKOOGmK9Gnf4f2gosYexuDS5FmAfTPqi8a8Q==",
"dev": true,
"dependencies": {
"chalk": "^4.0.0",
@@ -6071,13 +6070,13 @@
}
},
"node_modules/@wordpress/icons": {
- "version": "10.5.0",
- "resolved": "https://registry.npmjs.org/@wordpress/icons/-/icons-10.5.0.tgz",
- "integrity": "sha512-BZwKBRKoTef9uW73T+FwK6d4JlcvgdVAaz3LB5dCluXg5PLV5ufMdumAaMxKWq/Ffl92/ddt8CKIdHjxfAZF4A==",
+ "version": "10.6.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/icons/-/icons-10.6.0.tgz",
+ "integrity": "sha512-dy58bQFVee2izXA65Ptar1f8mVhL1hilOJI3BWbLWmxHr9H4VjI0ohjW4ZkAhahBG2yIvKZja/HaFMTs5O/7Xg==",
"dependencies": {
"@babel/runtime": "^7.16.0",
- "@wordpress/element": "^6.5.0",
- "@wordpress/primitives": "^4.5.0"
+ "@wordpress/element": "^6.6.0",
+ "@wordpress/primitives": "^4.6.0"
},
"engines": {
"node": ">=18.12.0",
@@ -6085,12 +6084,12 @@
}
},
"node_modules/@wordpress/icons/node_modules/@wordpress/primitives": {
- "version": "4.5.0",
- "resolved": "https://registry.npmjs.org/@wordpress/primitives/-/primitives-4.5.0.tgz",
- "integrity": "sha512-1TYCpCAr2BmYJESlD8v325GgYXSgUbrFtebwgvpMN/28CEwmPN+ORRECV41nPX4yVJ2k0kYzYxzQUGp/78xWsw==",
+ "version": "4.6.0",
+ "resolved": "https://registry.npmjs.org/@wordpress/primitives/-/primitives-4.6.0.tgz",
+ "integrity": "sha512-uu4ANmgwslB2YOyIBQDSwKTQXXqGDL9Gz5INe+UeJZBMt2uU/TGEjKcZ63dqbuM8mqlPAcdVGL52RCt7mIKEhQ==",
"dependencies": {
"@babel/runtime": "^7.16.0",
- "@wordpress/element": "^6.5.0",
+ "@wordpress/element": "^6.6.0",
"clsx": "^2.1.1"
},
"engines": {
@@ -9190,9 +9189,9 @@
}
},
"node_modules/cypress": {
- "version": "13.13.3",
- "resolved": "https://registry.npmjs.org/cypress/-/cypress-13.13.3.tgz",
- "integrity": "sha512-hUxPrdbJXhUOTzuML+y9Av7CKoYznbD83pt8g3klgpioEha0emfx4WNIuVRx0C76r0xV2MIwAW9WYiXfVJYFQw==",
+ "version": "13.14.2",
+ "resolved": "https://registry.npmjs.org/cypress/-/cypress-13.14.2.tgz",
+ "integrity": "sha512-lsiQrN17vHMB2fnvxIrKLAjOr9bPwsNbPZNrWf99s4u+DVmCY6U+w7O3GGG9FvP4EUVYaDu+guWeNLiUzBrqvA==",
"dev": true,
"hasInstallScript": true,
"dependencies": {
diff --git a/package.json b/package.json
index e2a4b2ee3..6e3090edb 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "bluehost-wordpress-plugin",
- "version": "3.14.8",
+ "version": "3.14.9",
"description": "WordPress plugin that integrates your WordPress site with the Bluehost control panel, including performance, security, and update features.",
"author": {
"name": "Bluehost",
@@ -33,17 +33,17 @@
},
"dependencies": {
"@heroicons/react": "^2.1.5",
- "@newfold-labs/wp-module-ecommerce": "^1.3.41",
+ "@newfold-labs/wp-module-ecommerce": "^1.3.43",
"@newfold-labs/wp-module-facebook": "1.0.7",
"@newfold-labs/wp-module-runtime": "^1.0.10",
"@newfold/ui-component-library": "^1.1.0",
"@reduxjs/toolkit": "^2.2.7",
"@wordpress/compose": "^7.6.0",
- "@wordpress/dom-ready": "^4.5.0",
+ "@wordpress/dom-ready": "^4.6.0",
"@wordpress/element": "^6.3.0",
"@wordpress/html-entities": "^4.6.0",
"@wordpress/i18n": "^5.6.0",
- "@wordpress/icons": "^10.5.0",
+ "@wordpress/icons": "^10.6.0",
"classnames": "^2.5.1",
"jquery": "^3.7.1",
"lodash": "^4.17.21",
@@ -54,12 +54,12 @@
"semver": "^7.6.3"
},
"devDependencies": {
- "@tailwindcss/forms": "^0.5.7",
+ "@tailwindcss/forms": "^0.5.8",
"@testing-library/cypress": "^10.0.2",
- "@wordpress/env": "^10.5.0",
+ "@wordpress/env": "^10.6.0",
"@wordpress/eslint-plugin": "^20.3.0",
"@wordpress/scripts": "^27.9.0",
- "cypress": "^13.13.3",
+ "cypress": "^13.14.2",
"cypress-axe": "^1.5.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.29.1",
diff --git a/src/app/pages/home/index.js b/src/app/pages/home/index.js
index bd7f2254c..5b41b28f6 100644
--- a/src/app/pages/home/index.js
+++ b/src/app/pages/home/index.js
@@ -1,10 +1,16 @@
import { Container, Page } from '@newfold/ui-component-library';
+import { NewfoldRuntime } from '@newfold-labs/wp-module-runtime';
import WebinarsBanner from 'App/components/webinars-banner';
import AccountCard from './accountCard';
import HelpCard from './helpCard';
import WelcomeSection from './welcomeSection';
+import MyProductSection from './myProductsSection';
const Home = () => {
+ const abTestShowMyProducts = NewfoldRuntime.hasCapability(
+ 'abTestShowMyProducts'
+ );
+
return (
@@ -17,6 +23,7 @@ const Home = () => {
+ { abTestShowMyProducts && }
);
};
diff --git a/src/app/pages/home/myProductsSection.js b/src/app/pages/home/myProductsSection.js
new file mode 100644
index 000000000..39be23d3e
--- /dev/null
+++ b/src/app/pages/home/myProductsSection.js
@@ -0,0 +1,53 @@
+import apiFetch from '@wordpress/api-fetch';
+import { useState, useEffect } from '@wordpress/element';
+import { NewfoldRuntime } from '@newfold-labs/wp-module-runtime';
+import { isJarvis } from '../../util/helpers';
+import { default as NewfoldMyProducts } from '@modules/wp-module-my-products/components/myProducts';
+
+// constants to pass to module
+const moduleConstants = {
+ text: {
+ error: __(
+ 'Oops, there was an error loading products, please try again later.',
+ 'bluehost-wordpress-plugin'
+ ),
+ noProducts: __(
+ 'Sorry, no products. Please, try again later.',
+ 'bluehost-wordpress-plugin'
+ ),
+ jarvisText: __(
+ 'Please login to your account manager to see products.',
+ 'bluehost-wordpress-plugin'
+ ),
+ title: __( 'My Products', 'bluehost-wordpress-plugin' ),
+ subTitle: __(
+ 'A list of products associated with your Bluehost hosting package. For more information, check out the ',
+ 'bluehost-wordpress-plugin'
+ ),
+ renewalText: __(
+ 'Bluehost Account Manager',
+ 'bluehost-wordpress-plugin'
+ ),
+ renewalCenterUrl: 'https://www.bluehost.com/my-account/renewal-center',
+ },
+};
+
+// methods to pass to module
+const moduleMethods = {
+ apiFetch,
+ useState,
+ useEffect,
+ NewfoldRuntime,
+ isJarvis,
+};
+
+const MyProductsSection = () => {
+ return (
+
+ );
+};
+
+export default MyProductsSection;