TimonP Posted December 11, 2021 Share Posted December 11, 2021 Utworzyłem 3 nowe grupy klientów. Czy jest jakiś sposób abym dodał je jako aktywne do wszystkich ok 90 kategorii, tak abym nie musiał przeklikiwać każdej z osobna. Link to comment Share on other sites More sharing options...
Krystian Podemski Posted December 15, 2021 Share Posted December 15, 2021 Proste zapytanie: INSERT IGNORE INTO `ps_category_group` (id_category, id_group) SELECT DISTINCT id_category, ###id_group_to_give_access### FROM `ps_category` WHERE id_parent != 0 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now