Magento: Show different action links in on column in the backend data grid
Date : March 29 2020, 07:55 AM
I wish did fix the issue. Im currently working on a custom product list in the Magento backend. , You need create custom grid column renderer for this: class Mycompany_Mymodule_Block_Adminhtml_Template_Grid_Renderer_Myrendered extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Action
{
...
}
// ...
'filter' => false,
'renderer' => 'mycompany_mymodule/adminhtml_template_grid_renderer_myrenderer',
'sortable' => false,
'index' => 'stores',
// ...
|
How to show data in my view from the backend using DisplayFor
Date : March 29 2020, 07:55 AM
fixed the issue. Will look into that further How to show this data on my view { TextCode = "Hello", Description = "Hello, How are you ",Text = "Great" } , You cannot use array in this way, you have to iterate: @foreach(var item in Model.Texts)
{
@Html.DisplayFor(m => item.Description)
}
|
add custom field in the billing and shipping address in magento and also show its data in backend
Tag : php , By : francisco santos
Date : March 29 2020, 07:55 AM
it fixes the issue Since you followed this tutorial, and it the latest/update to thisI would guess you did this: <?xml version="1.0"?>
<layout version="0.1.0">
<checkout_onepage_index>
<reference name='checkout.onepage.billing'>
<block type='checkout/onepage_billing' name='form.additional.info' template='address/checkout/onepage/billing_field.phtml'></block>
</reference>
</checkout_onepage_index>
</layout>
<?xml version="1.0"?>
<layout version="0.1.0">
<checkout_onepage_index>
<reference name='checkout.onepage.billing'>
<block type='checkout/onepage_billing' name='form.additional.info' template='address/checkout/onepage/billing_field.phtml'></block>
</reference>
<reference name='checkout.onepage.shipping'>
<block type='checkout/onepage_shipping' name='form.additional.info' template='address/checkout/onepage/shipping_field.phtml'></block>
</reference>
</checkout_onepage_index>
</layout>
/**
* Adding Extra Column to sales_flat_quote_address
* to store the delivery instruction field
*/
$sales_quote_address = $installer->getTable('sales/quote_address');
$installer->getConnection()
->addColumn($sales_quote_address, 'table_name', array(
'type' => Varien_Db_Ddl_Table::TYPE_TEXT,
'comment' => 'Table Comment'
));
/**
* Adding Extra Column to sales_flat_order_address
* to store the delivery instruction field
*/
$sales_order_address = $installer->getTable('sales/order_address');
$installer->getConnection()
->addColumn($sales_order_address, 'table_name', array(
'type' => Varien_Db_Ddl_Table::TYPE_TEXT,
'comment' => 'Table Comment'
));
<global>
<fieldsets>
<sales_convert_quote_address>
<table_name>
<to_order_address>*</to_order_address>
</table_name>
</sales_convert_quote_address>
</fieldsets>
</global>
$config = Mage::getModel('core/config');
//append delivery instruction to address templates in system configuration
$html = Mage::getConfig()->getNode('default/customer/address_templates/html');
$html .= '{{depend table_name}}<br/>DH:{{var table_name}} {{/depend}}';
$config->saveConfig('customer/address_templates/html', $html);
$text = Mage::getConfig()->getNode('default/customer/address_templates/text');
$text .= '{{depend table_name}}DT:{{var table_name}} {{/depend}}';
$config->saveConfig('customer/address_templates/text', $text);
$oneline = Mage::getConfig()->getNode('default/customer/address_templates/oneline');
$oneline .= '{{depend table_name}}DO:{{var table_name}} {{/depend}}';
$config->saveConfig('customer/address_templates/oneline', $oneline);
$pdf = Mage::getConfig()->getNode('default/customer/address_templates/pdf');
$pdf .= '{{depend table_name}}<br/>DP:{{var table_name}} {{/depend}}';
$config->saveConfig('customer/address_templates/pdf', $pdf);
$js_template = Mage::getConfig()->getNode('default/customer/address_templates/js_template');
$js_template .= '{{depend table_name}}<br/>DJ:{{var table_name}} {{/depend}}';
$config->saveConfig('customer/address_templates/js_template', $js_template);
|
On angular 8 refreshing a page doesn't show the data from backend api
Date : March 29 2020, 07:55 AM
hop of those help? The problem was with the following line: this.afAuth.auth.currentUser.getIdToken() currenUser can be null and we need to afAuth.authState
|
How to show RefreshIndicator intially while waiting data from backend API?
Date : March 29 2020, 07:55 AM
|