Digital experiences for all disciplines
Forum Replies Created
-
Posted in: We hit Power Elite.
-
I have the same problem.
if you have a lot of sale products, the “asset_type=”sale-products” widget/shortcode does not work anymore. this an error and need to be fixed. please help.
It seems that there is an error if the sale price is like the regular price.
Cou have changed this to this in 1.3.3 update:
1.3.3
} else if ($asset_type == "sale-products") { // Get products on sale $product_ids_on_sale = woocommerce_get_product_ids_on_sale(); $meta_query = array(); $meta_query[] = $woocommerce->query->visibility_meta_query(); $meta_query[] = $woocommerce->query->stock_status_meta_query(); $args = array( 'no_found_rows' => 1, 'post_status' => 'publish', 'post_type' => 'product', 'orderby' => 'date', 'order' => 'ASC', 'meta_query' => $meta_query, 'post__in' => $product_ids_on_sale ); } else { $args = array( 'post_type' => 'product', 'post_status' => 'publish', 'product_cat' => $category, 'ignore_sticky_posts' => 1, 'posts_per_page' => $item_count, 'meta_key' => 'total_sales', 'orderby' => 'meta_value' ); }
1.3.2
} else if ($asset_type == "sale-products") { $args = array( 'post_type' => 'product', 'post_status' => 'publish', 'product_cat' => $category, 'ignore_sticky_posts' => 1, 'posts_per_page' => $item_count, 'meta_query' => array( array( 'key' => '_sale_price', 'value' => 0, 'compare' => '>', 'type' => 'NUMERIC' ), array( 'key' => '_visibility', 'value' => array('catalog', 'visible'), 'compare' => 'IN' ), ) ); } else { $args = array( 'post_type' => 'product', 'post_status' => 'publish', 'product_cat' => $category, 'ignore_sticky_posts' => 1, 'posts_per_page' => $item_count, 'meta_key' => 'total_sales', 'orderby' => 'meta_value' ); }
Any Solution?
problem for me too (fresh installation):
the “shops mini product” element displays all sale items and doesn’t display the number of items i choose e.g.3. effectively deeming the “number of items” section not working.
Yes, we need a clean solution here.
Great, thanks for this.
September 30, 2013 at 9:49 am in reply to: How to: Working with Categories and Subcategories? #24489Screenshot
September 30, 2013 at 9:48 am in reply to: How to: Working with Categories and Subcategories? #24486This reply has been marked as private.Try this:
.current-cat {
font-weight: bold;
}or for the full path:
.current-cat, .current-cat-parent {
font-weight: bold;
}@BBadmin: you have it?
Great, thank you.
September 27, 2013 at 5:52 pm in reply to: How to: Working with Categories and Subcategories? #24214Hi menkom, yes that is great.
Has anyone figured out the count problem?
Ok, i’m pretty sure too that they do their very best to scan al topics for serious issues and, it it a great theme! But, when a topic is open, we need 1. a quick win or 2. a clear statement from the theme support team. perhaps, the idea is a sticky topic with a roadmap which bugs are accepted and on the way with the next release. The most user report the same topics. Just an Idea 😉
Hendrik
I have version 1.3.1 … with all the small bugs ;). can you provide a quick update please? i am sure you have fixed a lot of small things in you developer version.
thanks
hendrik -
Posted in: We hit Power Elite.