newfold-labs / wp-module-ecommerce

Next-generation eCommerce Experience for WordPress sites at Newfold Digital.
GNU General Public License v2.0
10 stars 4 forks source link

Press0 1159 #308

Closed aratidgr8 closed 5 months ago

aratidgr8 commented 6 months ago

Proposed changes

JIRA: https://jira.newfold.com/browse/PRESS0-1159

Non-Ecommerce Customers Given a customer does not have the ecommerce entitlement When they navigate to wp-admin/admin.php?page=bluehost#/store Then they will be presented with the updated design of the store home page And the page will prominently display information about the ecom addon And provide an option for the customer to purchase the ecom addon via CTB Figma

Ecommerce Customers Given a customer has the ecommerce entitlement When they navigate to wp-admin/admin.php?page=bluehost#/store Then they will be presented with the updated design of the store home page And the page will display the individual products that are available with the entitlement within cards And if the plugin is not installed/activated, then we will install and activate for them when they click the CTA Figma

no Woo customers Given a customer does not have the WooCommerce plugin installed/activated When they navigate to wp-admin/admin.php?page=bluehost#/store Then they will be presented with the updated "locked" design of the store home page And what is shown is based on whether or not they have ecomm entitlement And the page will have a CTA for installing WordPress And we will install/activate behind the scenes and refresh the display to show the activated page Figma

Type of Change

Checklist

Further comments

ramyakrishnai commented 6 months ago

I saw in most of the places we're using inline styles, can we use classes instead ?