How to hide GENERIC provider to all users?
Generic is set as default payment provider in /page/payment-details for some custom settings, atm only for currency setting. This may be confusing to users across all levels, even when they read the note: ''Isn't used to process payments directly. Is needed to store personal settings for usage in the other providers.''
So I wonder how to HIDE this Generic Provider to all levels except admin-level?
-
-
·
LeonidS
- ·
Hello @Peter !
It is possible to remove via the adding the RAW block with the following content:
</em></p><p><em> $(".bx_payment_form_details_wrapper .bx-form-section-wrapper").first().remove();</em></p><p><em>
on the Studio->Pages->Payments->Payment details section, after the main block. In this case, you may manage the level's visibility too.
-
·
LeonidS
-
- · Peter
-
·
In reply to LeonidS
- ·
Wow @LeonidS ! Of course works like a charm, you made my day! Thank You!
-
- · Karina
-
·
In reply to LeonidS
- ·
I tried this code but it didn't work for me. I also don't have that "generic" as one of my payments provider, but my Payment Details block looks like this: see images below.
-
- · Peter
- ·
Dear @LeonidS , the hide generic thing does not work in 13.1. any longer - what has changed?
-
You can hide it with CSS instead:
<style>
#bx-form-section-provider_1_begin{ display: none;} </style> -
Thank You very much Corey, will give it a try and report.