Evaluating bids

Vqmod opencart modificar o nome de uma tabela do sistema

Published on the November 14, 2016 in IT & Programming

About this project

Open

Opencart 2.1.0.2

Quero um botão ao lado da logo no Admin do site para fazer a seguente ação
quando for clicar ele modifique o nome da tabela oc_setting para oc_setting_00

quero que seja utilizado o nome da loja "<?php echo $store['name']; ?>"  como paramento de mudança

arquivo
admin/view/template/common/header.php
<?php echo $store['name']; ?> line 71



<?php echo $store['name']; ?> = "store 00"
faça
""
RENAME TABLE oc_setting TO oc_setting_02;
RENAME TABLE oc_setting_00 TO oc_setting;
""


<?php echo $store['name']; ?> = "store 01"
execute the command
""
faça
RENAME TABLE oc_setting TO oc_setting_00;
RENAME TABLE oc_setting_01 TO oc_setting;
""

faça
<?php echo $store['name']; ?> = "store 02"
execute the command
""
faça
RENAME TABLE oc_setting TO oc_setting_01;
RENAME TABLE oc_setting_02 TO oc_setting;
""

Category IT & Programming
Subcategory Web development
What is the scope of the project? Small change or bug
Is this a project or a position? Project
I currently have Not applicable
Required availability As needed
Experience in this type of projects Yes (I have managed this kind of project before)
Roles needed Developer

Delivery term: Not specified

Skills needed

Other projects posted by Willian A. D. S. G. E.