Home / Magento

Magento

How to optimize magento code?

magento-coding-recommendations-to-optimize-site-performance

How to optimize magento code The code influences the speed of your site. The testing tool helps to gain insight into the specific process for Optimize magento code . Optimize magento code contains following points: Removal of unused or unnecessary code processes. To optimize Magento performance, JavaScript and CSS files …

Read More »

Magento 2 Architecture Diagram

magento-2-architecture-diagram

Magento 2 is the latest CMS (MVC)  Platform of the leading enterprise-class eCommerce platform, utilised by over 200,000 online retailers. In fact, it’s estimated that 1 in 4 businesses are using the Magento software.It’s easy to see why.     What is Magento? Magento is a highly customizable e-commerce platform and …

Read More »

How to create custom filed for default attribute value for description and images in manage attribute options in magento

By default Magneto only provide custom options without any description, if you want to customize with description then you must change in following files: Step 1:- In File app\design\adminhtml\default\default\template\catalog\product\edit\option\type\select.phtml Find the below code: '<th class="type-sku"><?php echo Mage::helper('catalog')->__('SKU') ?></th>'+ Add these after just after '<th class="type-description"><?php echo Mage::helper('catalog')->__('Description') ?></th>'+ Find the …

Read More »

Optimize log table of magento database

magento-log-setting

Optimize log table of magento database Optimize Magento Database table is one of a very important task of developer who maintain magento site. Let ‘s play around with the number relate to database size and performance because we need to know why we do cleaning magento database  table to get …

Read More »

How to url redirect with another url in .htaccess file?

How to url redirect with another url in .htaccess file? Copy the code and past in root folder .Htaccess  file . Redirect 302 /jewellry-photography http://www.circulatetechnology.com/ Redirect 302 /http:www.google.com http://www.circulatetechnology.com/ example like: http://www.circulatetechnology.com/jewellry-photography redirect on http://www.circulatetechnology.com and http:www.google.com it will be redirect on http://www.circulatetechnology.com  

Read More »

Compare product button in header in magento.

Compare product button in header in magento. <?php $_helper = $this->helper(‘catalog/product_compare’); $_items = $_helper->getItemCount() > 0 ? $_helper->getItemCollection() : null; ?> <div class=”com”> <strong><span><?php echo $this->__(‘Compare Products’) ?> <?php if($_helper->getItemCount() > 0): ?> <small><?php echo $this->__(‘(%d)’, $_helper->getItemCount()) ?></small> <?php endif; ?> </span></strong> <?php if($_helper->getItemCount() > 0): ?> <script type=”text/javascript”>decorateList(‘compare-items’)</script> <div …

Read More »

Error when reindexing Catalog URL Rewrites in magento admin

An error occurred while saving the URL rewrite magento

Error when reindexing Catalog URL Rewrites in magento admin. Follow the following steps for the reindexing Catalog URL Rewrites in magento. Open CMD or Xampp Shell Command window. see image given below[/accordion][accordion title=” Connect with database phpmyadmin MySQL.”] command is: mysql -u root -p pres enter after asked password then …

Read More »

How to Secure Your Magento Admin to Restrict Access to Specific IP Address with HTACCESS?

How to Secure Your Magento Admin to Restrict Access to Specific IP Address with HTACCESS? Copy the code and past in .htaccess file and change the ip with you. RewriteCond %{REQUEST_URI} ^/(index.php/)?admin/ [NC] RewriteCond %{REMOTE_ADDR} !^196.196.196.196 RewriteRule ^(.*)$ http://%{HTTP_HOST}/ [R=302,L] Example: RewriteCond %{REQUEST_URI} ^/(index.php/)?youradminname/ [NC] RewriteCond %{REMOTE_ADDR} !^ change here …

Read More »
0

December 10, 2016

Clear all