Class ‘WC_Product’ not found in …/wp-content/plugins/wc-product-bundles/classes/wc_bundled_product.php on line 13
wp 5.4.2
Please fix !
]]>I’m not necessarily looking for help here as I assume this plugin is simply no longer compatible with woocommerce / outdated –
[17-Dec-2018 10:23:09 UTC] PHP Fatal error: Class ‘WC_Product’ not found in /home/**********************/wp-content/plugins/wc-product-bundles/classes/wc_bundled_product.php on line 13
]]>I know this has been mentioned before but when purchasing bundles products that contain downloads it does not support proving the Dow load links. Not sure if this can be looked in to as I will either have to create our own or look at the official bundle solution as typically our store is entirely downloadable items so this is a sticking point for us.
]]>Hi,
I tried to customize the looks of the bundled products by using the code you posted under documentation (function my_custom_bundles_renderer), but it does NOT work!
There is something wrong with that code and I cannot figure out what (a comma, a tag or something like that)
Could you please post the corrected version?
Thanks ??
Hi,
Can you please check the plugin. It has a problem with the newest version of woo-commerce
I get these errors
Warning: Declaration of WC_Product_Wcpb::get_price() should be compatible with WC_Product::get_price($context = ‘view’) in /websites/wh/whandt.com.au/wp-content/plugins/wc-product-bundles/classes/wc_bundled_product.php on line 117
Warning: Declaration of WC_Product_Wcpb::get_regular_price() should be compatible with WC_Product::get_regular_price($context = ‘view’) in /websites/wh/whandt.com.au/wp-content/plugins/wc-product-bundles/classes/wc_bundled_product.php on line 117
Warning: Declaration of WC_Product_Wcpb::get_sale_price() should be compatible with WC_Product::get_sale_price($context = ‘view’) in /websites/wh/whandt.com.au/wp-content/plugins/wc-product-bundles/classes/wc_bundled_product.php on line 117
Warning: Declaration of WC_Product_Wcpb::get_weight() should be compatible with WC_Product::get_weight($context = ‘view’) in /websites/wh/whandt.com.au/wp-content/plugins/wc-product-bundles/classes/wc_bundled_product.php on line 117
I have hidden the warnings from view – if you need to see the errors, let me know and I will remove the code that hides the warnings
Thanks, Jillian
]]>I have a Bundle containing two items that are priced and shipped individually. The Bundle itself is marked as Virtual
as it is not a product in itself, but just a container of individual items and there’s no accounting of the bundle in our system.
When a customer purchases the items within the bundle, WooCommerce reporting counts the bundle itself as a separate item and adds it on top of the items contained in the bundle, even though the bundle itself has no price.
For exapmple, a bundle contains two items that are prices and shipped individually, after the purchase the report will show three items bought instead of two, with one extra item being zero-priced bundle itself.
Is there a way to exclude the bundle itself from the reporting?
P.S. The bundle is marked as Virtual, with empty price field. The items within the bundle are marked as indivially shipped and indivudually priced.
]]>Hi,
How can I submit a translation into Spanish?
]]>I would like to use this plugin for creating bundles of products on my site. However, the products would have variable quantity. Any way to let customer change the quantity of each product in the bundle?
Also, can I set specific restrictions on the products? E.g. A pc case must contain 1 motherboard and the motherboard can contain 1-4 ram blocks.
]]>Hello,
I have a problem with downloadable product bundles. After the purchase you can not download the products, the list of downloads is empty. Do you have a solution ?
Thanks
]]>Hi there, the plugin is good, but like many others, i’m facing the same issue that once the plugin is installed and configured correctly, i still can’t add products into my required bundle offer.
My Woocommerce Version is 3.1.2 and my WC Product Bundle plugin version is 1.0.7
Please let us know the solution, because i have seen that this question has been unanswered throughout the help forum.
Waiting for your kind & sincere support.
Thanks
]]>When I try to add a bundled product I get a blank box with a + sign to the left of it. I cannot search for products to add and + symbol does nothing.
]]>Hi,
setting my bundle price (with a discount) in product>productbundle-xyz>general>product_price_in_€ at e.g. 24,90 causes a price displayed on the shop-frontend of 24,00.
The plugin always leaves away my numbers behind the comma: filling in 54,90 means 54, 24,90 means 24,00 and so on. How can I fix it?
Thanks for your help!
]]>Hi All,
we have indentified massive issues in editing product bundles in the latest version of WordPress (4.8) / WooCommerce (3.1.0). When we are editing a product that is a bundle and save the product, all bundled products disappear. When we try to add single products to the bundle that doesn’t happen.
Will there be an update of the plugin soon so it is compatible with the latest version of WordPress / Woocommerce?
The problem is that when trying to save the product, the plugin is escaping the character ‘ and /, but this shouldn’t be done at this point. The escaping is done ~20 times, probably this is also the root cause for the long loading of the product bundles in the edit mask.
Thanks for a feedback.
]]>Dear Team,
Thanks for your great plugin.We are facing one issue with the price conversion as we applied the bundle currency in INR and need to convert this price when the customer orders the product from abroad.Is there any way to do this..Now its changing only the symbol not the value..for ex:INR 200 is changing to $200
Adding *any* product that has variations causes the entire plugin to crash. Product page goes blank, product edit page in WP loses all content, products list in WP hides all products except the corrupt one.
Trashing the broken product brings everything back.
]]>Hi,
It seems that this is incompatible with the latest version of WooCommerce (3.0.6). Right after plugin activation I get the following error lines on the WP Plugin Page
Warning: Declaration of WC_Product_Wcpb::get_price() should be compatible with WC_Product::get_price($context = 'view') in /home/hoteldep/public_html/wp-content/plugins/wc-product-bundles/classes/wc_bundled_product.php on line 0
Warning: Declaration of WC_Product_Wcpb::get_regular_price() should be compatible with WC_Product::get_regular_price($context = 'view') in /home/hoteldep/public_html/wp-content/plugins/wc-product-bundles/classes/wc_bundled_product.php on line 0
Warning: Declaration of WC_Product_Wcpb::get_sale_price() should be compatible with WC_Product::get_sale_price($context = 'view') in /home/hoteldep/public_html/wp-content/plugins/wc-product-bundles/classes/wc_bundled_product.php on line 0
Warning: Declaration of WC_Product_Wcpb::get_weight() should be compatible with WC_Product::get_weight($context = 'view') in /home/hoteldep/public_html/wp-content/plugins/wc-product-bundles/classes/wc_bundled_product.php on line 0
Please help.
Thanks,
Francisco
I am using wordpress version 4.7.4 and Having issue the latest version of Wocommerce 3.0.4. Getting 500 error when saving the product and if saved, the created bundle pack is not showing.
]]>After update WooCommerce to 3.0 I have errors. What to do?
Strict Standards: Declaration of WC_Product_Bundle::get_price() should be compatible with WC_Product::get_price($context = ‘view’) in /home/qid00079/domains/website-name.com/public_html/wp-content/plugins/woocommerce-product-bundles/includes/class-wc-product-bundle.php on line 2038
Strict Standards: Declaration of WC_Product_Bundle::get_regular_price() should be compatible with WC_Product::get_regular_price($context = ‘view’) in /home/qid00079/domains/website-name.com/public_html/wp-content/plugins/woocommerce-product-bundles/includes/class-wc-product-bundle.php on line 2038
Strict Standards: Declaration of WC_Product_Bundle::get_sale_price() should be compatible with WC_Product::get_sale_price($context = ‘view’) in /home/qid00079/domains/website-name.com/public_html/wp-content/plugins/woocommerce-product-bundles/includes/class-wc-product-bundle.php on line 2038
Strict Standards: Declaration of WC_Product_Bundle::is_on_sale() should be compatible with WC_Product::is_on_sale($context = ‘view’) in /home/qid00079/domains/website-name.com/public_html/wp-content/plugins/woocommerce-product-bundles/includes/class-wc-product-bundle.php on line 2038
]]>Hi,
When I want to add a variable product does not leave the root product, only the variations come out.
Anyone know how to fix it ?.
Thank you
Hi
I need to translate checkbox label on productpage that says “Add for”. And I havent found this text in PO file.
Thank you for your assistance.
Martin
The product name was not being returned when adding a bundle product to the cart, when the wc_add_to_cart_message() function was called.
I modified this file:
classes/product-form.php
… and updated the wcpb_add_to_cart() method to pass the product ID as the key and product QTY as the value of the $added_to_cart array.
…
if ( $passed_validation ) {
$added_to_cart = array();
if ( WC()->cart->add_to_cart( $product_id, $quantity ) ) {
$was_added_to_cart = true;
$added_to_cart[$product_id] = $quantity;
}
}
….
This solved the problem.
]]>Hello
When a pack includes products with different taxes, the final price for the shopping cart is correct but not the breakdown of the taxes. Does anybody know how to fix this problem?
Thanks
After updating WooCommerce yesterday i got all bundled products deleted. Now, after i added them again, i get the following Fatal Error when activating the option “Show on product page”.
Fatal error: Call to a member function has_enough_stock() on boolean in /wp-content/plugins/wc-product-bundles/classes/product-form.php on line 83
I think it has to be a bug or problem with the plugin.
Can you help me?
Great plugin btw – until yesterday it was a joy working with it.
M. Ruepp
]]>When selecting “Sort by price: low to high”, bundled products get incorrectly listed as if they had the lowest price. If I set prices so I have some products for $100, some for $1000, and create a bundle from two $250 items with a bundled price of $400, my bundle is still listed first when sorted “low to high” as if it would cost less than $100.
The prices are displayed correctly for both the bundle and its parts, but the sort order is wrong. Great plugin otherwise ??
Can you help fix this please (at least temporarily, until the next release comes out)? Many thanks!
]]>Hello,
I have this error on my Product edit screen under product data after installing.
Warning: Missing argument 2 for wcpb_product_interface::wcpb_add_product_bundle_type() in /home/suschastain/staging.suziqcreations.com/wp-content/plugins/wc-product-bundles/classes/admin-form.php on line 20
]]>I have site selling cooking courses, each courses have different number of lessons the buyer can choose from, for example on course 1 they can pick up 5 lessons, on course 2 they can pick up 10 lessons, there is also option for monthly free access to all the lessons.
There is list of 50 lessons to choose from, so if someone pick course 1 they can pick up 5 different lessons from a list.
Can I make it with your plugin?
Hi guys,
since WP does not offer a possibility for plugins to define dependencies from other plugins, dependent plugins have to check this by themselves. So please insert a check for the class WP_Product since if you don’t (and you do not) you cause a fatal error in cases where – for whatever reason – WooCommerce itself is not active.
Thanks for the plugin anyway!
]]>Hi and thanks for your plug, i have 2 questions:
1- on a bundled product, is it possible to hide on the front end quantity for each product included. And same in invoices send to client?
2- when a product bundle is add to cart the message is:
“” have been added to cart
insteed of
“apple” have been added to cart
Thanks
]]>Bundled products always use standard tax class.
I have bundled 3 products with reduced tax. The bundle always calcluates with standard tax rate, because the _tax_class porperty is empty.
Would be nice to add tax-class selector on admin-form.php
]]>Hi,
it happend the second time: I changed the deliverytime in the bundle and updated the product. After this the product is shown as “kostenlos” => 0,– Euro in the shop and the bundleitems are gone. Instead of the bundle items there was one empty item with no productnumber. This item was not to remove. After cache refresh and database optimization I could remove this empty item.
In the first case I recognized the error at the next day during a client ordered meantime the product instead of 1.500 Euro as 0,– Euro – that was the horror.
Today it happened again, that after updating the product the price became 0,– Euro and I thought I have to write you.
Perhaps you have a workround, because without this problem it would be a great helpful plugin – thanks for that.
Thanks for your help.
Best regards Barbara