Questions tagged [magento-1]

General questions about Magento 1 not specific to a minor version. You can use it to distinguish from Magento 2, but if you have issues with a specific installation, use the appropriate magento-1.x tag instead.

Filter by
Sorted by
Tagged with
0
votes
0answers
23 views

Products don't showed in manage products

I have a problem with this code: $website = Mage::app()->getWebsite($website->getId()); $store_id = $website->getDefaultStore()->getId(); $_grouped_products = Mage:...
1
vote
0answers
188 views

Cannot install SUPEE 10572 patch on Magento CE 1.6.0.0

Already removed SUPEE-10570v1 and install SUPEE-10570v2 but error in below files. File app/code/core/Mage/Admin/Model/User.php Hunk #1 FAILED at 127. File app/code/core/Mage/Customer/controllers/...
0
votes
1answer
44 views

Can I make free shipping on a specified product in magento 1?

I need to create a new product which my customer need not to pay shipping amount for this (ex: free shipping), but, it doesn't work, here is the snapshot for your reference.
1
vote
1answer
99 views

Calling custom constant issue

I have defined a constant in a custom helper in module A. I want to call it an admin method from a custom controller from a custom module B. This is my custom helper class from module A: ...
2
votes
2answers
199 views

Add group prices to product collections

Is there a method to add group prices (for one or more customer groups) to product collections? Actually I have this ... /** @var Mage_Catalog_Model_Resource_Product_Collection $products */ $...
0
votes
2answers
344 views

Add button in customer edit page

I want add a new button in customer edit page. Here: Between Reset and Create Order. I try override "Mage_Adminhtml_Block_Customer_Edit" but when go to the customer edit page return this error: ...
0
votes
2answers
47 views

Don't execute foreach loop if array is empty

I have the following code, if there are no orders older then $days_ago, I want that the foreach loop won't be executed. I don't know how to do this. $orders = Mage::getModel('sales/order')->...
2
votes
2answers
474 views

Remove option “Relevance” from sort by

When I do any search we can see a list of products with the field "Sort by", but I need get rid of the option "Relevance": If I go to a category from menu I don't have this sorter. Any idea?
0
votes
1answer
30 views

How to add my own HTML and Javascript codes to Magento 1

This must be a basic question but I cant find an answer to use. I did some custom functions with Javascript and a design (css/html) and now I want to include them in a Magento 1 project, how can I ...
14
votes
15answers
8k views

Security Patch SUPEE-10752 - Possible issues?

A new security patch is out for Magento 1, addressing 25 APPSEC issues https://magento.com/security/patches/supee-10752 What common issues do you have to watch out for when applying this patch? ...
1
vote
4answers
279 views

Magento 1 : Showing Custom Attribute On Product Page

I am working on aMagento 1.9website. I want to add an attribute of the brand on theproduct page under the product name. I have highlighted in the following image. can anyone please guide how can I ...
3
votes
1answer
271 views

Magento 1 vs Magento 2. Difference between solutions offered by Magento 1 and Magento 2 when is comes to web APIs

Specific on the area of web APIs. Does Magento 2 offer something that Magento 1 does not. Are there any problems with Magento 1 Web APIs that Magento 2 has fixed What are the main differences between ...
0
votes
1answer
95 views

Change default behaviour for address selection in checkout

When we define a default billing address and a default shipping address for a customer, the (onepage) checkout automatically selects "Ship to this address" while choosing the billing address. Users ...
0
votes
1answer
52 views

Extending Adminhtml blocks class _prepareCollection

I am trying to override a adminhtml block and I created all files accordingly. The problem is that it does not have any effect. My files are as follows: app/code/local/Grando/Groupfilter/etc/config....
0
votes
1answer
117 views

How to add column in customer group table using script? [closed]

We need to add 3 more column in the customer group table. How to add it using script?
0
votes
1answer
600 views

Difference between “Allowed Countries” and “European Union Countries”

What is the difference between "Allowed Countries" and "European Union Countries"? In Magento 2: Admin -> Stores -> Settings -> Configuration > General -> General In Magento 1: ...
0
votes
1answer
417 views

