m4nu3l
Forum Replies Created
-
Nice!
In my local computer it works for the featured products and sales…just what I need!
The only problem: when a select to not display Features and On Sales…it show the products that have the meta key as Featured before the update!
If I don’t have any featured products it show then as well…It should show “No Product to Slide”.Sorry but I’m in the hurry…must go!
Great Job!
Ah…forgot…I add the same query in the filter
function wcps_filter_query_args_extra($query_args){ }I changed your query.php and it worked…
lines for featured produtcs
if($wcps_product_featured=='yes'){ $meta_query[] = array( 'post_type' => array( 'product', 'product_variation' ), 'posts_per_page' => 16, 'post_status' => 'publish', 'tax_query' => array( array( 'taxonomy' => 'product_visibility', 'field' => 'slug', 'terms' => 'featured' ) ), ); }them I try just a simple query…
if($wcps_product_featured=='yes'){ $meta_query[] = array( 'taxonomy' => 'product_visibility', 'field' => 'slug', 'terms' => 'featured' ); }Thanks summoner!
Great suggestion…flexible shipping works great!Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Do not show field in InvoiceHello!
All the optionsecho $this->order->billing_nif; $wpo_wcpdf->custom_field('_billing_nif');are working fine!
I think you an close this support ticket!
Thanks again!
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Do not show field in InvoiceThanks!
I’ll try and give you a feedback!
Hope you have a nice weekend too!
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Do not show field in InvoiceUpdate!
Solved it!
<?php echo get_user_meta(get_post_meta( $wpo_wcpdf->export->order->id,'_customer_user',true) , 'billing_nif', true ); ?>Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Do not show field in InvoiceHello!
I have the same problem!
I tried the code! Not getting any errors – deleted the last } from R.B. code – but I not getting any output.
In a view-order page I can get the data just calling $order->billing_nif;. I can see the data in the admin area…but if I use $wpo_wcpdf->custom_field(‘billing_nif’); or the action (functions.php) I just get a empty field in the invoice – all the rest is fine!
Thanks!
Forum: Plugins
In reply to: [WooCommerce] Completed email, add SKUUpdate…
I added a filter for it in functions.php…
function your_funtion_sku_woocommerce_emails( $output, $order ) { static $run = 0; // if we've already run this filter, bail out if ( $run ) {return $output;} $args = array('show_sku'=> true); // increment our flag so we don't run again $run++; // if first run, give WooComm our updated table return $order->email_order_items_table( $args ); } add_filter( 'woocommerce_email_order_items_table', 'your_funtion_sku_woocommerce_emails', 10, 2 );Forum: Plugins
In reply to: [WooCommerce] Completed email, add SKUI had the same problem…
I added the code the template file customer-completed-order.php (copy it to your theme/woocommerce/emails) in the line 35
// turn "off" //do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email ); // new table echo $order->email_order_items_table( array( 'show_sku' => true, 'show_image' => true, '$image_size' => array( 50, 50 ), 'plain_text' => $plain_text, 'sent_to_admin' => $sent_to_admin ) );You can turn off the image (false) and you need to do the totals after in a table… :/
Forum: Plugins
In reply to: [My WP Translate] Support Child ThemesI had the same problem…
the correct path must include the name of the *.pot file
/themes/theme-child/languages/lang-child.pot
I hope it helps!
Hello,
It’s working!
Nice job!Thanks!
Hello!
Same problem… 🙁
The plugin was working great…but after WC update…got the same error (simonmm) — define(‘WP_DEBUG’, true).The WC error message:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data.Any solution!?
Thanks!