Custom PLU field in woocommerce email
Custom PLU field in woocommerce email
Custom PLU field in woocommerce email
How to configure Woocommerce Payment Methods programmatically?
Show list of woo commerce orders where particular zip code exists using pre_get_posts?
WooCommerce Shop Orders by Date
I had same problem and the solution is this function mytheme_add_woocommerce_support() { add_theme_support( ‘woocommerce’ ); } add_action( ‘after_setup_theme’, ‘mytheme_add_woocommerce_support’ );
Disable Local Attributes woo commerce
In the Edit Product screen, under the Custom Fields heading, create a new field, for example product_author. Then you need to edit your template file where you want to display the field, probably content-product.php, and call it this way: <?php echo get_post_meta($post->ID, ‘product_author’, TRUE); ?>
I had the same issue in a client site which turned out to be a php POST variable limit (1000) which is an attempt for PHP to solve some security issues. This can be easily changed via the php.ini config file ex: max_input_vars = 5000 you should also note the max_input_nesting_level But we ended up … Read more
A cleaner way to display a delimiter would be a CSS-border (like Aibrean suggested). But you can set up the filter to fit your needs: add_filter( ‘woocommerce_breadcrumb_defaults’, ‘custom_woocommerce_breadcrumbs’ ); function custom_woocommerce_breadcrumbs() { return array( ‘delimiter’ => ‘<li class=”separator”> | </li>’, ‘wrap_before’ => ‘<div><ul class=”crumbs”>’, ‘wrap_after’ => ‘</ul></div>’, ‘before’ => ‘<li>’, ‘after’ => ‘</li>’, ‘home’ => … Read more
Try using the core WooCommerce filter woocommerce_get_sku: function wpse_188691_woocommerce_get_sku( $sku, $product ) { if ( ! is_admin() ) { $parts = explode( ‘.’, $sku ); // Only first two parts $parts = array_slice( $parts, 0, 2 ); // OR all parts except last (remove above) // array_pop( $parts ); $sku = implode( ‘.’, $parts ); … Read more