Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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
2
votes
3answers
10k views

Configurable product - Inventory - Stock Availability status doesn't change when all associated Simple products go out of stock?

I have an Enterprise site (1.12.0.2) and a Community site (1.7.0) both doing the same thing. A configurable product (Manage Stock set to Yes) has just one simple product. Somebody orders the last ...
0
votes
1answer
105 views

Passwort reset link in new-account e-mail

I'm trying to get the reset password link into the new account mail, right after registration. My attempt right now is: theme/template/customer/resetlink.phtml if ($user->getId()) { $...
0
votes
1answer
274 views

view custom message in product page by category id

How do I display a message (ex. AVAILABLE IN 30 DAY) in product page only for a specific category id (98, 100 and 101)? I've created <?php if($_product->isSaleable()): ?> <div class="...
1
vote
2answers
120 views

Why is Magento still showing old version in backend after installing Patch?

I installed the Patch SUPEE-11086 but my Magento Version still shows 1.9.4.0 instead of 1.9.4.1 Why is the version not changed?
1
vote
2answers
4k views

Serve resources from a consistent URL

I'm working on optimizing our website & am getting this notice when using GTMetrix. The following resources have identical contents, but are served from different URLs. Serve these resources ...
0
votes
1answer
261 views

Tiered pricing based on total quantity purchased

I am selling note cards, and there is no price difference between any of them, the same pricing structure applies to all. What I would like to do is calculate a total based on the total quantity of ...
1
vote
1answer
205 views

Disable/Readonly admin options Magento 1 [duplicate]

How can I disable the size option for catalog products in Magento 1. I've searched Google and StackOverflow and I can't find a good solution. Is there someone that can help me? Thanks a lot!
1
vote
0answers
42 views

Helper not found and breaks the site

I came across a magento 1 issue where a helper cannot be found and it breaks the website. It happened once I installed my custom extension. I have this helper which is defined in config.xml: ...
1
vote
2answers
2k views

Issues sorting by two attributes

I'm having problems applying a default sort order to the product collection for the listing page. When some conditions are met I want to sort by 'region' and then by 'price'. I have added the ...
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 ...
4
votes
1answer
839 views

How to pick data from a form into the backend?

I've created a new menu on the backend, which has a form. I need to pick the form's data and show them in the same .phtml or another, I don't mind. But the fact is that I can't do a <form action="" ...
1
vote
1answer
96 views

Can't login it shows fatel error [closed]

When we try to login to admin it shows fatal error. So is there any solution for this problem? Fatal error: Access to undeclared static property: Mage::$_isDeveloperMode in /home/mominaslib/...
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 ...
107
votes
13answers
68k views

Magento core_url_rewrite table excessively large

I've noticed a large amount of reports that this table itself can become extremely cluttered, I'm running a site with ~5000 SKUs and ~250 categories (single-store) and a resultant core_url_rewrite ...
3
votes
3answers
26k views

Can I Delete The Thousands Of URL Rewrites?

I am wanting to add redirects from old site URL to new site URLs however when I go into URL Rewrite Management there are over 8,000 records there already. Can I delete these? Most of them are in the ...
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/...
2
votes
2answers
370 views

Magento 1.9.2.3 and SUPEE 7405

I upgraded from Magento 1.9.2.2 to 1.9.2.3, can you tell me if should I install also the SUPEE 7405 or it isn't necessary? How can I know if my site is vulnerable?
3
votes
2answers
97 views

Magento use SSL/https for certain IP only

I need to put a check on IP. I want to use SSL/https only for my IP. Where is the method that forms baseUrl with https or http? Where can I do this?
5
votes
4answers
5k views

How to debug vsprintf() “Too few arguments” error in my log files?

