Created
December 15, 2017 19:04
-
-
Save Maksclub/97732a7607d68fdbda845616e1bf5672 to your computer and use it in GitHub Desktop.
Удаление всех товаров в Симпле
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if($_REQUEST['clear_products']){ | |
$backend->db->query('TRUNCATE s_variants'); | |
$backend->db->query('TRUNCATE s_products'); | |
$backend->db->query('TRUNCATE s_images'); | |
$backend->db->query('TRUNCATE s_related_products'); | |
$backend->db->query('TRUNCATE s_products_categories'); | |
$backend->db->query('TRUNCATE s_options'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment