Comments 1elenio mattera started the conversation4 days ago on Saturday 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,174Dustin replied18 hours agoHi 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 replied17 hours agohi Dustin, that is awesome! thanks a lot1 Like 1,174Dustin replied17 hours agoYou'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