6 votes

How to hide empty attribute in any magento template?

Find and open the attributes.phtml file. This file can be found here: /app/design/frontend/[YOUR PACKAGE]/[YOUR THEME]/template/catalog/product/view/attribute.phtml Open the file and search for the ...
Michael Yaeger's user avatar
3 votes
Accepted

Magento 1: Cron fatal error in app/code/core/Mage/Cron/Model/Observer.php

The code in question is: $this->_pendingSchedules = Mage::getModel('cron/schedule')->getCollection() ->addFieldToFilter('status', Mage_Cron_Model_Schedule::STATUS_PENDING)...
Ryan Hoerr's user avatar
  • 12.3k
3 votes

How to Restrict magento admin panel access via particular IP addresses/ranges

You can place following in .htaccess file: RewriteCond %{REQUEST_URI} ^/(index.php/)?admin/ [NC] RewriteCond %{REMOTE_ADDR} !^196.196.196.196 RewriteRule ^(.*)$ http://%{HTTP_HOST}/ [R=302,L] Or you ...
Triyugi Narayan Mani's user avatar
3 votes
Accepted

security patch 5944 - error

The patches have to be applied in the right order, starting with the lowest number, otherwise they fail as soon as they modify the same files. So after you restored the original files, you should ...
Fabian Schmengler's user avatar
3 votes

Programmatically create an order of grouped and bundle product in Magento

Don't use Mage_Sales_Model_Quote::addProduct(), especially for complex products. Use Mage_Checkout_Model_Cart::addProduct() which is also used by the add to cart controller action and takes care for ...
Fabian Schmengler's user avatar
3 votes

Defer parsing of JavaScript in Magento

Main idea here is to move all javascript to the bottom. Create observer on http_response_send_before: <frontend> <events> <http_response_send_before> <observers> <...
Konstantin Gerasimov's user avatar
3 votes

Get Product Collection Containing In-Stock Products Only

Perhaps a day late and a dollar short, but instead of doing all this second-step work, you can simply join the cataloginventorystock_stock_status table to your collection select(): $collection = Mage:...
Toby Crain's user avatar
2 votes

Checkout progress not working

after upgrade magento this issue will occurs because your current theme is older magento files so pleas rename your checkout.xml to checkout.xml-- and rename template checkout folder to checkout-- ...
Prashant Barot's user avatar
2 votes

Can't retrieve entity config: core/store_group

Can't retrieve entity config: core/store_group error message means that default Magento configuration can not be initiated on your installation. Solution 1: Check that app/code/core/Mage/Core/etc ...
Mohit Kumar Arora's user avatar
2 votes

Can't retrieve entity config: core/store_group

This is definitely an issue with the app/etc/local.xml and app/etc/config.xml. Try replacing these files with some other running version of same app. This has done the trick for me every time I setup ...
Ahsan Horani's user avatar
2 votes

Which runs first, install-upgrade script or data-upgrade script?

the magento follow this order install install upgrade script data script data upgrade script the interesting starts if in 1st script you insert data (create website) and in 2nd script you read ...
Oleksandr Makhno's user avatar
2 votes

Mtslideshow SUPE8788 getConfig returns null

If you installed SUPEE-8788 this code is deprecated. I suggest you follow this post in order to make your module SUPEE-8788 compatible: https://magento.stackexchange.com/a/142013/2380
Raphael at Digital Pianism's user avatar
2 votes
Accepted

Magento 1.8.1 SUPEE-8788 "saving rejects to file downloader/lib/Mage/HTTP/Client/Curl.php.rej"

If you got this issue : patching file downloader/lib/Mage/HTTP/Client/Curl.php Hunk #1 FAILED at 372. 1 out of 1 hunk FAILED -- saving rejects to file downloader/lib/Mage/HTTP/Client/Curl.php.rej ...
Kozame's user avatar
  • 964
2 votes

Maximum execution time of 300 seconds exceeded error

The above error is happening because you are trying to mass delete many products from your Magento admin panel inside a browser. I can suggest you to: 1.) Delete the products in limited number. 2.) ...
Sourabh Kumar Sharma's user avatar
1 vote

