Forum Replies Created
-
AuthorPosts
-
August 21, 2018 at 3:23 pm in reply to: WPML TypeError in slideshow.js only on secondary language #999857
Thanks Dude! Uploaded the files via ftp, theme confirms version 4.4.2-dev-wpml.
However the issues stays the same.
Any other idea?
Thanks!
KlausAugust 17, 2018 at 6:53 pm in reply to: Beim Aktualisieren von Enfold ist ein Fehler aufgetreten: Download fehlgeschlage #998551Danke, funktioniert auch bei mir! (Allerdings nur das gesamte php, nicht der Snippet – aber vielleicht hatte ich da was falsch gemacht).
LG KlausAugust 14, 2018 at 10:43 pm in reply to: Beim Aktualisieren von Enfold ist ein Fehler aufgetreten: Download fehlgeschlage #997357Admin-Zugang zu meiner problematischen Site anbei!
August 13, 2018 at 11:10 am in reply to: Beim Aktualisieren von Enfold ist ein Fehler aufgetreten: Download fehlgeschlage #996617Hi
@dude, danke für die Info. Hab jetzt einen neuen Key generiert, klappt aber auch mit dem nicht (4.2.6 auf 4.4.1) – “Beim Aktualisieren von Enfold ist ein Fehler aufgetreten: Download fehlgeschlagen. Es wurde keine gültige URL übermittelt.”Ich werde halt mal das Update manuell über ftp probieren, hoffe aber dass das kein Dauerzustand bleibt.
LG Klaus
August 12, 2018 at 11:34 am in reply to: Beim Aktualisieren von Enfold ist ein Fehler aufgetreten: Download fehlgeschlage #996431Hallo,
hab genau das gleiche Problem, hatte ich davor noch nie.Günter, was genau meinst du mit “Und bitte auch sicherstellen, dass der Envato Key nur auf einem Server aktiv ist.”? Welche(r) Server?
Best
KlausMarch 28, 2018 at 1:39 pm in reply to: WooCommerce Product Slider – Set Number of Columns to 1? #934277Thanks a lot Ismael! Embarrassing to oversee a brace, but I copied this 1:1 from Github, where it is also missing. Well… ;)
Strange is, that at 767px width suddenly 2 columns are shown again, at 479px back to one column, although I added this filter now, AND the Enfold solution described above.
But I do not want to bother you with this. I need the descriptions on the right instead of below, anyhow, so I need to do via CSS. Looks already pretty ok anyway, only for very small smartphone screens I need to try to get the view centered, instead of left aligned. But this is my part to do…
Best regards,
KlausMarch 27, 2018 at 10:45 pm in reply to: WooCommerce Product Slider – Set Number of Columns to 1? #933912I’d like to hook into this very old thread:
I also want to show the product grid with 1 column only. While I can manage this via CSS, it is painful to do for all responsive sizes.
This code (provided by Woocommerce) should actually take care of it, however, as soon as I add it to functions.php, the websites crashes with HTTP ERROR 500:
// Change number or products per row to 1 add_filter('loop_shop_columns', 'loop_columns'); if (!function_exists('loop_columns')) { function loop_columns() { return 1; // 1 products per row }
Is this because the way how Enfold deals with Woocommerce? Is there a way to change this code to make it “Enfold-compatible”?
At the moment I use the solution as described above, but it is of course not optimal…
Thanks!
KlausHi Victoria,
sorry, I thought it is clear that you have to first click on one of the products, to reach the single product view! :) Of course only there you have the navigation left/right. So, best is you click on the first product (or use direct link I provide here), then go right – you will see that it jumps 5 products, instead of 1.
On a older copy of this website – with all plugins beside Woocommerce disabled – it is even more complex, navigation is jumping 3,2,5,1 products, without any pattern that I can identify…
Thanks!
KlausThis reply has been marked as private.Hi, is there any news on this issue? I just bring another website live, and clicking through the posts just doesn’t work like it should, it is kind of a lottery.
Thanks!
KlausYes, it happens to all posts, and all products.So it is not related to Woocommerce only, I just checked this.
And *I* am not doing anything like reseting the query.
On the page that I posted it is clearly visible, that when you start with object no. 1, it jumps next to 6, then 11. Going back it goes to 10 – which would be ok! – but then to 5, and next is 234, which is the end of the product list. So there is some kind of logic behind, but of course wrong.
I have Enfold running on several sites, I checked now on another one (see private area) – same story, or even worse – totally ramdomized, if the arrows are shown at all, and to what post they are jumping. But then again, only on the site posted before I tried to set the sorting order to “menu_order”, but it does not work. Not sure about the sorting order on the other sites, they are not priority at the moment.
Best
KlausDear Victoria,
I had sent you a link to exactly the page that shows the issue. There you have at the outer left and right of the screen arrows, that appear on mouseover. The items should be sorted based on “lot”-number, but when you try to move to the next product, you will see that actually it is not jumping to the next product, but rather to 5 products later.Thanks
KlausHi,
I have the same issue, but not for posts, but rather for products in the Woocommerce shop. As menu_order is the field that defines the sorting order in my shop – which works perfectly fine on the product overview page, I added this code following the advice given above:
add_filter('avia_blog_post_query', 'avia_modify_post_grid_query_desc'); function avia_modify_post_grid_query_desc( $query ) { $query['orderby'] = 'menu_order'; $query['order'] = 'DESC'; return $query; }
But it does not make any difference, the Avia left/right buttons seem to jump always to the next/previous 5 products, instead of the next (so from 1 to 6, 11, 16 etc.)
Is there a different filter for products?
Thanks for you help!
KlausHi Victoria,
no, I figured it out by myself. The code is wrong, instead of
add_action( 'wp_print_scripts', 'wp_change_bbcss', 100 );
it has to be
add_action( 'wp_print_styles', 'wp_change_bbcss', 100 );
then it works.
Still far away from original bbPress optics though, so maybe we have to check a different theme for the forum, or invest a lot in CSS.
Thanks anyway.
Klaus- This reply was modified 7 years, 3 months ago by KlausW.
Hey John,
topic can be closed. I figured out that I had to change one WPML setting (disable translation management), now it works again just like it should.
Thanks!
KlausI can of course, but I do not see the sense behind, as there are not more details to say, than are given here. Just like ppgpilot I want bbPress to look like “original”, without the specifc Enfold CSS for it. That’s it.
And the concrete question is – why does the code provided by Yigit, as shown here, not work? In a new thread we would not see this code anymore.
Best,
KlausI’d like to hook in here: I added the code provided by Yigit to the functions.php of my child theme, but I do not see any difference. And I see that bbpress-mod.css is still active.
Anything changed in how this has to be dequeued?
(I already read that you will not publish the CSS that you are using for your own forum here, which is a pity…)
Thanks!
KlausHey Ismael,
thanks a lot, this indeed solved the issue, sorting works again! For the price of less options given by the more simple Woocommerce basic functionality, but I hop the plugin author can solve this on his side.
Regards,
KlausHi Yigit,
could you please elaborate what you mean by “I cannot see any errors in console”? Sort does not work, but there are no errors produced, so no idea why it does not work – like that?
And explain what is the difference between original sorting in Woocommerce, and sorting in Enfold? Because obviously there is one, as the plugin works with a standard theme.
I am still in contact with the plugin author also, of course, but sitting between chairs here…
Thanks
KlausElliott, with all due respect, but what is this now, keep the user busy with useless requests? I can make my own topic here for sure, although all participants are twisting around exactly the same problem here – the fact that Enfold obviously STOPPED supporting the overruling of Woocommerce templates, which did work perfectly well some months ago. And again, what screenshot do you want from me, when you already have the php code that I changed? Some of the templates take care of the emails sent to clients, shall I make a screenshot of the email produced!?
I have to check first which of the remaining template(s) make(s) issues, after I moved already several things to functions.php – which is a pity that Kriesi, as the source of the change, cannot tell me that!
@Elliot, I am pretty busy at the moment, so I am late to reply.
I am a bit confused by your statement “Like said before we use the filters and not template files. It would take a lot of customization to switch that”
Woocomerce is using templates, it is a key feature imo. And enfold should simply not block this feature of Woocommerce, that’s all. How can it be that a theme is overriding a basic functionality of a (major) plugin so dramatically? Especially as this was not the case before, the problems started some
weeksmonths ago, before that there was not problem.One example of what I am doing: In order-details.php I override the two lines:
<th class="product-name"><?php _e( 'Product', 'woocommerce' ); ?></th> <th class="product-total"><?php _e( 'Total', 'woocommerce' ); ?></th>
with
<th class="product-name"><?php _e( 'Object', 'woocommerce' ); ?></th> <th class="product-total"><?php _e( 'Bid', 'woocommerce' ); ?></th>
I guess this could be done in different way, but it is very simple and easy that way.
Another example, in customer-processing-order.php I exchanged
<th class="td" scope="col" style="text-align:left;"><?php _e( 'Product', 'woocommerce' ); ?></th> <th class="td" scope="col" style="text-align:left;"><?php _e( 'Quantity', 'woocommerce' ); ?></th> <th class="td" scope="col" style="text-align:left;"><?php _e( 'Price', 'woocommerce' ); ?></th>
with
<th scope="col" style="text-align:left; border: 1px solid #eee;"><?php _e( 'Art Object', 'woocommerce' ); ?></th> <th scope="col" style="text-align:left; border: 1px solid #eee;"><?php _e( 'Lot', 'woocommerce' ); ?></th> <th scope="col" style="text-align:left; border: 1px solid #eee;"><?php _e( 'Bid', 'woocommerce' ); ?></th>
Last example, in review-order.php I drop the whole block
<tr class="cart-subtotal"> <th><?php _e( 'Subtotal', 'woocommerce' ); ?></th> <td><?php wc_cart_totals_subtotal_html(); ?></td> </tr>
as I do not want a subtotal to be shown.
So for me it is mainly descriptions and/or formatting that I change. Currently I do not know which template overrides are still working and which not (this website is used exactly twice per year), I will have to replicate to the test server, and perform some tests – which is a pity, because I have to spent a lot of time to check something that worked perfectly well before.
So, beside my lack of understanding why this issues pops up now suddenly, it would be very helpful to at least know which overrides are still working, and which not (and why). The structure of the Woocomerce templates is relatively easy to understand, while having to go through your 1.700 lines functions.php would be a totally new task, and honestly I do not understand why we as users have to deal with this now (suddenly). Where is the benefit?
Thanks,
Klaus- This reply was modified 9 years ago by KlausW.
Elliot, I would really not know what meaningful to show in a screenshot here. We are talking about php files, that Woocommerce uses from a folder “Woocommerce” within the theme, when it finds them there. So, one makes a copy of the php file that you want to override, copy it to your theme folder under “Woocommerce”, change whatever you need, that’s it.
Although Woocommerce finds all of these files (it shows under status all overrides), some of them are finally not used at all.
In my case:
The templates are meta.php and price.php in
/wp-content/plugins/woocommerce/templates/single-product,
my overrides are located in
/wp-content/themes/enfold-child/woocommerce/single-product.Whatever I changed in my override file, it had no impact at all, it was obviously not used (it worked perfectly fine some months ago). I changed now for the most important parts to use filters and hooks in functions.php instead, but this is not possible for all changes needed, as I am partly e.g. simply changing strings in the php files, where no hooks are available. I am overriding 18 template files on one website currently, and honestly – as some changes are minor – I cannot say for sure which parts are not taken at all, as I am currently busy with other things.
Nice to see some movement here, I started this thread in Woocommerce forum that is linked above. I am overriding quite many Woocommerce templates, which is a very normal procedure, for many reasons.
I haven’t checked the enfold config file, but this is for sure no exchange for the functionality provided by overriding all Woocommerce templates!
But just one remark a bit off-topic: ALWAYS when I post a new message here, my browser window just blanks out totally, and stays like that (Chrome). In the meanwhile I know that the message was posted anyway, and ignore it, but there seems to be some problem, esp. as I read about it already also in another thread here.
Hi Yigit,
ok, you got me with this one! ;) Re-created the page 1:1 new, issue gone!
So, the layout builder sometimes produces slightly unpredictable results, it seems? Not good, but at least good to know.
Thanks a lot!
KlausThanks Yigit, I added your code to the style.css of my child theme, and it works!
But I would like to understand the reason why this is needed for this page, and not for all others. I hate to add CSS when I do not understand why I have to do it like that…:)
Any hint what makes this page different to all others?
And thanks for your wishes! :)
Cheers,
KlausThis reply has been marked as private.djshortkut, for me I figured out that it was not the Page Preloader, but the Page Transitions that caused the problem. I guess you have also switched this on? Try without it, for me it works then.
As even the remark for the Page Transitions states, it can cause problems when navigating dynamic content, which is exactly what we are doing.
Cheers,
KlausHi Yigit,
I switched off the preloader, as honestly it is not so important for me. Switched it on again now, and what to say – it works without problems (and without any further change on my side). So currently not able to reproduce the problem.
I will keep it switched on now, and let’s see how it evolves. If it happens again, I will provide the link as private message, as it is on a test server, which should not be public.
Thanks!
KlausHey guys,
just jumping in here to report that I have the same issue both with Firefox and IE11 on Win7, but not with Chrome!
No extensions etc. on the IE. When in the Woocommerce shop page, click on one item to get to the single item details page – works. Go back with browser back button – sometimes works, but takes a bit longer, than on Chrome, and sometimes freezes with the white circle in the center. At the latest after third try going back from one single item page, the screen freezes for sure.
Switching off the preloader solves the issue.
Cheers,
Klaus -
AuthorPosts