-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Jetpack Search: enable purchases via "...search/yearly" routes. (#43865)
* Enable processing of the yearly plans. Those are defined adding /yearly to the url. We take those as default and skip including yearly in product type slug. So e.g. jetpack_search is the yearly version, while jetpack_search_monthly, its monthly version. * Correct product name retrieval. It would not work with the new route, which is shorter. * Jetpack Search for Jetpack sites should redirect to the checkout screen. Atm it is adding an empty product to the Cart and redirecting to /plans.
- Loading branch information
Showing
3 changed files
with
18 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters