Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Search: add support for adding wpcom plan to the shopping cart (#43545)
* Enable adding search plans to the cart, including Atomic sites. * Enable WP.com sites and subsequent redirect to checkout. * Enable wpcom_search when processing search purchase in this way we use jetpack_Search and wpcom_search as product slugs, but add the later when submitting purchase for WP.com sites. Also, we remove notice when processing WP.com sites. * Search: discern product type depending on the type of site irrespective of the info passed in the url. * Add support for AT: move the condition checking permissions to the end not redirect to /plans. * Manage product type at checkout depending on the type of site. * Correct Jetpack site recognition. We were using a non-exisitng prop. * Add icon to the Jetpack Search description, both at /me/purchase and /my-plan tab. Also, list the product under /my-plan tab for WP.com sites. * Enable WPCOM Search purchase in development and stage environments. * Restrict jetpack_search slug to non-Atomic JP sites. * Revert "Enable WP.com sites and subsequent redirect to checkout." This reverts commit 7aabac2. * Parse monthly product option. * Enable redirect to checkout for WP.com sites in the development and stage environments. Expand the definition of the IS_DOT_COM_GET_SEARCH constant. * Remove redundant line deletion. And redundant prop introduction.
- Loading branch information