Zen Cart Logo
Forums / Zen Cart Code Suggestions / category and product status buttons

category and product status buttons

Views: 77

Results 1 to 4 of 4
23 Nov 2019, 5:24 PM
#1
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,769
Plugin Contributions:
20

category and product status buttons

When using a tablet or mobile phone, you can not deactivate a category using the green/red status icons.
I know products can be (de)activated if you go in and edit a product, but there's really no way to deactivate a category if you're on a mobile device.

Suggested changes:
admin/category_product_listing.php
line 570:
line 652:
line 845:
replace

class="text-right hidden-md hidden-sm hidden-xs"

with

class="text-right"
23 Nov 2019, 5:31 PM
#2
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: category and product status buttons

Recommend identifying the ZC version to which this issue applies including any sub-version identifier. There were some recent changes applied to try to restore some of that functionality and other options as it appears that in either 1.5.5 or 1.5.6 many fields are hidden based on screen resolution including this enable/disable feature.

23 Nov 2019, 6:16 PM
#3
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,769
Plugin Contributions:
20

Re: category and product status buttons

I would normally expect one to be talking about the current version if not mentioned otherwise, especially in Code Suggestions - don't see a reason to post code suggestions based on ZC 1.5.1 code...

But okay, the post above is for ZC 1.5.6c

24 Nov 2019, 12:29 PM
#4
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,866
Plugin Contributions:
7

Re: category and product status buttons

There were some recent changes applied
This means you'll have to compare with the ZC157 files on Github to see those changes in the classes for the columns: that is what determines if the columns are not shown on smaller screens.
Personally I think it is a mistake to hide anything in the Admin interface.