Magento 1: after login need to redirect to previous page (before login) instead of dashboard page

I want to redirect customer after login to previous page rather than account dashboard page. I set the Below Configuration Login to admin panel Go to System -> Configuration -> CUSTOMERS -&...
0
votes
1answer
17 views

How to solve an issue with pre selected layered navigation?

I'm using Magento 1.14.3.8, when I navigate through the categories sometimes some layered navigation items shows up selected. How can I solve it?
0
votes
1answer
182 views

unable to checkout with paypal express when using a discount code

never seen this problem before on any other website but when we try to checkout via paypal express when trying to use a discount code we get an error Transaction refused because of an invalid ...
1
vote
1answer
148 views

Magento 1.3 .ru bots attack! [duplicate]

I'm being attacked by .ru bots on my Magento 1.3. Is there any plugin that works for this old version? Or a way to block them?
0
votes
1answer
300 views

How to get quantity of products sold?

I need to get the quantity of products sold on my report module. Actually I'm only getting the ordered quantity, but I need to get the quantity of all finished orders. Here is my actual code: public ...
0
votes
0answers
25 views

Unable to call module output on product listing

I have a custom delivery-date module (Magento 1.9) which outputs the delivery date based on all kinds of variables. The setup is pretty easy, and I can display the delivery date on the product page; ...
0
votes
0answers
43 views

chrome on ipad/iphone redirect loop for magento product link

we have a site that is running in Magento EE 1.14. Below is the issue im facing. What is expected? On click of a product, it should redirect to its product detail page What is happening? ...
1
vote
1answer
185 views

Adding a Cookie policy Popup message

I was wondering would anybody be able to assist me. I want to add a pop up on my magento 1 website that tells the user about our cookie policy. I know there is a setting in magento already but it ...
1
vote
2answers
651 views

Google Tag Manager enhanced ecommerce - Datalayers

I have setup enhanced ecommerce for my client. (batteribyen.dk). They use Magento Enterprise I followed this guide: https://docs.magento.com/m1/ee/user_guide/marketing/google-universal-analytics-...
0
votes
1answer
167 views

Magento 1.9.2 : How to remove sub category in the menu bar?

I have a site PREMIER HOME in Magento 1.9.2. In the top menu bar, I've some parent categories and the child categories in the drop down. I've deleted 2 sub-categories by going into "manage ...
0
votes
1answer
922 views

Magento 1 end of life on Nov. 2018 or not?

Please see this answer by an internal staff of Magento who states that: Magento 1.x end of life is November 2018. However on their official blog, this post states: Magento 1 has been and will ...
0
votes
1answer
479 views

Save base64 string image in backend

I am trying to save base64 strings images from my custom module. I have checked product image upload function: $fieldName = 'image_base64_field'; $path = Mage::getBaseDir('...
1
vote
2answers
111 views

magento 1 append block into another block

I have google map section as one block . and i want to add my block into checkout billing address block. i did like this code <reference name="content"> <reference name="checkout.onepage"&...
0
votes
1answer
119 views

Get collection with promotional products not working

I need to get a collection listing all products with a promotion, but I'm getting this error: Fatal error: Call to a member function getBackend() on boolean I tried those 2 solutions, but still ...
2
votes
0answers
108 views

Installed cron scheduler but I see now that cron is having issues

I'm looking at the timeline & I see that cron keeps stopping & the cron jobs are not running. I get this message "Last heartbeat is older than one hour. Please check your settings and your ...
0
votes
1answer
239 views

How to get ordered quantity from product?

I'm trying to get the ordered quantity from my catalog/product collection, but I'm having this error: Call to undefined method Mage_Catalog_Model_Resource_Product_Collection::addOrderedQty() Here ...
0
votes
0answers
237 views

Magento 1 : Admin Panel Not Saving Changes In Theme?

Working On Magento 1.9 Website active on scala hosting. I am using porto theme, all was going good but all of sudden am not able to save the changes done on theme . when l click on 'save config' it ...
0
votes
2answers
92 views

Moved Module from localhost to server, block type invalid

I know that a lot of similiar questions has already been asked, but none of provided solutions worked for me, so i decided to add this question. I have created new block for getting products by id's, ...
0
votes
1answer
145 views

Unable to place order from Magento Admin, showing error on city field required

I am unable to place order from admin. I enter all the data in required field. When I place order, error showing in the City field - this is a required field. I am using magento 1.9.3.7 version can ...
0
votes
0answers
21 views

Aoe_Scheduler Errors when trying to access the module on admin

Installed Aoe_Scheduler and now getting a http 500 error when trying to access the module on Admin. Can anyone help?
1
vote
0answers
60 views

Magento 1 price reload function for custom option is called as many times as options are present

I have a long list of custom option for a product. it's around 5000 options (multiple select) inside the custom option. And I found that it's extremely slow each time when I select or unselect an ...
0
votes
1answer
50 views

Can't override Mage_Catalog_Block_Product_List_Toolbar

I have a problem to rewrite/override Mage_Catalog_Block_Product_List_Toolbar. Here is my code: etc/modules/Codesky_CatalogProduct.xml <?xml version="1.0"?> <config> <modules&...
0
votes
2answers
88 views

How to enable extensions through terminal?

Is there a way to enable and disable extensions in version 1.x via the command line? How can I enable an extension through terminal? What is the command?
-1
votes
1answer
315 views

How can I run a new cron job to clear cache every 12 hours? [duplicate]

How can I run a new cron job to clear cache every 12 hours? Can anyone help?
1
vote
0answers
535 views

SSL, Nginx, Varnish - Too many redirects

I know there are several questions on this issue, but no solutions seems to work for me. I have Magento 1.9 running on Nginx port 8080 and with Varnish in front running on port 80. Without SSL it's ...
0
votes
0answers
21 views

How to create a new eav attribute in Magento 1 [duplicate]

How can I create a new EAV attribute for customer in Magento 1 using SQL script.
2
votes
1answer
43 views

Group and apply 'LIKE' filters to product collection (x AND y AND …) OR (z AND a …)

How to filter product collection as follows WHERE (`att1` LIKE '%val1%' AND `att1` LIKE '%val2%') OR (`att2` LIKE '%val1%' AND `att2` LIKE '%val2%') the number of 'LIKE' statements inside groups ...
0
votes
1answer
228 views

Any future update planned for Magento1 to be combat upcoming GDPR changes?

Does anybody know if Magento1 will release an update this month to be compatible with the GDPR changes due to be in place before the 25th of May 2018? Just wondered if Magento ver. 1.9.3.9 was ...
0
votes
1answer
101 views

extension failed to open stream: No such file or directory

I have Installed a Magento Extension, after that I have error failed to open stream: No such file or directory I don't know why? Thank you
0
votes
1answer
125 views

Magento 1.9.3.2 - attribute showing in backend for only one category

Today I added two new attributes, assigned to the default attribute set. Scope: Global, Apply To: All Product Types, Visible on view: Yes, Used in Product Listing: Yes I was happily implementing ...
1
vote
3answers
63 views

Maintenance mode in Magento 1 issue

I have multiple stores and I would like to have different text and images, while the stores are in maintenance mode. To do that I need to change the 503.phtml file . This is the default content of ...
0
votes
0answers
45 views

Reindex a group of products programmatically

I'd like to know if it's possible to re-index not all product data, but just a group of them, based on their id. Something like this: foreach($collection as $product){ reindexSingleProduct($...
2
votes
1answer
190 views

Get collection of recently updated products

I'm trying to create a collection of all products that have been updated in my store the past 24 hours. The following code seems to be ok to me. Although I have tried numerous altering versions of it,...
0
votes
0answers
91 views

Customer Group price not add in cart page when we edit quote and quote have bundle items?

$product = Mage::getModel('catalog/product')->load($item->getProductId()); $product->setCustomerGroupId($customer->getGroupId()); $product->save(); $options = $item->getProduct()-...