magento-1.6

In Magento after installing extension Admin panel in unable to load

拜拜、爱过 提交于 2019-12-10 10:44:16
问题 As I have assigned to work on magento, according to our requirement i tried to install Arabic extension for magento. The extension got successfully installed. Later on refreshing the admin panel, it shows the URL not found. The Stores FrontEnd CMS home page is loading, But when Iclick on any products, it shows again URL not found.. How can i solve this... 回答1: When diagnosing things like this, try the following.. Delete (or move to another folder) files in /var/www/var/cache Delete (or move

Magento Admin Add/Edit Review -> removing Summary of Review Field required validation

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-09 03:51:22
问题 How can i remove mandatory required for the Summary of Review Field in the Admin panel? 回答1: copy /app/code/core/Mage/Adminhtml/Block/Review/Edit/Form.php to /app/code/local/Mage/Adminhtml/Block/Review/Edit/Form.php and change (line 125 or 131) 'required' => true, to 'required' => false, and refresh the cache! 来源: https://stackoverflow.com/questions/13595149/magento-admin-add-edit-review-removing-summary-of-review-field-required-valid

How can I update the product name with a sql query in Magento?

烈酒焚心 提交于 2019-12-08 13:25:25
问题 Now, I want to replace in all product names 'example' with 'test'. How do I do this? I don't know where the product name is stored in the database? How should I write the sql command? I know the sql command will be update table_name set product_name = replace(value,"example","test") How do I change it in Magento? 回答1: Generally, it's a bad idea to directly update your magento database using sql. I'd recommend you create a controller, where you can easily run this little script: public

Add more filters in report the products ordered - Magento

♀尐吖头ヾ 提交于 2019-12-08 07:42:58
问题 Here I am giving my first steps in magento. And I came across a nescessidade in: Reports-> Products-> Products ordered Has the following filters: Would add a new filter, such as that in: Reports-> Sales-> Orders Is that possible? If yes, could someone give me some help? I did a search for extension or someone with similar problems but not getting suceso, I'll be grateful for any guidance. Thank you for your attention. 回答1: Considering that you said these are your first steps in Magento this

“Invalid entity model” error while exporting csv file for products

僤鯓⒐⒋嵵緔 提交于 2019-12-06 08:17:30
问题 while exporting a products csv file from backend magento admin panel, it prompts me the following error when i click continue to generate the csv file. "Invalid Entity Model" I am using magento 1.6.2 CE. ** edited ** I am using magento default export/import services mean from admin system -> configuration -> export/import ..... plz ask me any question if it is still not clear . 回答1: Open abstract class Mage_ImportExport_Model_Export_Adapter_Abstract and replace $destination = tempnam(sys_get

In Magento after installing extension Admin panel in unable to load

一个人想着一个人 提交于 2019-12-06 04:40:56
As I have assigned to work on magento, according to our requirement i tried to install Arabic extension for magento. The extension got successfully installed. Later on refreshing the admin panel, it shows the URL not found. The Stores FrontEnd CMS home page is loading, But when Iclick on any products, it shows again URL not found.. How can i solve this... When diagnosing things like this, try the following.. Delete (or move to another folder) files in /var/www/var/cache Delete (or move to another folder) files in /tmp From a shell, run /var/www/shell$ php indexer.php --reindexall You've just

“Invalid entity model” error while exporting csv file for products

痞子三分冷 提交于 2019-12-04 14:41:52
while exporting a products csv file from backend magento admin panel, it prompts me the following error when i click continue to generate the csv file. "Invalid Entity Model" I am using magento 1.6.2 CE. ** edited ** I am using magento default export/import services mean from admin system -> configuration -> export/import ..... plz ask me any question if it is still not clear . Open abstract class Mage_ImportExport_Model_Export_Adapter_Abstract and replace $destination = tempnam(sys_get_temp_dir(), 'importexport_'); to $destination = tempnam(Mage::getBaseDir() . '/var/tmp/' , 'importexport_');

How to deal with image quality in magento? [closed]

我们两清 提交于 2019-12-03 10:11:16
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. I've noticed that on my website Many of the images are overoptimized and have artifacting (blurry edges). They look really bad. So i've been looking into what how magento (1.6) handles those conversions but I don't know id it does. So you can give a look here to get an idea: HERE It depends on your monitor. Mine is good (bad) in the sense that these things stand out pretty clearly. Other monitors are more forgiving. So I

how to restrict user to access a particular category in magento?

↘锁芯ラ 提交于 2019-12-02 08:38:40
问题 I created a website for online shopping and i want to give my admin panel to some vendors so that they insert their own products related with a particular category they are dealing with. For ex :- In electronics category,there are various options like cameras, mobiles etc. 1.So, i want one vendor who is related with mobiles should be allowed only to enter his related products(only mobiles) from admin panel. 2.And he should not be allowed to see or update the products in other categories like

how to get the all attributes that belongs to a attribute group in magento

不打扰是莪最后的温柔 提交于 2019-12-02 06:47:36
问题 I have an attribute group and I want to get the list of attributes that belongs a particular attribute group. Is there any way to get all of the attributes under an attribute group? 回答1: Works on Mage 1.7.0.0: function printGroupAttributes($groupId) { $attributesCollection = Mage::getResourceModel('catalog/product_attribute_collection'); $attributesCollection->setAttributeGroupFilter($groupId); foreach ($attributesCollection as $attribute) { echo $attribute->getAttributeCode()."<br/>"; // I