A message from our CEO about the future of Stack Overflow and Stack Exchange. Read 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
3
votes
2answers
1k views

Locking indexer programmatically

I tried locking my indexer programmatically with this code as I used to do: $indexer = Mage::getSingleton('index/indexer'); $indexer->lockIndexer(); I noticed that my indexer didn't ...
2
votes
1answer
1k views

Removing the “minimum purchase” notice

I'm trying to remove the notice in the cart about how the customer must have a subtotal of say $20 in their cart however I still want the restriction there for when the customer tries to go into the ...
3
votes
2answers
2k views

Products missing from price index after order place

There seem to be many issues around the re-indexing of product prices on order placement. See the other issue re deadlocks which is related... Price re-index causes DB deadlocks during checkout I ...
3
votes
3answers
1k views

AJAX validation form in custom backend module

I create custom module and would like to validate the input fields such date. I tried in Form.php public function _prepareForm() { $form = new Varien_Data_Form(array( 'id' =&...
1
vote
1answer
1k views

How can you override Mage_Adminhtml_Controller_Action

Specifically I'm interested in potentially overriding _isAllowed() so that it defaults to false instead of true. Most of the things I've found related to overriding controllers deal with how to ...
9
votes
4answers
708 views

What interesting modules should I develop for Magento for learning?

For a while now I have been studying Magento. I did quite a few modules, but I still think that I need a bit more training, but I can't think of an interesting module to do strictly for working with ...
0
votes
1answer
117 views

When using multistore, is it possible to have different checkout configurations and other configuration options?

WE are looking into doing a second domain with our Magento store and this would have a drastically different checkout behavior so I wanted to see if its possible to have a completely separate ...
35
votes
7answers
35k views

Move all Javascript includes to before </body>

Does anyone know how to have all of Magento's JS script tags e.g. <script type="text/javascript" src="http://sitename.com/js/prototype/prototype.js"></script> render out before the closing ...
1
vote
1answer
2k views

Overload the newsletter controller

I'm trying to overload the newsletter controller so that I can add in extra fields for the newsletter page. I'm basing my module on this code where the author just updates the core file (yuck): http://...
13
votes
5answers
6k views

Having multiple store views share the same order increment_id number range

Can Magento be configured in a way, that multiple store views of the same website can share the same order increment_id number range? And if so, how? For example, with a multistore setup like this in ...
12
votes
2answers
551 views

How to handle translations with translation bureaus?

I'm wondering what's the best way to realise translations with translation bureaus. Basically I see two ways of doing this: Send them the CSV files. Give them access to a Magento installation for ...
2
votes
2answers
3k views

How do you manage inventory for a grouped product?

Let's say that you sell tickets for an event, and you have the following constraints: A max of 40 tickets can be sold for a given event slot You have 5 different price tiers but you can accomodate ...
4
votes
1answer
624 views

Magento Payment Bridge Troubles

Has anyone had any success setting up MPB? I was trying to no avail to set it up and it appears to be all set up properly but when trying to access authorize.net the error message comes up This ...
2
votes
2answers
4k views

Magento custom options for dynamically priced bundled product (no price manipulation)

Is there a way to add a custom option that does not manipulate the price, to a dynamically priced bundled product. For example: If we want to sell a suit which is a bundled product, made up of pants ...
0
votes
1answer
3k views

Full page cache not working, appears to be caching per session instead of per user group

Full page caching appears to be working on a per session basis. If I go to a page, the first page load takes a few seconds, the second page load much less If my co-worker visits that same page, it ...
7
votes
1answer
778 views

Change the template inheritance hierarchy

Is there a way to change the template/skin inheritance hierarchy? Currently you can have: custompackage/customtheme custompackage/default base/default Is there a way or a module that would ...
13
votes
2answers
11k views

CMS XML Handles for Layout Updates

I've had a few scenarios where I've tried to use the cms handles to update a cms page's layout. For example I was trying to use the cms_index_index handle referencing root and setting the page ...
14
votes
2answers
15k views

Changing the layout of the layered navigation

I have a layered navigation, and the customer wants to have <select/> fields instead of a long list of links. I thought about just changing the template with a observer if the name/id of the ...
18
votes
3answers
4k views

Magento running on Percona Server with XtraDB

Does anyone have any experience with Magento db running on Percona Server with XtraDB? Benchmarking, stres testing, numbers... anything
5
votes
3answers
3k views

What is the best database backend?

Magento offers support for different database back-end. I wonder which one of the OpenSource DB Backend (like MySQL or MariaDB ...) has better performance with Magento architecture. I know that ...
1
vote
2answers
2k views

Is it possible to handle success / error messages from within blocks?

In general, I handle exceptions and display success or error messages within controllers. For example: Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('adminhtml')->__("The ...
13
votes
1answer
2k views

Multiple local.xml layout files in a package

Say there are two themes in a package: Base (Set as default) Child (Set as main theme) Both contain a local.xml in the layout folder - Only the local.xml from the Child theme will be loaded, so any ...
29
votes
5answers
22k views

Different storeviews or websites in subfolders

A client wants his multistore shop to be set up like this: http://www.domain1.org/de/ -> website 1, store view 1 http://www.domain1.org/en/ -> website 1, store view 2 http://www.domain1.ch/de/ -> ...
22
votes
4answers
19k views

How to use setup scripts for your module?

I realize, you can use setup scripts for your own module by declaring them in the etc/config.xml file of your module within the <global> space like this: <resources> <catalog_setup&...
4
votes
2answers
21k views

How to change template of category page depending on category level in code?

I had a project where there was no pattern and I applied all changes of categories layout in Admin area (Catalog->Manage Categories->Custom Design tab). Now I need to have the following: Parent ...
7
votes
3answers
314 views

How can I properly add additional columns to the sales order grid?

Is there a way (or several ways) to add additional columns to the sales order grid which one sees in the admin area?
94
votes
15answers
23k views

Where can I find a complete list of Magento events?

I know that Magento has a hook-like system called events. Does anyone have a complete list or a script which can be used to determine which events can be called?
2
votes
1answer
427 views

In Mage_GoogleShopping, what is the intended way to add more categories?

We are using Mage_GoogleShopping which is a core extension that can be downloaded from MagentoConnect. It has a hard coded list of categories in Mage_GoogleShopping_Helper_Category. public function ...
22
votes
2answers
2k views

Orders editing feature

Right now Magento supports altering an order only in form of a reorder, which is may be due to complex ordering process and the database structure. But often reorder is not an option in case of ...
23
votes
1answer
652 views

How do I report Magento bugs and submit bugfixes so that they are likely to be closed?

I found a bug in Magento 1.x and I also found a bugfix for it. Where do I report it? Where do I have a chance that a Magento core developer has a look at it? The Magento bug tracker seems to be ...
36
votes
6answers
41k views

Debugging layout XML loading

TL;DR: is there a way I can debug the loading of the layout? As I believe one module's layout is conflicting with another. Related to a previous question I made: How to make a module layout to be ...
12
votes
3answers
4k views

Generating a sitemap for a custom model

I've developed a bespoke module which lists a series of people on the site. Each person has their own URL (a bespoke Magento controller, which does basic CRUD on Person models) and I need to feed ...
173
votes
8answers
24k views

Studying to become a Magento Certified Developer

I have been considering studying to become a Magento Certified Developer. When I look at the study guide I see a lot of questions which I can answer, however, the problem is I don't really know what ...
11
votes
3answers
11k views

Find out to which categories a product belongs to

I opened a product in the backend, but when I switch to the categories tab, the category tree is fully collapsed. I would have to expand all categories to see in which ones the product is in. How can ...
63
votes
15answers
41k views

How to force flush CSS cache on client side?

Suppose that we changed a lot of functionality for the module (templates, layouts, CSS) and we are going to move these changes to the production site, but a lot of customers have cached CSS in their ...
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 ...
42
votes
5answers
2k views

What do I do when an extension overwrites a class globally and I want to use the original?

We're using an extension which globally overwrites the Mage_Catalog_Block_Product_List_Toolbar block. <global> <blocks> <catalog> <rewrite> ...
17
votes
5answers
6k views

Magento Displaying appropriate localisation based on Location

I'd like to configure the Magento site to be able to recognize the default language and location of the user and display the site in that language and with appropriate localization. For example: A ...
6
votes
1answer
5k views

How do I sort Magento products in a specific category according to my order

I want to sort Magento products on a list page for a specific category according to my given order. Can I have a text field in each product and give any number and my products in that specific ...