Comments 1elenio mattera started the conversationOctober 12, 2024 at 11:07amhi there,i want to display the products of a bundle on my product page. WithWPCleverWoosb()->show_bundled();I can get a list of all items, but I would like to retrieve an array so I am more flexible with the shown content.did not find a function for that. thanks in advance.elenio 1,226Dustin repliedOctober 15, 2024 at 6:17amHi Elenio, Please try this one: global $product; if ( $product && is_a( $product, 'WC_Product' ) && $product->is_type( 'woosb' ) && ( $items = $product->get_items() ) ) { var_dump( $items ); }Best regards,Dustin1 Like 1elenio mattera repliedOctober 15, 2024 at 6:58amhi Dustin, that is awesome! thanks a lot1 Like 1,226Dustin repliedOctober 15, 2024 at 7:01amYou're welcome! 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-postThank you in advance! ♥Best regards,Dustin Sign in to reply ...
hi there,
i want to display the products of a bundle on my product page.
With
WPCleverWoosb()->show_bundled();
I can get a list of all items, but I would like to retrieve an array so I am more flexible with the shown content.
did not find a function for that.
thanks in advance.
elenio
Hi Elenio,
Please try this one:
Best regards,
Dustin
hi Dustin, that is awesome! thanks a lot
You're welcome!
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! ♥
Best regards,
Dustin