All Questions
110,082
questions
0
votes
1
answer
1k
views
Tax miscalculation for partial creditmemo
We are working on a project for a customer that is running on Magento Community Edition 1.7.0.1.
We have encountered the following issue:
When we create a partial credit memo the recalculation of ...
4
votes
2
answers
1k
views
EU cookie law solutions, opinions & experiences
The EU cookie law requires that many Magento websites will need an update to avoid fines. So far I have only seen extensions that have an accept-button and occasionally a deny-button, which leads the ...
2
votes
5
answers
644
views
How can I easily test variations of the "Add to cart" button?
It seems most of the A/B and multivariate experiments ask you to create entirely new pages, which is not possible for 10,000 products. I only want to try different add to cart buttons, so wouldn't it ...
8
votes
1
answer
605
views
Customized Customer Grid causing MySQL table scans and filesorts aka slow performance
EDIT: I had this question originally posted on Stackoverflow that never got fully answered, I'm posting in here in hopes to shed anymore light on why the massive table scans and any means to prevent ...
4
votes
2
answers
11k
views
Product Attributes and filtering mechanics
TL;DR: How to filter multiple select/dropdown attributes (multi-selects would be cumbersome)? Or use a different method?
Consider a product select/dropdown attribute whose values correspond to each ...
3
votes
1
answer
3k
views
Filtering error when using custom Varien object collection in admin grid
I have created a custom Varien object collection for my admin module (because the data is not from a db) and have got it successfully to show in an admin grid. I built the collection by using the ...
33
votes
1
answer
13k
views
Conflicts in where clause with ambiguous column names
A bit of context for this. I want to extend the sales order export function (via the grid) to have more columns. I have created a module which adds a new grid for exporting and also a new collection ...
47
votes
7
answers
18k
views
Price re-index causes DB deadlocks during checkout
I'm experiencing an issue where I believe the Product Price re-indexing process is causing a deadlock exception in the checkout process.
I caught this exception in the checkout process:
Order ...
84
votes
6
answers
12k
views
What is the best deploy strategy?
Setting up a Magento store is not only a matter of developing self-installable extensions but requires also a lot of "manual entry" operations such as creating end editing attributes, categories, ...
16
votes
2
answers
4k
views
Perfomance benefits of using NGINX
Considering using NGINX to serve magento- I'm not concerned about implementation details, but want to know if anyone has good (or bad) things to say about it. Also of particular interest is using ...
14
votes
2
answers
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
3
answers
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
6
votes
1
answer
823
views
Paypal's Address Saved As Default Address
A new customer who makes a virtual product purchase through paypal has their billing address passed to Magento. The address is attached to the order but is not attached to the customer. What would ...
0
votes
1
answer
135
views
What type of concerns should I have when considering the full page cache in module development?
I'm creating a module with blocks that will be displayed on the category page in Enterprise 1.12.
I'm trying to wrap my head around the full page cache and what needs to be done to implement my ...
16
votes
1
answer
3k
views
Create database table from CSV
I am working on a module that requires access to some tabular data provided from an external source. It's only two columns but has roughly 40000 rows.
Currently, my module is just parsing the CSV in ...
18
votes
1
answer
3k
views
How to hole-punch full page cache without custom module
Our full page cache seems to be based on session. If I open an incognito window with chrome and visit one of the pages, it warms the cache, and the second page load is much faster, however, if I close ...
9
votes
1
answer
184
views
Theme level placeholder xml
I am developing a custom theme for Magento on top of Enterprise and we're trying to use full page cache. We recently discovered that we need some custom placeholders (aka hole punches) in our theme so ...
5
votes
3
answers
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 ...
4
votes
1
answer
90
views
What do I need to do to get Onepage to stop validating the CC number I'm entering?
I've setup a new instance of our development server on localhost, checked out the latest working copy, and was given a copy of a database backup to use with it. After getting all of this setup and ...
9
votes
1
answer
3k
views
How do you add a session message after session_write_close is called?
We use the excellent uRapidFlow module by Unirgy, but have ran into a bit of an annoyance. When you run one of their profiles, they call session_write_close. The problem with this is that it means if ...
1
vote
2
answers
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
1
answer
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 ...
5
votes
4
answers
12k
views
Sales emails not being received
We have had several websites where the sales emails have not been received by the client or customer (configured in System -> Configuration -> Sales Emails).
We have no problems receiving any of them ...
4
votes
3
answers
1k
views
Should I use Magento 2 pre alpha already for production shops? [closed]
I know, it is alpha software, but at least there are lots of tests and bugfixes which are not in Magento 1.
If I write own modules for Magento 2, is the module structure very likely to change?
Are ...
18
votes
7
answers
473
views
Using debug extensions / developer mode enough protection
There are some nice extensions for Magento developers that you usually do not want to have on a live system.
How can you keep them in the project repository but avoid them to be exposed on a live ...
29
votes
5
answers
23k
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/ -> ...
3
votes
2
answers
143
views
What's the reason for sql-updates being triggered multiple times?
When an existing extension is updated either manually or using Magento-Connect, in some occasions the sql-updates are triggered multiple times right away or again after a short while, although the ...
16
votes
3
answers
1k
views
Magento 1 Testing Frameworks
Wherever I can, I like to develop software following a Test Driven Development (TDD) approach. Usually, in PHP that means using PHPUnit.
Ideally, I would like to write both fine and coarse-grained ...
4
votes
3
answers
3k
views
Cleaning up Log
There is an option for cleaning log under system->config->sytem->log cleaning. Does it clear log tables or files under var/log. If I enable log cleaning how do find when and which logs are ...
2
votes
2
answers
2k
views
How to configure FirePHP?
How to configure FirePHP with Magento to log response headers, dump objects to the browser console?
How to utilize FirePHP to reduce debugging time?
4
votes
3
answers
14k
views
Magento 1 - category view URL doesn't get routed, product view does
In the process of setting up my site, I have been unable to use category view links of the form:
/catalog/category/view/id/
Similar links to a product view page work just fine. The above leads to ...
22
votes
4
answers
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&...
11
votes
2
answers
968
views
What's the last event dispatched before content is sent to the browser?
I need to set or update a cookie, but I want to ensure that all (or as much as possible) of the request processing occurs before my cookie generation code runs. i.e. if the user logs in, I want to ...
4
votes
2
answers
22k
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 ...
5
votes
1
answer
783
views
How can I override server-side form validation?
I want to provide additional server-side validation of the address forms in Magento, both in Checkout and Customer. I can override Mage_Checkout_OnepageController, ...
11
votes
2
answers
1k
views
How can I add a page layout to Mage_Page module?
I discovered after upgrading Magento that the core Mage_Page's config.xml had been manually edited, and now I'm looking to change the XML in a way that doesn't overwrite core.
Here is an example of ...
7
votes
2
answers
2k
views
Speed Optimization by disabling Mage_Reports module?
When thinking about optimizing the speed of Magento, there are several possibilities like caching (PHP, Database, even Full Page Caches) to speed up your site.
Another possibility is to reduce the ...
22
votes
3
answers
5k
views
Targeting multiple layout handles in layout XML
I have a custom controller accessed at the path /custommodule/customer/info which is loading the 2columns-left.phtml template on the root node as follows:
<custommodule_customer_info>
<...
7
votes
3
answers
320
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?
95
votes
15
answers
24k
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?
5
votes
1
answer
2k
views
Filling fields forms in backend from two different tables
Currently, we have several forms that allow to edit/delete information, each one loading the data from one particular table. But what I want is to be able to load on the Form.php information from ...
15
votes
3
answers
440
views
The block from my custom module isn't showing up on the product page. How can I debug?
I am making my first custom module, following a tutorial online. I get that I have to create certain XML files for the system to "discover" my module, but even when I break the XML, I don't see any ...
7
votes
2
answers
749
views
Attributes not found in Mage_GoogleShopping
I installed and configured Mage_GoogleShopping.
In the attribute set, the following attributes are configured:
Title
Description
Condition
MPN
Color
Brand
Price
When uploading products, I get the ...
15
votes
3
answers
10k
views
Catalog rules daily update doesn't work
I face with problem that Magento's Catalog rules daily update doesn't work. This means that there are no products price changes when catalog rule's expire date comes, so I have to press rule apply ...
2
votes
1
answer
437
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
2
answers
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
1
answer
744
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 ...
28
votes
2
answers
336
views
What parts of the model layer can be bypassed in the interest of performance optimization
I'm currently seeing that for a database table with a very simple schema (about 5 fields), it's inserting new records at a rate of just under ~50 inserts / second, in my local development environment (...
6
votes
2
answers
9k
views
How to render two root categories in navigation?
I have two root categories in the left navigation.
And it should be like this:
default: (root1 - doesn't appear on the view itself)
- sub1
- sub2
- sub3
default1: (root2 - doesn't appear on ...
14
votes
1
answer
9k
views
Customization of total order and additional infos
When want to have the following style of totals on checkout/cart:
Discount
Subtotal
Shipping fee OR Info Text: "excl. shipping"
Additional text: "free shipping from 30EUR" (display always)
...