Home Forums Basel support forum Combination standard variation and bundle creates error

Combination standard variation and bundle creates error

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #611432

    martijnchel
    Participant

    Hello,

    Creating and showing product variations works great. Also making bundles for within a product page works great. But always when I choose a standard variation to be selected when the product page is displayed and there is a bundle active, the page goes into a loop and freezes. After numerous times there is a 500 error.

    When I don’t select a standard variation, the problem is solved.

    Can anyone help me with this?

    #611501

    Artem Temos
    Keymaster

    Hello,

    Thank you so much for contacting our support center.

    To better assist you, could you kindly test the functionality with default WordPress themes such as TwentyTwenty or WooCommerce Storefront? This will help us determine whether the issue stems from our theme or elsewhere.

    Regards

    #611504

    martijnchel
    Participant

    Hello,

    I would want to but how do I do this? Since these are functions of the Basel theme, no?

    Would it be possible to active bundle + standard variation on one page, for you to check the loop?

    #611507

    Artem Temos
    Keymaster

    Variable products and default variation are core WooCommerce features. You should be able to test this with other themes as well.

    #611510

    martijnchel
    Participant

    I have tried 2024, but the bundle option does not appear on the product page, and that’s part of the issue.

    #611514

    Artem Temos
    Keymaster

    Could you please send us some screenshots so we can better understand what bundle you mean and what the error is?

    #611516

    martijnchel
    Participant

    See private

    • This reply was modified 2 days, 11 hours ago by martijnchel.
    #611530

    Artem Temos
    Keymaster

    Thank you for the details. Now we see what is wrong. Could you please send us your admin access so we can check it deeper?

    #611539

    martijnchel
    Participant

    Sure, do I make you a user? Which email?

    #611542

    Artem Temos
    Keymaster

    You can use any random email and share the access here, using the Private content field.

    #611553

    martijnchel
    Participant

    Ok.

    #611636

    Artem Temos
    Keymaster

    We see a memory limit PHP error on your website. Please disable all plugins unrelated to our theme and send us your FTP access. Also, we will need to switch between themes to check whether it is caused by our theme.

    #611688

    martijnchel
    Participant

    Memory limit for PHP has been raised from 128 to 256.

    FTP info in private.

    #611816

    Artem Temos
    Keymaster

    Try to add the following PHP code snippet to the child theme functions.php file to fix this

    add_action( 'post_thumbnail_id', function ($img) {
    	remove_filter( 'post_thumbnail_id', array( XTS\Modules\Frequently_Bought_Together\Frontend::get_instance(), 'update_variation_image' ), 10, 2 );
    
    	return $img;
    }, 1);
    #611822

    martijnchel
    Participant

    Hello,

    I have added it to the functions.php of Basel theme.
    It seems to be working now!

    I guess that fixes it? 🙂

    #612007

    Artem Temos
    Keymaster

    Yes, it should be fixed now. Let me know if you face this issue again in the future.

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