First of all - great product! Loving it so far. Good job on doing an elegant easy to integrate in any theme plugin, which won't ruin and sit just right in WC WP.
But there is a plugin we use, called WC PDF & Invoices. I turned off the setting to show single items from the bundle when you add it up to cart and on checkout page as well. All good. But when we do invoices, there are still there:
1. Bundle name | quanity | $100 (price)
2. Bundle name > item name | quantity | $0 (price)
3. Bundle name > item name | quantity | $0 (price)
I need this just as everywhere else - gone. Points 2 & 3, how can this be done?
Wow. That was quick. Thanks! Basically, looks like the PDF module takes everything from WC order and pushes it to the .pdf gen function and there are items listed inside with $0 price around them.
Perhaps there is a way to manipulate the way data gets prepopulated in .pdf file.
Greetings, team!
First of all - great product! Loving it so far. Good job on doing an elegant easy to integrate in any theme plugin, which won't ruin and sit just right in WC WP.
But there is a plugin we use, called WC PDF & Invoices. I turned off the setting to show single items from the bundle when you add it up to cart and on checkout page as well. All good. But when we do invoices, there are still there:
1. Bundle name | quanity | $100 (price)
2. Bundle name > item name | quantity | $0 (price)
3. Bundle name > item name | quantity | $0 (price)
I need this just as everywhere else - gone. Points 2 & 3, how can this be done?
The plugin we use: https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/
Hi Mike,
Thank you for contacting WPClever Support Forum.
We’ve received your ticket and assigned one of our developers to help you with that.
He’ll be looking into your question and responding with specific instructions as soon as possible.
Please stay in touch as he might need discuss further with you.
Best regards.
Janilyn T. - WPClever Support Agent
Hey Janilyn,
Wow. That was quick. Thanks! Basically, looks like the PDF module takes everything from WC order and pushes it to the .pdf gen function and there are items listed inside with $0 price around them.
Perhaps there is a way to manipulate the way data gets prepopulated in .pdf file.
Hi Mike,
Are you using WPC Product Bundles or WPC Grouped Product? I see you chose the ticket category is WPC Grouped Product but the question about bundle
If it's WPC Product Bundles, please try to add below function to current theme (or child-theme) / functions.php
Best regards,
Dustin
Hey Frankie, what a man! Thank you, it worked!
What if I'll go with
What is
used for?
Since the aforementioned code in this comment works as well as far as I noticed.
And yes, I asked about WPC Product Bundles (names look similar though :)
Mike
Someone needs to hide the main bundle, keep all bundled productsSo, I write the universal function for both.
In your case, you can remove these lines:
If you are satisfied with our plugin and support, please reward it with a full five-star ★★★★★ rating. https://wordpress.org/support/plugin/woo-product-bundle/reviews?rate=5#new-post
Thank you in advance! <3
Best regards,
Dustin
Already did. Thank you for chiming in so quick!
You're welcome!
Feel free to submit a new ticket if you have any questions when using our plugin. I'll close this ticket now.
Best regards,
Dustin