Public Ticket #3234576

Bulk Order Form Filter

Closed
Comments
17 Tickets 5
Carl started the conversation 4 years ago on February 17, 2023 at 4:32pm

In the Bulk Order Form, the filter does not properly format the categories how they are set up under Products>Categories. The Filter in the Bulk Order Form basically gets rid of the indentation of the Product Categories

4 Tickets 3
Jurgen replied 3 years ago on July 19, 2023 at 1:40pm

I have the same problem. The filter function on the Bulk order form doesn't update the categories in a correct manner. It even displays categories that were deleted. The link to the reply doesn't work unfortunately so I can't read it. Can you post this again?

2,762
KingsPlugins replied 3 years ago on July 19, 2023 at 3:09pm

Hi there,

To display categories on the cream order form in a hierarchical manner (with indentation for child categories), please add this PHP code snippet to your site:

add_filter('b2bking_bulkorder_category_hierarchical', '__return_true');


If deleted categories are still displayed, please try to empty the trash, so the categories are not in Trash. If they're not even there, it may be a caching problem - please make sure to clear all site caches,


Kind regards,

Stefan

4 Tickets 3
Jurgen replied 3 years ago on July 19, 2023 at 5:19pm

Thank you Stefan! The deleted categories are gone but the display in a hierarchical manner with indentation for child categories doesn't work. The code snippet doesn't change anything. Subcategories are still displayed under the wrong category :-(

Sign In