Look at the HTML source in your browser ("View Source") and search for skin/frontend, which is followed by PACKAGE/THEME, where PACKAGE is usually the name of the theme and THEME is usually default or contains site-specific changes.
Iam a Workforce management analyst in Firstsource Solutions Ltd in Bengaluru. As a WFM Analyst, I am the responsible to check and create each and evey schedule assigned in the operations for the business line. This blog explains about Magento only.
Which version of Magento is best?
Magneto 2 runs approximately 20% faster than Magento 1, which can lead to improved SEO and increased sales. All of the content from a static page can be cached, thus increasing site performance and drastically reducing the server load. This makes the Magento 2 platform more scalable for large eCommerce stores.
Magento 1.9 Import products issue
Question:
I am trying to import some products, Magento performs everything right, but when I look at the catalog, there is no imported product
Starting profile execution, please wait...
Warning: Please do not close the window during importing/exporting data
Starting Mage_Dataflow_Model_Convert_Parser_Csv :: parse
Found 453 rows.
Starting catalog/convert_adapter_product :: parse
Processed 100% 453/453 records
Imported 453 records
Please wait while the indexes are being refreshed.
Finished profile execution.
The message below shows that it was 100% successful, but there is no product.
One Possible Solution:
It seems a Re-index issue.
Please run the following commands
php bin/magento indexer:reindex
php bin/magento cache:flush
Magento 1 : Hide other shipping methods when free shipping is available
Open :
/app/design/frontend/[Your_package]/[Your_theme]/template/checkout/onepage/shipping_method/available.phtml
<?php
if ( array_key_exists('freeshipping', $_shippingRateGroups )) {
unset($_shippingRateGroups["flatrateperproduct"]);
}
?>
Then , flatrateperproduct Method will be remove from the shipping method.
How to add Buy Now At Product Page in Magento - 1 version ?
/app/design/frontend/[package name]/[themename]/template/ajaxcart/catalog/product/view/addtoCart.phtml
<button type="button"
/app/design/frontend/[package name]/[theme name]/template/catalog/product/view.phtml
How to add custom attribute for category
Step : 1 app\etc\modules\TEJA_Dbchange.xml
<?xml version="1.0"?>
<config>
<modules>
<TEJA_Dbchange>
<active>true</active>
<codePool>local</codePool>
</TEJA_Dbchange>
</modules>
</config>
Step : 2 app\code\local\TEJA\Dbchange\etc\config.xml
<?xml version="1.0"?>
<config>
<modules>
<TEJA_Dbchange>
<version>0.1.0</version>
</TEJA_Dbchange>
</modules>
<global>
<resources>
<teja_dbchange_setup>
<setup>
<module>TEJA_Dbchange</module>
<class>Mage_Catalog_Model_Resource_Eav_Mysql4_Setup</class>
</setup>
</teja_dbchange_setup>
</resources>
</global>
</config>
Step : 3 app\code\local\TEJA\Dbchange\sql\teja_dbchange_setup\mysql4-install-0.1.0.php
<?php
$installer = $this;
$installer->startSetup();
$attribute = array(
'group' => 'General',
'input' => 'select',
'type' => 'int',
'label' => 'Testing',
'source' => 'eav/entity_attribute_source_boolean',
'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_GLOBAL,
'visible' => 1,
'required' => 0,
'visible_on_front' => 0,
'is_html_allowed_on_front' => 0,
'is_configurable' => 0,
'searchable' => 0,
'filterable' => 0,
'comparable' => 0,
'unique' => false,
'user_defined' => false,
'default' => '0',
'is_user_defined' => false,
'used_in_product_listing' => true
);
$installer->addAttribute('catalog_category', 'testing', $attribute);
$installer->endSetup();
?>
Step : 4 After refresh all magento cache by going System -> Cache Management
Step : 5 Logout and login again.
What is the difference between convention and configuration?
- Configuration - would have been manually mapping controllers to use specific views, almost like a code behind scenario.
- Convention - A Controller method named Index most likely wants to use a View called the same, so the framework goes and looks for that.
Magento : 404 error is showing admin page
Hello, Sometimes we may get the error on admin page once done with the Magento installation. In that scenario, we have to do the following: ...
-
Hi , In this blog I’m going to explain you how to create accordion tabs in magento for layered navigation as displayed below for attribut...
-
To create a 404 page Create a CMS Page with Correct 'Store View'. Then go to System=>Config=>General=>Web in Default ...
-
Open your phpmyadmin from your host try once this sql command. Run this Sql : SET FOREIGN_KEY_CHECKS=0; UPDATE core_store SET store_i...