Riccardo91
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce PayPal Payments] Buttons not showing on product pageYea, in the end we did not use the button on product page, I’m gonna disable button on mini cart, you’re right.
ThanksForum: Plugins
In reply to: [WooCommerce PayPal Payments] Buttons not showing on product pageThank you, I’m gonna find the Culprit! ??
Forum: Plugins
In reply to: [WooCommerce] Extreme resources usage on a VPSDeleting transients and another bunch of strings from an old website in wp_options solved the problem. The memory usage went from 860M to 40M
Bless this mysql command:
DELETE FROM wp_options WHERE option_name LIKE '%_transient_%'
The thing is that transients string keep reacreating increasing the size of wp_options thus increasing memory usage gradually. I still don’t know why this happens but at least I can contain the problem.
I have what it seems a lot of duplicates in transients, these are some:
there thousands of them, they keep reapeating somehowThis is wild
The only thing I can think is some weird options in WP-Optimize, maybe some problem with the preload options, I’ve disabled it last night but still wp_options kept growing…
- This reply was modified 2 years, 7 months ago by Riccardo91.
Forum: Fixing WordPress
In reply to: Extreme resources usage on a VPSI’ve managed to run Gtmetrix:
GTMETRIX WATERFALLForum: Plugins
In reply to: [WooCommerce] Slow CSV Upload (ERR_CONNECTION_CLOSED)Why does no one read the previous messages? As previously mentioned, other people elsewhere have managed to upload the file to the same website, so it’s not about plugin incompatibility, anyway I tried but nothing changed by my side.
Forum: Plugins
In reply to: [WooCommerce] Slow CSV Upload (ERR_CONNECTION_CLOSED)It seems other people are able to upload the same file on the same website, I’m the only one with this problem, i tried other browser and connection but nothing. This is pretty odd, don’t know what to say….
Forum: Plugins
In reply to: [WooCommerce] Slow CSV Upload (ERR_CONNECTION_CLOSED)I’m sorry, you should be able to download it now.
It works with 99 random products. 100+ breaks the upload.Forum: Plugins
In reply to: [WooCommerce] Slow CSV Upload (ERR_CONNECTION_CLOSED)https://drive.google.com/file/d/1zfIzUrK1dT9zQ33jde6P4YGl0WoXNImR/view?usp=sharing
I have no “fatal-errors.log” in woocommerce logs.
https://drive.google.com/file/d/1dcAY8iH6p6xBKv3QTU5EamKqKgYogvNC/view?usp=sharing
Forum: Plugins
In reply to: [WooCommerce] Slow CSV Upload (ERR_CONNECTION_CLOSED)No, this happens only when I’m uploading more than 99 products, please read carefully all the informations above. Thank you.
Forum: Plugins
In reply to: [WooCommerce] Slow CSV Upload (ERR_CONNECTION_CLOSED)Update: After some tests I can only upload 99 products with a single file, 100 products cause ERR_CONNECTION_CLOSED after some minutes.
This is absurd. Can u help?
Forum: Plugins
In reply to: [Combo Offers WooCommerce] About Step Quantity functionalityThis works to the combo quantity, not for single product quantity inside it. It’s still integers.
Forum: Plugins
In reply to: [Combo Offers WooCommerce] About Step Quantity functionalityhttps://codeontrack.com/use-decimal-in-quantity-fields-in-woocommerce-wordpress/
This could be useful too
Forum: Plugins
In reply to: [Combo Offers WooCommerce] About Step Quantity functionalityThis is the source: https://woocommerce.com/document/adjust-the-quantity-input-values/
Forum: Plugins
In reply to: [Combo Offers WooCommerce] About Step Quantity functionality@vidishp Hi, I’m no php expert but it should look something like this
add_filter( 'woocommerce_quantity_input_args', 'jk_woocommerce_quantity_input_args', 10, 2 ); // Simple products function jk_woocommerce_quantity_input_args( $args, $product ) { if ( is_singular( 'product' ) ) { $args['input_value'] = 2; // Starting value (we only want to affect product pages, not cart) } $args['max_value'] = 80; // Maximum value $args['min_value'] = 2; // Minimum value $args['step'] = 2; // Quantity steps return $args; } add_filter( 'woocommerce_available_variation', 'jk_woocommerce_available_variation' ); // Variations function jk_woocommerce_available_variation( $args ) { $args['max_qty'] = 80; // Maximum value (variations) $args['min_qty'] = 2; // Minimum value (variations) return $args; }
In my specific case I needed to change the step quantity to 0.5
Forum: Plugins
In reply to: [Combo Offers WooCommerce] About Step Quantity functionality@vidishp Hi, I used “Min Max Quantity & Step Control for WooCommerce” but I also used some script in functions.php in the past.