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
11 views

How do I debug Magento 1 Admin Panel

I have a Magento 1.7 store that I set up a dev site for. I copied the code all across and everything except saving anything in admin works. It comes up with the spinning ajax wheel, which made me ...
0
votes
1answer
14 views

Redirect Causing WSOD

I'm working on Magento 1.7 (I know - in process of upgrading to 2) and made a custom form as a Magento plugin. Everything upto the redirect works - but I'm not sure why or how to debug. This is my ...
0
votes
0answers
14 views

How do I debug Magento report with no error?

I have a module that I created that stores data posted via form to a custom table and then sends a confirmation email. I got to a point of testing the form action, and it gets there - but I get the "...
0
votes
0answers
6 views

Remove products from category if not in another category (1.6)

I have an old magento store (1.6.20) that is going to be migrated. Need to remove some categories AND products that are only in that category. For example: product hammer is in tools, metal and ...
0
votes
1answer
13 views

From which Magento 1 version “catalogProductAttributeSetCreate” method is available

From which Magento 1 version catalogProductAttributeSetCreate and storeInfo method is available for soap API. Ex URL for soap wsdl: https://demo.example.com/api/v2_soap/?wsdl=1 https://demo....
0
votes
0answers
13 views

Magento 1 site indexed by google

Can any one tell me how to magento 1 website indexable by google. Any help?
0
votes
0answers
7 views

Generate 50% off coupon on already discounted products.If there is 10%, 20%, 30% or 0% OFF then the coupon should make it 50%

I want to generate coupon that apply 50% OFF on the products but if there is already discount on them like 10% OFF then the coupon should make it 50% OFF.Like wise if there is already 30% OFF the ...
0
votes
1answer
25 views

How to Set Store Config (system configuration)

