Sanjoy Roy

[MCM, MCP, SCJP] – Senior PHP Programmer

Add a New system variable in Magento


SQL:

INSERT INTO `amwsales_db`.`core_config_data` (
`config_id` ,
`scope` ,
`scope_id` ,
`path` ,
`value`
)
VALUES (
NULL , 'default', '0', 'design/footer/terms_condtn_txt', 'terms and condition text here'

PHP:

$terms_condtn_txt = Mage::getStoreConfig('design/footer/terms_condtn_txt');
Advertisements

Comments are closed.

%d bloggers like this: