Cathy
Forum Replies Created
-
You can find the debug log here: https://docs.google.com/document/d/1ahvc3T5n-mBZIQ8lrUgYK2RJynGTxC74o8hUifNYHxY/edit?usp=sharing
Forum: Plugins
In reply to: [WooCommerce] Add products to shipping class by quantityIf I set ‘no shipping class cost’, this is what it uses.
Forum: Plugins
In reply to: [WooCommerce] Add products to shipping class by quantityCustom code seems the best solution. But for some reason shipping class is not changed by quantity. Let me know if you see the problem here, chatGPT didn’t, we’ve been chatting for 2 hours now.
I’ll add my code here:// Shipping class by quantity function set_custom_shipping_class() { // Check if WooCommerce and the cart are available if (!class_exists('WooCommerce') || WC()->cart == null) { return; } // Get the cart $cart = WC()->cart; // Count the number of the specific product in the cart $product_count = 0; foreach ($cart->get_cart() as $cart_item) { // Check for the specific product ID if ($cart_item['product_id'] == 116) { // Replace with your actual product ID $product_count += $cart_item['quantity']; } } // Determine the shipping class slug based on the count $shipping_class_slug = ''; if ($product_count == 1) { $shipping_class_slug = '1-box'; } elseif ($product_count == 2) { $shipping_class_slug = '2-boxes'; } elseif ($product_count >= 3) { $shipping_class_slug = '3-boxes'; } // Assign the shipping class to each product in the cart if ($shipping_class_slug) { foreach ($cart->get_cart() as $cart_item_key => $cart_item) { // Check for the specific product ID if ($cart_item['product_id'] == 116) { // Replace with your actual product ID // Get the shipping class ID from the slug $shipping_class_term = get_term_by('slug', $shipping_class_slug, 'product_shipping_class'); if ($shipping_class_term) { $shipping_class_id = $shipping_class_term->term_id; $cart_item['data']->set_shipping_class_id($shipping_class_id); } } } } } add_action('woocommerce_cart_calculated_shipping', 'set_custom_shipping_class');Hi!
Any news? It is an urgent matter, clients can’t pay their orders.
Kind regards,
Cathy
Hi, Shameem!
Thank you for your response.
Orders come through with ‘pending payment’ status. Client still sees this error.
Screenshot of one order that didn’t go through because of this error.

I also tried deactivating all the plugins except Woocommerce and Esto Pay, this error still accured.
System status report: https://pastebin.com/qVgVqQtx
Fatal error log: https://pastebin.com/CiiaAm4W
Journey to error, translations added to screenshots:
Step 1 – place order

Step 2 – this appears for a second

Step 3 – error (kassa translates to checkout)

I am not trying to display two menus.
As soon as I activate mega menu plugin, logo disappears. Doesn’t matter where the menu is located.
I want the mega menu to display. I also want my Astra logo + site title to display too.
Making it a secondary menu didn’t help with that. Do you have other solutions?
I resolved the issue by increasing WC product image size to 1200*600, which is twice as large as suggested.
Hope that helps someone.
Thank you.
Hello!
This can’t be the problem. Images uploaded are professionally made by a photographer, Dimensions: 1709 by 2560 pixels
Page I need help with: https://torowinebar.ee/ -COCKTAILS section.
Best regards,
CathyForum: Plugins
In reply to: [DPD Baltic Shipping] Warning message appears after adding product to cartHello!
Yes, this error is still there. You can check by adding a product to cart at https://kirasustainable.com/product/kira-boots-for-her/
Warning: A non-numeric value encountered in /data01/virt103984/domeenid/www.kirasustainable.com/htdocs/wp-content/plugins/woocommerce/includes/class-wc-tax.php on line 175
This error only disappeared when I deactivated DPD plugin, so there’s some kind of connection between your plugin and this Woocommerce error.
Forum: Plugins
In reply to: [DPD Baltic Shipping] Fatal error after clicking Print DPD labelHello!
I fixed this problem by adding weight to products. This error only appeared when no weight was added for products.
Thank you! That I already knew.
So it is possible to exclude fields from csv but not possible to change the queue of the items in csv report?
The csv format of schedule isn’t unfortunately suitable for us.
Cathy
Forum: Plugins
In reply to: [Product Filter for WooCommerce by WBW] Fatal error after latest updateThank you,
I downloaded that version but it appears I still have same issue.
It seems that the problem is with Booster plugin, not yours. I’ll contact them.
Thank you.