Skip to main content
5 votes

How can I remove the feature that makes you whitelist blocks ( part of SUPEE-6788 )

Don't do this, and just search for one of the many tools that can assist such as https://github.com/peterjaap/magerun-addons Find non-whitelisted vars/blocks to be compatible with SUPEE-6788 and ...
MartyS's user avatar
  • 934
5 votes
Accepted

Redis timeout after a reindex

CAUSE: The line in question returning the exception in CRedis: https://github.com/tburry/credis/blob/master/Client.php#L991-L1002 NOTE the timeout causing because of the read meta data of the ...
B00MER's user avatar
  • 8,307
3 votes
Accepted

Saving a product in an observed product save event

This is no bad practice :) The problem is this piece of code $product->save();. The observer method is correct, but with this line catalog_product_save_after is triggered again, and again ... ...
sv3n's user avatar
  • 11.7k
2 votes

Special Price From Date and To Date

You may use following code $collection=Mage::getResourceModel('catalog/product_collection') ->addAttributeToSelect('name') ->addAttributeToSelect('sku') -&...
sanjeev's user avatar
  • 21
2 votes
Accepted

Should I use dynamic variables in cache tags?

Can/should cache tags in Magento be dynamic?...Is this the right way to use the cache tags? Yes! This is exactly what cache tags are for - to group a number of cache entries together. Here are some ...
scrowler's user avatar
  • 2,014
2 votes
Accepted

Magento 1 creating a variable fixed-amount coupon code in PHP

You pretty much came to the correct conclusion. If you've got different values you need separate rules. However if you've got same amounts you can generate codes which share rules. The way I ...
Dominic Pixie's user avatar
2 votes
Accepted

magento 1 enterprise to magento 2 community

Going from EE 1.x to CE 1.x to CE 2.x will be more straightforward than direct from EE 1.x to CE 2.x. Going direct would involve modifying the data migration tool configuration to ignore enterprise ...
Ryan Hoerr's user avatar
  • 12.3k
2 votes

After place order moving to empty cart page. 502 bad gateway error

I think it might be the issue with your nginx configuration. Please add the below in nginx configuration. Basically, it may be the problem with the header and it is unable to pass too big data. It ...
Mohan Natarajan's user avatar
1 vote

Could someone please help with some questions related to using Magento 1 database backup functionality?

Follow the steps given here to create automatic scheduled backup. You can decide to backup Code, Database, Media files or all together. (Make sure cron is enabled for your site) Yes it does impacts ...
Abdul Pathan's user avatar
  • 2,812
1 vote

After place order moving to empty cart page. 502 bad gateway error

The actual error will be displayed if you edit app/bootstrap.php and enable display_errors Change #ini_set('display_errors', 1); To ini_set('display_errors', 1); Then try the same scenario as ...
Mr. Lewis's user avatar
  • 1,931
1 vote

How to remove trailing slash from all website pages in Magento ver. 1.14.2.2

For both categories and products you should be able to do this by setting the 'URL suffix'. Go to the backend System > Configuration Catalog section > Catalog then scroll down to Search Engine ...
Nikunj Vadariya's user avatar
1 vote

Multiple cookies for CUSTOMER_SEGMENT_IDS when placing order

Magento 1.x EE FPC saves entire page into the cache. But there are some sections in the page that need to be rebuilt during customer journey. E.g. If you add a product to cart the minicart should be ...
B G Kavinga's user avatar
  • 1,266
1 vote

Can we migrate magento 1.14.1.2 EE to 2.3 CE?

Install Data Migration Tool 1) Check your Magento 2 version :- sudo php bin/magento --version 2) Install Data Migration Tool from repo.magento.com :- composer config repositories.magento ...
Ronak Rathod's user avatar
  • 6,342
1 vote

How can we migrate magento 1 EE to magento 2 CE

you may follow plan describe below to migrate to Magento CE 2.3.0 from Magento 1.14.1.0 Data Migration : You can use Magento Magento 2 Data Migration Tool to migrate Data from Magento 1.X to Magento ...
Pritam Biswas's user avatar
1 vote

Remove script via xml

try below code for Magento 2. <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <...
Abhishek Panchal's user avatar
1 vote

Magento Install Problem - no core config data

After running yet another fresh install i got the first 8 entries mentioned in @christoph-farnleitner, but nothing more. Still couldn't get the site to load. As a last ditch effort, i copied the code ...
Andy's user avatar
  • 11
1 vote
Accepted

Strict Notice: Declaration of ::helper() should be compatible with Mage_Core_Block_Abstract::helper($name)

There is no need to rewrite this method .... instead of $this->helper() use $this->helper('as_freeshippingmsg') ... or add a "wrapper" that does not exist in parent class ... protected ...
sv3n's user avatar
  • 11.7k
1 vote

Strict Notice: Declaration of ::helper() should be compatible with Mage_Core_Block_Abstract::helper($name)

Your extension of ::helper() isn't compatible with the class you are extending. Even though you are manually setting the helper name in your custom file, you should still pass in the $name property if ...
Tony DeStefano's user avatar
1 vote
Accepted

Why doesn't custom block appear on product page

You forgot a node in your config file : <frontend> <layout> <updates> <-- this one <foo_bar> <file>foo_bar.xml</file> ...
Kozame's user avatar
  • 964
1 vote
Accepted

magento 1.14 customer login hangs on some accounts

After a long debug, Issue has get resolved. It was happening due to trigger_recollect field in quote. Class Mage_Sales_Model_Resource_Quote.php I have put if($data['trigger_recollect'] == 1){ } in ...
Amit Maurya's user avatar
  • 2,871
1 vote
Accepted

Issue adding new shipping carriers for package tracking

In your collectRates() method you are returning rate result object but without adding any actual rates. You need to add at least 1 to show it on front end: public function collectRates(...
Zefiryn's user avatar
  • 5,898
1 vote

How to fetch magento admin page output?

Technically, using file_get_contents() connecting from a different computer and is not under the same session as your browser. Therefore you are failing authentication. Instead, look into exporting ...
Phil M's user avatar
  • 748
1 vote
Accepted

How to fetch magento admin page output?

In order to get any page in admin you need to have key parameter in the url. You receive the key at the login. You can write a custom module with output that you need from that admin page.
Moshe Shperling's user avatar
1 vote

Adding Child Data to the Product Flat Index

So, if you are using attributes for configurable products and you want those attributes to be shown in the flat tables, you need to have the attributes configured so that they have the ...
df2k2's user avatar
  • 984
1 vote
Accepted

How can I extend adminhtml JavaScript methods with custom logic?

First, you need to customize the adminhtml equivalent of the template mentioned above, which would be: app/design/adminhtml/default/default/template/catalog/product/composite/fieldset/configurable....
fantasticrice's user avatar

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