suiluj
Forum Replies Created
-
Forum: Plugins
In reply to: [Advanced Woo Search] Search widget destroy left sidebar view@mihail-barinov Thanks a lot! Everything is perfect again! ??
Could you explain the bug (i’m just curious)
Forum: Plugins
In reply to: [Advanced Woo Search] Search widget destroy left sidebar view@mihail-barinov i edited the file but it did not change anything.
Forum: Plugins
In reply to: [WooCommerce Deutsche Post Internetmarke] Fatal Errorsame problem here
Forum: Plugins
In reply to: [WooCommerce] Update Product Metadata Save Product Recursive problemi found the solution:
Stack Exchange WordPressbefore saving you can remove the hook itself.
function calc_unit_prices($product_id) { $_product = wc_get_product($product_id); $_product->update_meta_data('_unit_price_regular', 29.2); //If calling wp_update_post, unhook this function so it doesn't loop infinitely remove_action('woocommerce_update_product', 'calc_unit_prices', 99, 1); // call wp_update_post update, which calls save_post again. E.g: $_product->save(); // re-hook this function add_action('woocommerce_update_product', 'calc_unit_prices', 99, 1); } add_action('woocommerce_update_product', 'calc_unit_prices', 99, 1);
hello @laughhearty
what did you find?I search for a filter hook to change the product on update (calculate additional fields automatically)
That’s kind of a similar problem so i am curious about your solution.
Regards
Juliusah okay that’s the reason.
okay now i decided to just use the order id as invoice id (i read somewhere that invoice numbers in germany only need to be unique but not sequential).
So i can export the order id and know the invoice id even if i did not generate the invoice before.
but now i understand your reasons for implementing it this way.
have a nice day and thanks for this great plugin!Julius
@bradvin sorry i had no time to test your zip version before.
@phillcoxon and @bradvin
thanks for the update, i updated the plugin and everything works again (of course i enabled lazy loading again, too).
thanks for your great plugin!
@errede as a temp fix you can disable lazy loading in the generel settings of foo gallery
@bradvin thanks for your fast answer. i am not sure how to do this correctly. do i just have to install the plugin as zip plugin and wordpress detects that it will update the existing foogallery plugin. and of course in the future will i receive foo gallery updates via normal updates in wordpress again or do i have to change something later again? i am asking because my website is of course in production and i want to be sure to do the correct thing.
Regards
JuliusSame problem here.
i think it is a problem with lazy loading after the recent update.
FYI: i use autoptimize for lazy loading too, but i have excluded foo gallery foogallery.min.js and even excluded images and classes containing images from autoptimize
at the devs of this plugin: please update the plugin again. i dont think it is an error of other plugins or configuration (it worket before)
Images outside of first view when the is loading are not loaded later when scrolling to their position.
my url with missing photos: https://aquaplant-shop.de/kundenfotos
hi Eva,
okay thanks for the hint.
now i have solved my problem with shipping labels.
these label you can configure in merchant center shippinghello eva i have a similar problem:
i would like to set a rule if a product is listed in a product category.
it is not the primary category but a secondary.How do a set a rule that says: change the shipping to 4.99 EUR if the product is listed in a category named “Nur Premiumversand” or with the URL slug “premiumshippingonly”
I tried all different kind of things like:
[attribute] => category_link
[condition] => contains
[criteria] => premium
[than_attribute] => shipping
[newvalue] => 4.99 EURBut nothing happend. the shipping field (which i set in the field mapping) is still empty.
And what does the CS option in the rules dialogue mean? I did not find any information about it.
Regards
Julius- This reply was modified 5 years, 5 months ago by suiluj.
I found a fix. You can remove the dashboard widgets (not just hide) with a command in the functions.php:
// fix slow loading wordpress admin dashboard because of woo product feed pro blog widget which cannot load // https://wpbeaches.com/remove-wordpress-backend-dashboard-widgets/ add_action( 'wp_dashboard_setup', 'bt_remove_dashboard_widgets' ); /** * * Remove WordPress Dashboard Widgets * */ function bt_remove_dashboard_widgets() { // remove_meta_box( 'dashboard_primary','dashboard','side' ); // WordPress.com Blog // remove_meta_box( 'dashboard_right_now','dashboard', 'normal' ); // Right Now remove_meta_box( 'woosea_rss_dashboard_widget','dashboard', 'side' ); // Woo Feed Pro Blog Feed slow loading // remove_action( 'welcome_panel','wp_welcome_panel' ); // Welcome Panel }
This is a solution until the feed widget is fixed.
- This reply was modified 5 years, 6 months ago by suiluj.
Ah wow thank you very much for your really fast support @pomegranate.
I could fix the problem with for hint for the “test mode/most current settings”.
(In the past i had the feeling it always use the most current settings so i forgot this setting).
You were right i had to change to the absolute path. I also tried that before but misspelled it. Two combined mistakes made it difficult ??Now everything works perfect again.
You made a great plugin!Regards from Germany