We can get system configuration values using Mage::getStoreConfig($xmlPath); But how can we set such configuration field programatically? I would expect some method like Mage::setStoreConfig($...
1
vote
0answers
6 views

Export specific customer data incl. orders to another instance

I'm working for a customer that has several Magento Instances (from local, to stage, to test, to production). On production, customers are creating unreproducable behaviours which developers would ...
0
votes
0answers
28 views

I am getting an error when i run setup : Magento 1

I am getting below error: Call to a member function getDefaultStore() on boolean in D:\wampstack\apache2\htdocs\juliasvn\app\code\core\Mage\Core\Model\App.php on line 562 can anyone have any ...
0
votes
0answers
20 views

Delete/Deactive customer account after customer placed order in magento 1

It is possible to customer account delete or deactivate after customer placed the order otherwise deactivate after some certain amount of the time has passed.
0
votes
0answers
36 views

Magetno 1.9.3 Syntax error or access violation: 1064 You have an error in your SQL syntax

On the ckeckout page, when the firstname or lastname contains a character " ' " then I get an error when placing the order: exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or ...
0
votes
1answer
52 views

What happens to Magento 1 websites when PSD2 effective on Sep 14th, 2019?

Can Magento 1 site (CE + EE) comply with PSD2?
0
votes
1answer
32 views

Magento 1 : How to add multiple route in single Module

Below is the code for the router in config.xml <routers> <representatives> <use>standard</use> <args> <module>Mage_Representatives&...
1
vote
1answer
40 views

How to get Real IP when using stackpath (Magento 1)

We have just moved to Stackpath and now our payments are failing. I can see the requests hitting the server: [08/Aug/2019:09:27:41 +0000] "POST/worldpay/processing/response... I have enabled the ...
0
votes
1answer
43 views

Add to cart before Magento 1 - Cancel adding

I am creating an observer to cancel the addition to the cart with add_to_cart_before. Here is my config.xml Module_Stockespagne_Model ...
0
votes
0answers
27 views

Invoice Date sets to 1 Jan 1970 when set to “Paid”

Does anybody please know why some invoices on Magnento 1 are automatically reverting to 1 Jan 1970 for the purchase date and due payment date when they are set to paid? Many thanks in advance
0
votes
0answers
26 views

Rich Snippets for Google Local Store - Add to CMS page in Magento1

For a Magento1 store, we are looking to add rich snippets to various CMS pages. To allow Google to pickup the data for the website's different store locations. We have seen plugins that allow you to ...
1
vote
2answers
36 views

CSS only applies to widescreen devices, not mobile in Magento 1.x

CSS only applies to widescreen devices, not mobile. This isn't reponsive because when I use F12 in the browser and select the reponsive mode, it still has css but when reloading on it it no longer ...
2
votes
1answer
9 views

400 Bad Request 'Allowed JavaScript Origins' in Magento 1.x

i install amazon v3.0.10 on magento 1.x. When click checkout by amazon, it show this error I tryed add application in amazon account but it not working. Please help me, thanks
3
votes
0answers
36 views

Magento 1: How to check image file is uploaded or not without using Global variable $_FILES()?

Is there any way to check that image file is uploaded or not without use of $_FILES() ? in Magento 1.9.4.0
1
vote
2answers
229 views

How to update Magento 1?

I don't understand the point: is it enough to apply all latest M1 patches to keep the Magento 1 up-to-date or do I need to download and install whole Magento 1 code package every time the new version ...
1
vote
1answer
91 views

Migrate magento 1 to Magento 2 : Data migration tool change column type

I'm trying to migrate from Magento 1.7.0.2 to Magento 2.3.1 For that I use the migration tool :https://devdocs.magento.com/guides/v2.3/migration/migration-tool-install.html All is working fine ...
0
votes
1answer
43 views

Migrate magento 1 to magento 2 new column

I'm trying to migrate from Magento 1.7.0.2 to Magento 2.3.1 For that I use the migration tool :https://devdocs.magento.com/guides/v2.3/migration/migration-tool-install.html All is working fine ...
28
votes
19answers
8k views

Security Patch SUPEE-11155 - Possible issues?

Magento has released a new security patch for M1, and updates for M1 and M2. What common issues do you have to watch out for when applying this patch/upgrade? Magento 1 https://magento.com/security/...
2
votes
1answer
34 views

In Magento 1 if i try to delete over 50 products the site crashes

Is there anyway to solve this rather annoying issue?
1
vote
1answer
23 views

Pull data of orders having non-zero subtotal for each customer

I want the count of the orders which each customer has placed. Only those order which has non-zero subtotal should be counted. How can I get that data? Please let me know if we can use any SQL query ...
0
votes
2answers
76 views

Magento addtocart formkey 404

I've been struggling with this issue for a few hours now and thought to see if anyone else has any ideas on why it could be happening. When I try to add a product to the cart, I get a 404 error with ...
0
votes
2answers
45 views

How to minify Magento 1.x core JS/CSS files?

Any ways how to minify core JS/CSS files in Magento 1.x? (Prototype.js, etc) Thanks
6
votes
0answers
95 views

Inconsistent package.xml - Magento 1

I tried finding a Slack or Discord server for Magento before coming here. I am trying to submit a Magento 1 extension for technical review @ marketplace and the package.xml won't pass marketplace ...
0
votes
1answer
151 views

Magento 1.9 : Create a CSV of product SKU, Quantity and Price

I'm trying to work out how to create a downloadable CSV file that contains fields for Product SKU, Quantity (should be set to 5 if more than 5 in stock) and Price in Magento 1.x. Price in this ...
0
votes
1answer
33 views

How to modify a variable {{var order.increment_id}} from transactional email

Does someone know where the value of {{var order.increment_id}} comes from? The variable is in the “credit memo” template in the transactional email section. Can someone help? Because I need to ...
0
votes
2answers
48 views

How can I access my old Magento Admin Panel?

we recently launched a new website and in doing so have lost access to the old admin site. Both sites are using Magento 1 and we used to access the old site on the following URL, https://www.alltank....
0
votes
0answers
24 views

Magento front and backend suddenly displaying in plain text

my website is suddenly displaying in plain text, my backend as well. I'm running Magento 1 still. I tried restoring a back up from before the incident happened, nothing changed. I made sure the ...
2
votes
1answer
22 views

Two item category coupon code with fixed amount for whole cart

Magento version, 1.9.2.4 How do I generate a coupon where a person puts in there cart one item each from two different categories and then gets a fixed discount off the whole cart. But, if only ...
1
vote
1answer
45 views

Allowed memory size exhausted error when create block and set template

Hello I am using magmodule rich snippet where this code block add some snippet to catalogue page: $snip_html = $block->getLayout() ->createBlock('snippets/products') ...
2
votes
1answer
32 views

Call to undefined method stdClass::getVatRemoved()

There is observer in my magento 1 site for event vat_check_after. In this observer the code is: $validation_result = $observer->getEvent()->getValidationResult(); if($validation_result->...
1
vote
3answers
133 views

magento 1 malicious code attack in app/Mage.php

I have been working on a project and recently i am observing some malicious code is being added to the file app/Mage.php at the top of file. I have tried removing this code multiple times but it again ...
5
votes
2answers
74 views

Can't login to staging servers without deleting cookies first. Magento 1.9

We have multiple clones of our main shop at www.mainsite.com for testing and developing. e.g. test.mainsite.com, fbk.test.mainsite.com and isk.test.mainsite.com, There is a big issues with the ...
1
vote
1answer
24 views

Product Category is not displaying in front end in magento 1

I have created a new category in the backend. But it is not automatically showing in front end.
1
vote
1answer
31 views

Magento 1.x Custom Module - get wrong Frontend Url

I have Mage 1.9 with my custom module installed. I have checked that the function Mage::getUrl('mymodule/api/users/1'); return wrong url with admin path. We also use a custom path for the admin ...
0
votes
1answer
39 views

Using ngrok with Magento 1 issue

I have a virtual host set up. My local url is http://test.local When I start ngrok, my local url will become: http://test.local.ngrok.io so I changed my base secure and unsecure url to: http://test....
0
votes
0answers
28 views

Magento 1 Observer not overriding core observer

I am trying to override a core observer, but nothing I have tried has worked. I am trying to observe the event sales_order_save_before. Here is my config file: Location: app/code/local/DBCustom/Order/...
1
vote
0answers
29 views

Migrate category and product urls from magento 1 to magento 2

How to migrate only category and product urls from magento 1 database to magento 2. I am using magento 2.2.6 Thanks Pradeep
0
votes
1answer
32 views

Magento does not use specified default value on attributes of type yes/no

I added a new attribute with Default Value set to Yes. I added the attribute to my attribute set and edited the product, but it is set to No by default. How can I fix it?
0
votes
1answer
17 views

where in clause in magento 1

I am new to magento. How can I use where in clause in magento 1. I have array of ids and I want rows from those ids from database. Please help me here. $stateDealersCollection = $stateDealerModel-&...
0
votes
0answers
20 views

Magento 1 layout best practice

So on a multistore Magento 1 we need to change the html on a page depending on the store, everything is done with one theme. And we have 2 implementations, but I'm not sure which one is better. ...
2
votes
0answers
30 views

Select logic changed with latest versions - product resource collection

While performing an upgrade of a Magento 1 shop, noticed a change in core class Mage_Catalog_Model_Resource_Product_Collection, within method _initSelect The change that has happened is, that ...
2
votes
0answers
10 views

Why did the Payment section stopped working after switching primary domain? And - does Form Key Validation On Checkout need to be enabled?

Porto theme I switched the primary domain in our Magento 1.9.4 store and then the Payment section of the checkout stopped working altogether - you could select a Payment method by placing a tick in ...
1
vote
0answers
20 views

tinyMCE always changes URL after edit configurable article and save

If I edit a configurable product and save then it loads and if load finisihed then URL changes from: https://www.example.com/index.php/login/catalog_product/edit/id/4 to https://www.example.com/...