I keep seeing the following report in my system.log file: 2015-10-20T12:34:07+00:00 DEBUG (7): Array ( [type] => 2 [message] => vsprintf(): Too few arguments [file] => app\code\...
2
votes
1answer
42 views

What does Magento 1's end of life mean for security?

With Magento 1 nearing it's end of life in June 2020, what are the biggest threats when it comes to security?
4
votes
1answer
147 views

Translation not working for captcha module

I have activated magento admin login form captcha. I keep getting the message "Incorrect CAPTCHA" When i enter an incorrect captcha code, I want to show the german language text instead of english, ...
10
votes
5answers
22k views

How to add Jquery in Magento?

In my current project in about us page I need to add tabs to switch between different section I know this can be done by Jquery tabs but I don't know how to do this when integrating with magento.
2
votes
1answer
266 views

Where is the code that handles the API method catalogProductCreate?

Can someone assist with finding the code that deals with the catalogProductCreate (SOAP v2) request? I thought I found the method here: app/code/core/Mage/Catalog/Model/Product/api.php public ...
1
vote
1answer
92 views

Reindexing - browser window during re-indexing

Does the browser window need to remain open when re-indexing from the admin panel? i.e. once I start the re-index process, what happens if the browser window is closed. I am guessing re-indexing would ...
1
vote
0answers
19 views

Magento 1.x core config values in mysql upgrade?

I have the following lines to get a core_config_data value in a mysql upgrade script $installer = $this; $installer->startSetup(); $adapter = $installer->getConnection(); $my_store = Mage::...
0
votes
3answers
333 views

Top-menu renderer isn't fully configured

I deleted a category from my magento installation and then i started getting this error "Top-menu renderer isn't fully configured." on the page and nothing else would work.
0
votes
1answer
80 views

Easiest way of adding a script to the order confirmation page in Magento 1?

I need to add a script that tracks orders on a Magento shop. This script is to be inserted onto the order confirmation page. What is the easiest way of inserting this script onto the order ...
2
votes
0answers
80 views

The use of function html_entity_decode is forbidden. What should we use instead?

Ecg coding standards forbids using html_entity_decode method. What should we use instead?
1
vote
0answers
40 views

How to give add product option directly in cart in magento

I came across a requirement in one of my project where we need to accomplish the same. Requirement:- Even though the user has not added any products to the cart, they should be able to open cart and ...
0
votes
2answers
2k views

Head Miscellaneous Scripts section

I have a very strange problem. I need to add some common script to my website, and I use Miscellaneous Scripts for that on system > configuration > design > html head everything worked fine, but ...
0
votes
0answers
108 views

which dedicated patch file to Install patch SUPEE-11086 for Magento 1.14.2.0 EE

I know how to install a patch file. But which dedicated patch file to Install patch SUPEE-11086 for Magento 1.14.2.0 EE. Does anyone know which is the patch I should apply for 1.14.2.0 EE?
10
votes
3answers
1k views

ECG compliance: How to do?

There is something like a coding standard for Magento 1, called ECG where numerous things should be avoided or methods that should not be used. Let's try to create a list that covers all cases that ...
0
votes
1answer
136 views

Change UPS ground shipping price in checkout

I used the Magento observer but using the code below, the UPS all-allowed method price becomes zero. I want only the ground price to be zero and other methods not to change. public function ...
14
votes
15answers
9k 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
2answers
721 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
0answers
50 views

Magento 1.9.4.0 suddenly stops working with PHP 7.2, needed to downgrade to PHP 5.6

We changed our PHP to 7.2 a week ago. There were no problems but suddenly after a week there was a problem. Users were redirected to the cart after pressing the "Confirm Order" button on Checkout page ...
2
votes
0answers
32 views

Magento 1.9 patch error

I trying to patch 1.9.2.1 from supee-752 to supee-10888 and getting next error: Cant find the any solution. Any ideas?
1
vote
1answer
570 views

Categories widget in sidebar

I created a widget and assigned the following values to it: Type: Catalog Category Link Design Package/Theme: rwd / default Widget Instance Title: Categories Sort Order: 1 Now I want it displayed ...
0
votes
1answer
565 views

Load all gallery images in category on hover (Ajax)

I have a code to load all the gallery images of a product in category, it will work but the problem is that will load ALL gallery images for products in the category (list.phtml) so will increase ...
1
vote
2answers
188 views

escapehtml won't manage “&” in mail subject

I'm trying to figure out why a value like ramdom&text, passed as a variable in : {{htmlescape var=$product.customvariable}} will appear as random&text(what I want) inside the mail, and ...
0
votes
1answer
19 views

Magento 1: Email Marketing

I have a virtual store in magento and I want to know which is the best plug-in email marketing or platform that can be synchronized with magento 1, to do: an automatic email to send when the customer ...
2
votes
2answers
37 views

Magento 1 - Free Shipping after applying Gift Card Code

I've been struggling with an issue regarding free shipping and gift card codes. So basically I have a free shipping rule which applies to orders above $100, based on subtotal after applying discount ...
1
vote
1answer
633 views

Magento1 SUPEE-11086 Potential Issues? [duplicate]

The Description of the patch SUPEE-11086 is: SUPEE-11086, Magento Commerce 1.14.4.1 and Open Source 1.9.4.1 contain multiple security enhancements that help close remote code execution (RCE), ...
0
votes
0answers
47 views

Added CMS block to contacts page layout XML, but doesn't show up

I am trying to add a CMS static block, to the magento 1 contacts page, in the right column. I've tried adding the following to app/design/frontend/{client}/{theme}/layout/local.xml <...
0
votes
1answer
557 views

Code to enable downloadable product?

I have the following custom payment plugin controller. After purchase, it does not enable a downloadable product. I am wondering if there is a simple line of code I could add so that this controller ...
1
vote
0answers
45 views

Attribute set sort order has gone - how to rebuild?

This code returned attributes set for dropdown menu - ordered by attribute set name ... $sets = Mage::getResourceModel('eav/entity_attribute_set_collection') ->setEntityTypeFilter(Mage::...
1
vote
1answer
22 views

How to load all products with certain type - e.g. all configurable products?

How can I get a collection of all products from a specific type example given: "configurable" ? I want to show the name of all products of type configurable for example.
0
votes
1answer
562 views

Magento Add Custom Option on Product Page

I want to add text area displayed on product page for all products, when a customer enter any data to that textarea, that data will be shown in the order information. I override cart controller but ...
18
votes
4answers
20k views

Getting a “Please Specify a Shipping Method” exception during checkout

I've been getting exception logs for this error in production, but I'm unable to reproduce the issue in my local or staging environment, so it's been pretty hard to troubleshoot. The error originates ...
19
votes
12answers
13k views

What is the most common process for importing the products?

What is the most common process for importing products? Does everyone use the product import/export tool? The CSV file format is not something that the client is likely to fill in and if they try it ...