Zen Cart Logo
Forums / Bug Reports / v156c cannot reenable all product when enabling category

v156c cannot reenable all product when enabling category

Views: 306

Results 1 to 1 of 1
23 Jul 2019, 2:49 PM
#1
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

v156c cannot reenable all product when enabling category

In PR2301 applied to ZC 1.5.6c, if a disabled category contains product that are all disabled, no selection is provided when trying to re-enable the category to enable all of the product. The issue is that the function zen_get_products_to_categories when sent only one parameter defaults to ignoring disabled product. This can be corrected by the change identified in this forum thread: https://www.zen-cart.com/showthread.php?225703-Category-sub-category-not-working-as-I-d-like&p=1359894#post1359894

Submitted PR: https://github.com/zencart/zencart/pull/2630