Home Forums WoodMart support forum Sort order problem in Products (grid or carousel)

Sort order problem in Products (grid or carousel)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #606787

    mozex
    Participant

    In the “Products (grid or carousel)” element, the code has a bug that prevents the Sort order control from being shown in the Elementor.

    Path: woodmart/inc/integrations/elementor/elements/products/class-products.php
    Line: 278

    This is the current code:

    
    'condition'   => [
    	'post_type!' => 'ids', 'recently_viewed',
    ],
    

    And it should be

    
    'condition'   => [
    	'post_type!' => ['ids', 'recently_viewed'],
    ],
    

    The condition should be an array, just like all the other conditions.

    • This topic was modified 2 months ago by mozex.
    #606855

    Luke Nielsen
    Keymaster

    Hello,

    Thank you for your message. In the next update, it will be fixed by default.

    Have a good day!

    Kind Regards

Tagged: 

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