Tagged: Magento

Mass Product Attribute Upload in Magento and Magento 2 0


Mass Product Attribute Upload in Magento

According to latest practice in magento site most developers use product collection to update the product attribute. But unfortunately it has bad effect to side such as,

  1. Product collection script update get slow.
  2. If we use select option to update product collection, when it save it back url key can be empty.

To overcome magento already have function call mass product attribute to update the product. (more…)

Custom HTML tags are missing in Magento wysiwyg editor 0


If you have encountered this issue,

for ex:- When you add custom html code  and it’s not visible in the admin and often not rendered in the front end, there is a simple hack for this.

Goto,

js\mage\adminhtml\wysiwyg\tiny_mce\setup.js

and add “extended_valid_elements : ‘i[class]'” , code to var = settings (more…)

File Resolving in Magento 2 (Static, Template, Script, …) : Clues for Debugging 0


When Magento 2 wants to find a view file from the filesystem, it uses a fallback mechanism with a file resolving method. Unlike when a Class file is missing (where it gives an error) sometimes Magento 2 doesn’t provide an error message or so (even if error display is enforced).

I came up with a typo in the filename, which I didn’t notice, I got empty content area on frontend. No error messages. After a few debug sessions, found some clues on few interesting places to look on such a scenario.
(more…)