Hey. Is there any way to add text to the space between "profile info"and “proceed to stripe”? I’d like it to say something like: “we partner with stripe to ensure secure payment processing.” I look forward to your response.
Thanks
Hey. Is there any way to add text to the space between "profile info"and “proceed to stripe”? I’d like it to say something like: “we partner with stripe to ensure secure payment processing.” I look forward to your response.
Thanks
Hello,
Your question is not really related to HivePress, AFAIK, but to WooCommerce.
Anyway, here a possible solution, I implemented on a client website ![]()
// Display trust badges on checkout page
function approved_trust_badges() {
echo '<div class="trust-badges" style="text-align:center;width:100%;padding-top:20px;"><img src="/wp-content/plugins/grandsespaces/img/stripe-badge-white-opti.png" width="520" height="170" alt="paiement sécurisé par SystemPay" />
<div class="trust-badge-message">Paiement sécurisé par Stripe</div>
</div>';
}
add_action( 'woocommerce_review_order_after_submit', 'approved_trust_badges' );
This would display the image after the checkout button like so :
If you want to put it somewhere else on the checkout page, refer to this page, and apply the right hook.
Thank me later
Thanks. This does help but i want people to know why they’re being taken to stripe.
Hello,
You can edit the content to your like, and place it wherever you want based on what I mentioned earlier.
Regards,
I just implemented your suggestions and I believe that they only affected the checkout page. I’m looking to make changes to the registration page that new vendors must complete before they are allowed to post a listing.
There was a bit of misunderstanding.
If you want to add some text on top of the listing form, you could use this :
add_filter(
'hivepress/v1/forms/listing_submit',
function( $form ) {
$form['description'] = "Hello World";
return $form;
},
1000
);
Likewise, you can also add some description to each field :
e.g for images :
add_filter(
'hivepress/v1/forms/listing_update',
function( $form ) {
if(isset($form['fields']['images'])){
$form['fields']['images']['description'] = 'my image description goes here';
}
return $form;
},
1000
);
Hope that helps.
My apologies if I’m not explaining things clearly. Here’s a link to the page I’d like to make the changes to ( Sign In – myflocc.com ). I’ve also attached an image pointing out where I’d like to insert the text.
Do you need description for the proceed button?
Yes. Something explaining why they are being taken to stripe.
Hi,
Please check the solution in this topic: https://community.hivepress.io/t/add-helping-text-to-the-continue-with-stripe-button/4207
I hope this is helpful to you.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.