Tylo
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] 3.0 Issues: pagination, terms & conditionsI’m sorry, folks, but I have the same issue, also with a clean site, installed a couple days ago.
Disclaimer: I am not at all familiarized with wordpress maintenance, and this is maybe the second time I had to look under the hood, so I apologize if I ask something that should’ve been obvious.Here’s what I tried after reading this thread and confirming that my items are indeed marked as out of stock, and that changing their status doesn’t change the product count:
1. Based on Mike Jolley’s post, I changed the line below from “false” to “true” through my webhost’s file manager (not through wordpress).
file: /wp-content/plugins/woocommerce/includes/class-wc-post-types.php
change: line 68, change false to true
https://github.com/woocommerce/woocommerce/blob/cdab73af3ccfab1ae9d93e70c12ba9aa3085d874/includes/class-wc-post-types.php#L682. I then looked at Products->Attributes, but saw nothing there. No custom attributes, no default ones. The list is empty.
Looking like duplicates might be the issue here too?
Taxonomies: Product types external (external), grouped (grouped), simple (simple), variable (variable)
Taxonomies: Product visibility exclude-from-catalog (exclude-from-catalog), exclude-from-catalog (exclude-from-catalog-2), exclude-from-search (exclude-from-search), featured (featured), outofstock (outofstock), outofstock (outofstock-2), rated-1 (rated-1), rated-2 (rated-2), rated-2 (rated-2-2), rated-3 (rated-3), rated-4 (rated-4), rated-5 (rated-5), rated-5 (rated-5-2)Where/how exactly did you see this? I can see the “-2” items there, but I don’t know where to look to prove/disprove I’m in the same situation.
Based on my pages behavior (paintingdesk.com/loja), it seems to be paginating with all the products, then only displaying the “instock” products in each page: a couple here, three more there, then a few with none, etc.
Any help is welcome! Thanks!
Forum: Plugins
In reply to: [Progress Bar] Progress Bars labels *in* the bar?It seems I can do it with HTML5 as well:
http://stackoverflow.com/questions/12452594/how-can-i-add-label-inside-a-progress-bar-tag
I’m marking this one as ‘closed’, as it is a fairly clear and simple customisation. Thanks, Chris!
Forum: Plugins
In reply to: [Progress Bar] Progress Bars labels *in* the bar?I got the concept to work, now it is a matter of adjusting the formatting…
on wp-progress-bar.php:
(...) function wppb( $atts ) { extract( shortcode_atts( array( 'label' => '', 'progress' => '', // the progress in % (...)(...) $wppb_output .= "\">"; if ($atts['percent']) { // if $percent is not empty, add this $wppb_output .= "<div class=\"{$percent}\">{$label}{$progress}%</div>"; (...)Forum: Plugins
In reply to: [Progress Bar] Progress Bars labels *in* the bar?First of all, thanks a lot for the quick reply!
Yeah, I’d like to have the bar span across a side column, and it wouldn’t have enough space to fill label and a reasonably-sized bar.As of November 2012 (for you future readers), you can check what I mean on http://www.paintingdesk.com
When I started putting the site together I spent days banging my head on the keyboard until the code came out right and I could have a progress bars plugin do what I wanted (TDD), but a future update overwrote that, because I was stupid.
I prefer the WPPB approach, with the bar self-contained in quick code, and I’d rather invest some time digging into that instead.
My idea was to locate where you are “plotting” the % inside the bar, and just append the bar name there. Putting it there and aligning to either side would be good enough for me, I can handle text leaking/overflowing the bar on my own, restricting the name/label size. Any ideas/pointers on how I could achieve that? Not much of a coder here, and zero experience with jQuery definitely take me away from that route.
Thanks!