-
Notifications
You must be signed in to change notification settings - Fork 179
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
MWPW-166076 Update a.com Business plans page CTAs to point to CME-1 M7 #3723
base: stage
Are you sure you want to change the base?
Conversation
…7 Business plans page
…7 Business plans page
|
…7 Business plans page
libs/utils/utils.js
Outdated
@@ -737,6 +763,13 @@ export function decorateLinks(el) { | |||
processQuickLink(a); | |||
})(); | |||
} | |||
|
|||
if (a.href.includes(BUSINESS_PLANS_PATH)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you explored using an autoblock for such scenario? I think it would be better instead of adding all the logic in utils.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bozojovicic - you can see caas
or faas
autoblocks for reference
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I created it libs/blocks/m7business/m7business.js
BTW, autoblock is awesome idea!
…7 Business plans page
…7 Business plans page
…7 Business plans page
…7 Business plans page
This pull request is not passing all required checks. Please see this discussion for information on how to get all checks passing. Inconsistent checks can be manually retried. If a test absolutely can not pass for a good reason, please add a comment with an explanation to the PR. |
Replace all
/creativecloud/business-plans.html
with/store/segmentation
linkswhere the
co
parameter value is read from user's profile if user is logged inotherwise it is taken from page locale.
Resolves: MWPW-166076
Test URLs: