1

im creating new column in quote table by using this line

$installer->run("ALTER TABLE `{$installer->getTable('sales/quote')}` ADD `excl_price` int(1) NOT NULL DEFAULT 1 ;");

im saving value to column excl_price

$quote->setExclPrice(0);

but it not store value

can anyone help?

  • try re-index once. – Pawan Aug 6 '18 at 4:05
  • not work .. im using magento 1.9.3.9 – Jigs Parmar Aug 6 '18 at 4:19
  • Have you tried with using $quote->setData('excl_price',0); – Raj Aug 6 '18 at 4:43
0

Check your module have permission in config.xml ! Example.

          <my_module_write>
            <connection>
                <use>core_write</use>
            </connection>
        </my_module_write>
        <my_module_read>
            <connection>
                <use>core_read</use>
            </connection>
        </my_module_read>
       </resources>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.