Home Forums WoodMart support forum Frequently bought together “bundle” missbehavior

Frequently bought together “bundle” missbehavior

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #581587

    francois.krikorian
    Participant

    Hello,

    I do not believe this applies to “Suggestions” as upgrades, but more over “it needs a fix”. When I want to create a new Frequently bought together product, I can search from a list of products with a “search” field for my bundles.

    Search results give 20 results, if my product has over 20 variations (mine has over 60), it is possible for me to not be able to find my product up the list. It is forcing me to use:

    -term to make it not search these terms on my results, but even then, my product still has more variations than the search result: this example explains it :

    Super banana
    Super banana red
    Super banana yellow
    Super banana green


    … x40
    Super banana blue

    If I want to put “Super banana” as a bundle, it shows me only the red, yellow, green, variation, my search needs to be

    Super banana -green -yellow -blue … and so on to remove terms but even than at a certain point it breaks

    Two solutions:

    – allow search by ID which is not possible now
    – make the list for results over 20 (maybe 50 ?)

    Attachments:
    You must be logged in to view attached files.
    #581589

    francois.krikorian
    Participant

    EDIT:

    The idea behind that is being able to choose the “main” variable product and let the user choose its variation and not target a specific variation inside a bundle…

    #581672

    Artem Temos
    Keymaster
    Xtemos team

    Hello,

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

    add_filter(
    	'woodmart_get_numberposts_by_query_autocomplete',
    	function ( ) {
    		return 60;
    	}
    );

    Kind Regards

    #581694

    francois.krikorian
    Participant

    Thank you very much. Worked perfectly.

    For the fun part, my product was the third from last on the 60 variations list.

    Now the user can select their own variations from the bundle. This is very good stuff.

    You can close the topic.

    #581742

    Artem Temos
    Keymaster
    Xtemos team

    Great, you are welcome! Feel free to contact us if you have any further questions.

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

The topic ‘Frequently bought together “bundle” missbehavior’ is closed to new replies.