Quote:
Originally Posted by rainyleaves
Then, How do I edit default value of 'Amount of Unused Invitatiion' at once?
I mean, Can I edit the default value in product-invitation.xml? Where is the default value code?
Thanks
|
yes buddy you can edit the default value in product-invitation.xml
that is in install code in product.xml file
PHP Code:
$db->query_write("ALTER TABLE `" . TABLE_PREFIX . "user` ADD `invitation` INT( 10 ) UNSIGNED DEFAULT '10' NOT NULL");
enter here the value instead of 10
DEFAULT '10' how you want