tomqispi
Forum Replies Created
-
Perfect @alexmigf ?? ! Thank you!
I just change a little the code to adapt it to what I exactly want :
add_filter( 'wpo_wcpdf_payment_method', function( $method, $document ) { if ( ! empty( $document ) && ! empty( $order = $document->order ) && $document->get_type() == 'invoice' && ( $order->is_paid() || $order->has_status('partially-paid') ) ) { $args = array( 'post_type' => AWCDP_POST_TYPE, 'post_parent' => $order->get_id(), 'post_status' => 'any', 'numberposts' => -1, ); $payments = wc_get_orders( $args ); $methods = array(); foreach ( $payments as $payment_order ) { $data = $payment_order->get_data(); if ( ! empty( $data['payment_method_title'] ) ) { $methods[] = sanitize_text_field( $data['payment_method_title'] ); } } $method = implode( ',', $methods ); } return $method; }, 10, 2 );
Hi @alexmigf
Thank you for this tip. Now the Payment method is written on the invoice, much better ??
But there is still a problem : whatever the status the Payment method is written. Even if the status is “pending payment”. For example when the user choose a payment method, go to the payment gateway but don’t validate it (for technical or personal reason) : the payment method is registered (and displayed on the invoice) but not payment is received.
Is it possible to display either the order status or (better) the amount really already payed?
Forum: Plugins
In reply to: [SiteTree] Fatal error on fresh install 6.0.2Thank you ??
It’s resolvedForum: Plugins
In reply to: [SiteTree] Fatal error on fresh install 6.0.2The fatal error is only when calling to the “Dashboard”. The sitemap is well displaying : https://www.guides-belleville.com/ete/sitemap/
If I comment the below loop in /wp-content/plugins/sitetree/data-model/dashboard-page-data.php , I can access to the Dashboard. And I don’t see what is missing in!
while( $pages_by_parent ) { $array = array(); $indent .= $indent_step; foreach( $options as $_page_id => $title ) { $array[$_page_id] = $title; if ( isset( $pages_by_parent[$_page_id] ) ) { foreach ( $pages_by_parent[$_page_id] as $page ) { $array[ (int) $page->ID ] = $indent . esc_attr( $page->post_title ); } unset( $pages_by_parent[$_page_id] ); } } $options = $array; }
Waiting for an answer, I will leave this loop commented.
Hello,
Now the dates are correct on my site too.
ThanksHello,
I juste activated dev version, but there is no update proposed…Hello,
Same problem for me…
I use event-manager since many years and this bug appears recently. I don’t know when, I just notice it.
I use #_EVENTDATES to display the start and end dates of the event. But now the start date displayed is the day before the one I register !
For example, on this page https://www.qispi.fr/events/le-tour-du-viso-italie-2020 #_EVENTDATES displays : 04/09/2020 – 08/09/2020
whereas in the admin form for this event, start date is 05/09/2020 and end date is 08/09/2020 .Can anybody explain that?
Forum: Plugins
In reply to: [Site Reviews] Display assigned_to post title and linkIt’s perfect ?? !
Just a last question, what about the updates of v3 as it is a beta and a manual installation. Is there automatics updates? Notifications?
Forum: Plugins
In reply to: [Site Reviews] Display assigned_to post title and linkOK, thank you, I’ll try it.
Forum: Plugins
In reply to: [Site Reviews] Display assigned_to post title and linkIs this v3 stable enough to be used on a production site?
And is it possible to switchback to v2 in case of problem?- This reply was modified 6 years, 4 months ago by tomqispi.
Forum: Plugins
In reply to: [Site Reviews] Display assigned_to post title and linkYou are right, this option was disable. It’s better now ??
But can I hide this link when the review is displayed on the assigned post?
Forum: Plugins
In reply to: [Site Reviews] Display assigned_to post title and linkOK, but that’s not what happens on my site…
On the page https://www.qispi.fr/avis the exact short code is
[site_reviews count=10 pagination=true]
and as you can see, there is no link despite the 4 reviews are assigned to the post https://www.qispi.fr/trek-au-coeur-de-la-reunion (id 1893). To prove that the reviews are assigned, you can go on this post, in the tab “avis” the short code is[site_reviews assigned_to="post_id" count="10" pagination="ajax" hide="avatar,date"]
Thank you for your help
- This reply was modified 6 years, 4 months ago by tomqispi.
Forum: Plugins
In reply to: [Site Reviews] Edit nameThank you for your answer. So I edited the database.
Good job ?? !
I upgraded to dev version 5.8.0.3 and the bug is no more here, thank you.