Magento 1.8.1.0 - Class 'Mage_Tag_Helper_Data' not found

It will be too lenghty to post this in comment so posting here. In your magento directory make a file test.php <?php require_once 'app/Mage.php'; Mage::app (); $helper = Mage::helper ( 'tag' ); ...
Shrikant's user avatar
  • 330
1 vote
Accepted

Mtslideshow SUPE8788 getConfig returns null

I finally fixed it by editing the magenthemes/mtslideshow/slideshow.gallery.js on the basis on a diff with the mage/adminhtl/product.js file with respect to the one used before the SUPE 8788 patch. ...
Niko Zarzani's user avatar
1 vote

Frontend incredibly slow

based on the profiler output you provided here are possible performance issues: session start takes too long. this has been covered here Long Running Admin Page Requests Blocking Other Requests. try ...
Konstantin Gerasimov's user avatar
1 vote

Frontend incredibly slow

First of all, disabling caches will make your site slower, especially the Configuration Cache since it will rebuild all the configuration XMLs on every page load. Use the profiler you have ...
Fran Mayers's user avatar
  • 2,803
1 vote

Magento show wrong image when products doesn't have one

I also had this issue in Magento 2.1.6. Yes, for individual product you can just save the product in admin without changing anything. If you need to do this for all products at once, you can use the ...
Mukesh Chapagain's user avatar
1 vote

Magento show wrong image when products doesn't have one

It is a core issue. You can read about it, and also fix it from the official Magento2 GitHub: MAGETWO-53036: [GITHUB] Base image placeholder issue #4549 (https://github.com/magento/magento2/commit/...
Slashhh's user avatar
  • 66
1 vote
Accepted

Product images are uploaded in admin panel but cant be seen in the front view

It turned out to be the theme's issue, when i switched the store view to default theme, I was able to see the product images. I have contacted the theme author for the fix.
priyanka_rahi's user avatar
1 vote
Accepted

Programmatically create an order of grouped and bundle product in Magento

There is sence that every group and bundle product has a simple product and magento add all those simple product individual not as full product sku of group or bundle, so we can use every product's ...
Rohit's user avatar
  • 208
1 vote

Reduce queries of OnePica Image CDN

Solution for your issue In general, when you develop a system that needs to be scalable you must reduce as much as possible the number of write database queries or any external API calls. The best ...
Ivan Chepurnyi's user avatar
1 vote

Recompile the store is necessary after applying the patch 7405?

Here's a flow chart: +---------------------------------+ |Do you use the Magento Compiler? | +--+--------------------------+---+ | | | no ...
Fabian Schmengler's user avatar
1 vote

Onepage Checkout registration redirects to cart; checkout/onepage/saveMethod returns 404

I had the same problem today and I found out that the problem was caused by a customized version of persistent/checkout/onepage/login.phtml file in my template. Many changes have been applied over ...
Valerio Masciotta's user avatar
1 vote

How to update admin front end invoice/order numbers

The admin page grid is driven from the data in the sales_flat_invoice_grid table. You would need to change it there too.
endozs's user avatar
  • 125
1 vote

How to make category 'Default Product Listing Sort By' default option as 'Position'

To change magento product list default sorting feature, you need to change 2 things 1) Select default selector from admin panel Go to System->Configuration->Catalog->Frontend select from '...
Alam Zaib's user avatar
  • 199
1 vote

mysql data size keep increase to 36 GB(or more until hdd full)

In one of my installations, the table 'core_cache' was growing up to 13GB. After researching, found Amasty full page cache has a configuration file at app/etc/amfpc.xml forcing to use database for ...
Visualwebs's user avatar
1 vote

Exporting admin panel settings that are saved to the database

I found a lovely tool to export and import configuration settings https://github.com/Zookal/HarrisStreet-ImpEx This does a lot of what you guys and me are looking for I think.
Ali Alwash's user avatar
1 vote

How to hide empty attribute in any magento template?

This can be done with a small piece of code. Find and open the attributes.phtml file. This file can be found here: /app/design/frontend/[theme name]/[package name]/template/catalog/product/view/...
Teja Bhagavan Kollepara's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible