• Noticed an issue with a site using this plugin

    The autocomplete was recommending product varations
    However the product variations didn’t show on the related products area

    I fixed this by adjusting line 58 of /woocommerce-custom-related-products.php

    
    <select class="wc-product-search" multiple="multiple" style="width: 50%;" id="related_ids" name="related_ids[]" data-placeholder="<?php esc_attr_e( 'Search for a product&hellip;', 'woocommerce' ); ?>" data-action="woocommerce_json_search_products_and_variations" data-exclude="<?php echo intval( $post->ID ); ?>">
    

    To

    
    <select class="wc-product-search" multiple="multiple" style="width: 50%;" id="related_ids" name="related_ids[]" data-placeholder="<?php esc_attr_e( 'Search for a product&hellip;', 'woocommerce' ); ?>" data-action="woocommerce_json_search_products" data-exclude="<?php echo intval( $post->ID ); ?>">
    

    Can you update the core plugin to do likewise

    Thanks for the great plugin

  • The topic ‘Auto complete showing variations’ is closed to new replies.