Projekt

Allgemein

Profil

GX-Bug #47993 » ShowSubcategoriesFix.patch

Till Tepelmann, 08.08.2016 15:40

Unterschiede anzeigen:

src/admin/html/compatibility/new_category.php (revision )
587 587
					</div>
588 588
					<div class="span6" data-gx-widget="checkbox">
589 589
						<?php
590
						echo xtc_draw_checkbox_field('gm_gprint_subcategories', '1', $category->getSettings()->showSubcategories());
590
						echo xtc_draw_checkbox_field('gm_gprint_subcategories', '1',false);
591 591
						?>
592 592
					</div>
593 593
				</div>
src/admin/includes/modules/set_category_data.inc.php (revision )
29 29
$settings->setShowGraduatedPrices(isOptionChecked('gm_show_graduated_prices'));
30 30
$settings->setShowQuantityInput(isOptionChecked('gm_show_qty'));
31 31
$settings->setShowStock(isOptionChecked('gm_show_qty_info'));
32
$settings->setShowSubcategories(isOptionChecked('gm_gprint_subcategories'));
32
$settings->setShowSubcategories(isOptionChecked('show_sub_categories'));
33 33
$settings->setShowSubcategoryImages(isOptionChecked('show_sub_categories_images'));
34 34
$settings->setShowSubcategoryNames(isOptionChecked('show_sub_categories_names'));
35 35
$settings->setShowSubcategoryProducts(isOptionChecked('show_sub_products'));
    (1-1/1)