-
Notifications
You must be signed in to change notification settings - Fork 69
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
Allow reset/customization of "policies and custom text" on WooPay checkout #7196
Comments
@stephendharmadi how does the merchant know what the default text says or what we might change it to in the future? |
@frosso @stephendharmadi my copy recommendations are as follows:
Recommendation: "Display links to my privacy policy and terms of service" or more simply "Display links to store policies"
Recommendation: "We'll link your Privacy Policy and Terms of Service pages on checkout. Uncheck this box to set custom text instead. Learn more {external link icon}" Will the removal of "your" allow the text to fit on one line on desktop? If not would removing "instead" fit it on one line?
Recommendation: Remove this helper text. The helper text above the textarea provides similar guidance, the default copy itself provides guidance, as does the "Learn more" documentation.
I think this is opposite of what's shown in the GIF?
Thoughts on adding support for the usage of a |
I think your recommendations look good @pierorocca 👍
Yeah, in the GIF above I was trying to showcase a merchant coming from a "base" state/new installation. I was thinking that it might become frustrating to a merchant to see the changes being reverted if they had made a change to the custom text and clicked the checkbox by mistake. I guess they could refresh the page (without saving). But if they clicked "save" in between, they'd have the "default" state (which I could see as both a pro and a con).
What setting would we use for this shortcode? |
Yup totally agree with this. That triggered my comment about how does the merchant actually see what's meant by default. I think when the new UI Preview enhancement is made, that will show the merchant exactly what will be rendered. Do you see any issue with that and keeping your model of retaining edited text? |
Ah, I see - I couldn't find it in the WC settings. The page is created as a draft on WC installation, and the option is kept as a "reminder" that the page has been created.
I don't think so - but maybe the solution can be open to whoever implements it, if one option is easier than the other. |
@pierorocca the page seems to be in "draft" - I checked your site and the page's content, it's the one created during the WC installation. |
Correct I've not published it. It's one of those policies that may or may not exist or that may simply be a part of the standard terms of service. Given there's a chance it could be published as separate to the terms of service, does it make sense to support a Yes a merchant could add 'https://proccaatomic.wpcomstaging.com/refund_returns/' to the custom text along with other copy. Our standards need to be higher than supporting only a plain text url. The shortcode approach is the most rigid while a markdown or rich text field + editor would be the most flexible option. Since we've gone with the first option for expediency, does it make sense to cover this very plausible use case? Do we have a viable path to an editor that's more capable than a textarea? |
@pierorocca adding the shortcode makes sense. Sorry if I wasn't clear - the problem I was trying to explain in this comment ( #7196 (comment) ) is that the Both scenarios are susceptible to bugs, because the merchant doesn't have the ability to set the page in its WC (or WP) settings, unlike the privacy policy or the TOS pages. |
Got it. That's definitely a miss that refund and returns is not a page type that's assignable. How plausible do you think it is a merchant will trash the default refunds and returns page and then create a different page altogether? Do you have another alternative to suggest? e.g. open an enhancement request with WooCommerce core to add ability to assign the page? Convert textarea into a markdown or rich text capable field? Or for now require merchants to link to or embed that policy in their ToS? |
I'm not sure how plausible it would be. The way I am thinking of it is that if we went with an implementation that doesn't consider this scenario, we could get an irresolvible bug on our hands (or HE time spent communicating with the merchant).
If the page is indeed something that is frequently utilized by merchants, an improvement in the WC settings would definitely be beneficial. In the current state of the settings, merchants can use the textarea to embed links - it's just not very user-friendly. |
I feel that not having anything may be equally bad or worse of an issue for those merchants that need that policy displayed. Worst case they disable WooPay. i.e. it's problematic either way. Another and probably better long term option is for core to enhance policy settings and persist the data so there's only 1 place to set these policies regardless of what checkout is used and presented to shoppers. I'll begin work on highlighting the existing state and potential improvements in a post for core platform consideration. |
This issue impacts WooPay, so assigning to team Heisenberg. (based on team responsibilities Pc2DNy-3z-p2) @frosso . Assigning as part of Gamma Triage process PcreKM-yM-p2. |
@frosso noting here that I see one live store currently has this text displayed in hosted checkout |
Description
From #6993 (comment)
Acceptance criteria
ExternalLink
component)[terms_of_service_link]
and[privacy_policy_link]
are respectively replaced by the correct links and sent to WooPay on session initialization to<a href="https://merchant-site.com/TOS-page-link" target="_blank" rel="noopener noreferrer">Terms of Service</a>
(or by the plaintextTerms of Service
, if the page doesn't exist) and<a href="https://merchant-site.com/Privacy-Policy-page-link" target="_blank" rel="noopener noreferrer">Privacy Policy</a>
(or by the plaintextPrivacy Policy
, if the page doesn't exist)Designs
Dev notes
Additional context
The text was updated successfully, but these errors were encountered: