kronoswolf
Forum Replies Created
-
Forum: Plugins
In reply to: [Boleto Fácil WooCommerce] Conflito com plugin de descontosAinda n?o, pois n?o apresenta erros, por enquanto desativei o desconto no depósito/transferência.
Forum: Plugins
In reply to: [WooCommerce] Display number of pending orders for the customerSorry for the late reply and thank you for your help! I’m not an expert in php, but it’s working for me.
If someone has the same problem, this is the code I am using, put the code in functions.php
//Count and display the pending payments in My Account function wc_get_customer_orders() { // Get pending customer orders $customer_orders = get_posts( array( 'numberposts' => -1, 'meta_key' => '_customer_user', 'meta_value' => get_current_user_id(), 'post_type' => wc_get_order_types(), 'post_status' => 'wc-pending', ) ); if ( count( $customer_orders ) == 0 ) { echo 'No pending payments'; } else { echo count( $customer_orders ), ' pending payments'; } } add_action( 'woocommerce_before_my_account', 'wc_get_customer_orders' );
Forum: Fixing WordPress
In reply to: .htaccess file keeps changing by itselfThank you for the reply, I’ll test all these options and come back here.
Forum: Plugins
In reply to: [Table Field Add-on for SCF and ACF] Table field in user profile not showingHi Johann, thank you for the quick answer and for fixing it!
Cheers
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Invoice Date and Order DateEwout, what can I say… you are the man!
Now everything is working 100% and I can get start on my business. I made a review of the plugin before but words and stars can’t say how much I’m thankful for your help and time.I’m still learning programming languages, mainly php, and all by myself with researching and practice. I hope to be useful too in the future.
Again, thank you very much and success!
Cheers
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Invoice Date and Order DateEdit:
*but when he pays(on a different day)
*How can I get only the invoice date and display it?(or make the order date always take the invoice date?)
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Add Payment Date to InvoicePerfect! Thank you so much for the help Ewout. Hope this can help others users too.
Cheers
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Add Payment Date to InvoiceHi Ewout!
It didn’t work, but I modified “_paid_date” to “_completed_date” and that’s exactly what I needed, thank you for the help!
Could you please help just with one more thing? The date format is not my configured date format, how can I use the corret date format with this code?
Thank you so much!
add_action( 'wpo_wcpdf_after_order_data', 'wpo_wcpdf_completed_date', 10, 2 ); function wpo_wcpdf_completed_date ($template_type, $order) { global $wpo_wcpdf; if ($template_type == 'invoice') { ?> <tr class="completed-date"> <th>Pago em:</th> <td><?php $wpo_wcpdf->custom_field('_completed_date'); ?></td> </tr> <?php } }
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Add Payment Date to InvoiceThe date on which it was paid. I’ll confirm manually clicking on “Completed”.
It’s not a big deal but I think it’s good for the customers to see the date of payment.
I’ll make some tests with this code and return here, but since now thanks for quick answer and your attention!
Forum: Plugins
In reply to: [WP-Members Membership Plugin] Custom field with unique valueHi Chad, thanks for the reply!
What if I want to make an unique ID field, there’s some example?
Thanks in advance!
Forum: Plugins
In reply to: [Claudio Sanches - Correios for WooCommerce] Dúvida CEP de OrigemOk Claudio, mesmo assim agrade?o e com certeza farei doa??es, pois é um ótimo plugin, novamente obrigado!
Forum: Plugins
In reply to: [WP-Members Membership Plugin] Allow HTML on profile custom textarea fieldsHi Chad, thanks for the reply!
I’ll wait the updates, the HTML “problem” is not a big deal, I can handle this and use WP-Members, thanks again and congratulations for the plugin!
Ok, thanks for the attention! I’ll see there on the forum.
Forum: Plugins
In reply to: [WP-Members Membership Plugin] Allow HTML on profile custom textarea fieldsForgot to mention, one of the codes I tried is:
remove_filter('pre_user_description', 'wp_filter_kses');
But this only works with native biography field, which already does it.
Thanks in advance!
Forum: Plugins
In reply to: [Fast Secure Contact Form] Attribute readonly="readonly"many thanks, it will be of great help!