Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #16901

    There are a few posts here were the plugin Product Bundle is recommended, for instance:

    http://www.kriesi.at/support/topic/useful-plugins

    http://www.kriesi.at/support/topic/create-flat-rate-for-shopping-cart-total-price#post-72478

    http://www.kriesi.at/support/topic/help-please-with-configuring-grouped-products#post-77252

    To my disappointment the plugin does not work with theme Propulsion and it seem to cause problem in theme Abundance as well judging from other posts in the forum. Maybe for the whole Avia framework?

    On the Backend everything looks fine, but on the Frontend the bundled product is not showing the bundle info. Ie, title, image and price is not showing.

    According to the plugin creator this is a problem in Propulsion. The plugin does work on default theme 2011 for instance.

    It would be great if someone has an idé how this can be resolved. Many thanks!

    #93323

    Personally I didn’t debug the plugin code yet but an user: http://www.kriesi.at/support/topic/product-bundles-woocommerce-extension-plugin-222-and-abundance-15 reported that he solved the problem. If I find some spare time I’ll look into it but at the moment I’ve to take care of more important issues.

    #93324

    That would be great or if maybe Bill could update us on his solution.

    If I would debug myself how would I go about?

    #93325

    I think following hook doesn’t work with our theme:

    // add bundled items to the cart
    add_action( 'woocommerce_add_to_cart', array( $this, 'woo_bundles_add_bundle_to_cart' ), 10, 6 );

    Try to add following code to config-woocommerce/config.php:

    remove_action( 'woocommerce_add_to_cart', array( &$GLOBALS['woocommerce_bundles'], 'woo_bundles_add_bundle_to_cart' ), 10, 6 );

    // add bundled items to the cart
    add_action( 'avia_add_to_cart', array( &$GLOBALS['woocommerce_bundles'], 'woo_bundles_add_bundle_to_cart' ), 10, 6 );

    #93326

    Cool. Thanks Dude!

    After implementing your suggestion I’m getting these errors:

    Warning: Missing argument 3 for WC_Product_Bundles::woo_bundles_add_bundle_to_cart() in /home/d32751/argument.se/wp-content/plugins/woocommerce-product-bundles/woocommerce-product-bundles.php on line 374

    Warning: Missing argument 4 for WC_Product_Bundles::woo_bundles_add_bundle_to_cart() in /home/d32751/argument.se/wp-content/plugins/woocommerce-product-bundles/woocommerce-product-bundles.php on line 374

    Warning: Missing argument 5 for WC_Product_Bundles::woo_bundles_add_bundle_to_cart() in /home/d32751/argument.se/wp-content/plugins/woocommerce-product-bundles/woocommerce-product-bundles.php on line 374

    Warning: Missing argument 6 for WC_Product_Bundles::woo_bundles_add_bundle_to_cart() in /home/d32751/argument.se/wp-content/plugins/woocommerce-product-bundles/woocommerce-product-bundles.php on line 374

    #93327

    Hi dat98cbr,

    I’ve marked this topic for Dude to take a look at.

    Regards,

    Devin

    #93328

    It seems like the “woocommerce_add_to_cart” hook in woocommerceclassesclass-wc-cart.php offers 6 parameters and the avia_add_to_cart just supports 2. Unfortunately I don’t see an easy way to add the standard hook to our configuration file.

    I’ll mark this thread for Kriesi – maybe he can provide some useful hints. If not we must face the fact that the Product Bundle plugin doesn’t work with Propulsion.

    #93329

    It seems at least for now the theme doesnt work correctly with this plugin. I will have a look at in the next few days if there is a way to pull that off but I cant guarantee anything here, since I dont want to do changes to the framework that might break other plugins….

    #93330

    Ok, thanks. Please let us know, even if there isn’t a fix.

    #93331

    Hi!

    I’ll close this thread now. Kriesi can reopen it.

    Regards,

    Peter

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘Product bundle not working with Propulsion (or Avia?)’ is closed to new replies.