-
Search Results
-
Hi,
First off the plugin is amazing!
We have a woocommerce store here – http://officialwatch.staging.wpengine.com/our-watches
You will see the pagination 1 – 143 pages which is correct, we are seeing the issue when you click on a page number, for example page 4 the total number reduces to 7? we are also seeing that the active state is not being updated sometimes as well.
We are using the woocommerce default pagination code:
<?php /** * Pagination - Show numbered pagination for catalog pages * * This template can be overridden by copying it to yourtheme/woocommerce/loop/pagination.php. * * HOWEVER, on occasion WooCommerce will need to update template files and you (the theme developer). * will need to copy the new files to your theme to maintain compatibility. We try to do this. * as little as possible, but it does happen. When this occurs the version of the template file will. * be bumped and the readme will list any important changes. * * @see http://docs.woothemes.com/document/template-structure/ * @author WooThemes * @package WooCommerce/Templates * @version 2.2.2 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } global $wp_query; if ( $wp_query->max_num_pages <= 1 ) { return; } ?> <nav class="woocommerce-pagination"> <?php echo paginate_links( apply_filters( 'woocommerce_pagination_args', array( 'base' => esc_url_raw( str_replace( 999999999, '%#%', remove_query_arg( 'add-to-cart', get_pagenum_link( 999999999, false ) ) ) ), 'format' => '', 'add_args' => '', 'current' => max( 1, get_query_var( 'paged' ) ), 'total' => $wp_query->max_num_pages, 'prev_text' => '←', 'next_text' => '→', 'type' => 'list', 'end_size' => 3, 'mid_size' => 3 ) ) ); ?> </nav>
Any help how to solve this would be great
ThanksSteve
For me doesn’t work, I have to display results “As an Archive” otherwise with “Woocommerce Shop” nothing is shown.
Someone has an idea?
Thanks in advance,
Fabio.
Hello! Recently purchased your plugin, enjoyed it’s flexibility, had a bit of pain setting it up, since it wasn’t designed for products in first place.
Now filters work well, BUT since there is no other way to limit filtering to one product category but to add a filter with product_cat, I’ve encountered a problem, which I’m sure any woocommerce user would encounter with this plugin.
Reset button resets not just the filters like color, size etc – it “resets” the categories as well.
There is no telling what my disappointment was, when I discovered this after sleepless night of experimenting with plugin settings, because such a critical flaw in a reset button renders the whole plugin useless for any e-shop with lots of filters.
Tried searching the forum for workarounds, but haven’t found anything.
And we absolutely need at least a workaround for this, a way to exclude product_cat from resetting with the rest of the filters, since it’s not implemented as a feature yet, because it’s so crutial.
Could you please post here some code to make this work or even give me a hint which places in your code should I edit to make this work?
Looking forward for your response!Topic: Woocommerce tag search
Hi,
Can you please tell me what to do. I have large amount of categories, subcategories and subsubcategories, and also each product has product tag. When user enters for example in one subsubcategory, there can find 20 products, 10 with tag1, 5 with tag2 and 5 with tag3.
How can i configure plugin to place that 3 tags in dropdown on that subsubcategory and not all 150?Topic: Search for custom fields
Is this possible?
I deeply modified my woocommerce website to allow interaction with my company webservices.
Actually I add products programmatically reading values from a webservice and adding later custom detailed fields.
In particular my products are tyres and wheels.
Here a screenshot of how I do that:foreach($product->children() as $field) { if($field->getName() != 'Value' && $field->getName() != 'Description' && $field->getName() != 'ProductImage') { $fieldName = (string)$field->getName(); add_custom_product_attributes($product_attributes, $fieldsArray[$fieldName]->caption, $fieldsArray[$fieldName]->tab, (string)$field); } } update_post_meta( $post_id, '_product_attributes', $product_attributes); // very important for custom fields function add_custom_product_attributes(&$product_attributes, $name, $value, $tab='Main informations', $position = 1, $is_visible = 1, $is_variable = 1, $is_taxonomy = 0) { $product_attributes[$name] = array( //Make sure the 'name' is same as you have the attribute 'name' => htmlspecialchars(stripslashes($name)), 'value' => $value, 'position' => $position, 'is_visible' => $is_visible, 'is_variation' => $is_variable, 'is_taxonomy' => $is_taxonomy, 'tab' => $tab ); }
I’d like to filter for these ‘product_attributes’. Is there a way? if I try to add the related meta field I can only the meta product_attributes even if it’s an array. I need to access puntually to these array fields.
I hope you can help me.
Thanks in advance,
Fabio