All Questions

Filter by
Sorted by
Tagged with
8
votes
2answers
2k views

Custom non-attribute based layered navigation. Is this the only way to do it?

Today I have been knocking up a layered navigation option that is not based on an attribute. It is for ratings so the front end can show nice shiny stars. To do this I have: Created a module ...
4
votes
1answer
628 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 ...
13
votes
2answers
3k views

Why is the full page cache disabling block cache?

I have a static part which is included on every page (navigation), but takes long to generate. That is why I have set a cache lifetime and a static cache key. Works fine, until FPC is enabled. Then ...
1
vote
2answers
5k views

How to Know The Magento Event that We Want to Hook [duplicate]

My question is simple, how to know the Magento event that we want to hook? Is there any simple solution?
0
votes
1answer
4k 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 ...
2
votes
2answers
2k views

What is a good method to handle suspected fraudulent transactions with Authorize.net?

I have a client who has, in the past, used the Saved CC payment method on their store (despite attempts to persuade otherwise) for the single purpose of having convenient access to their CC data in ...
2
votes
3answers
3k views

Magmi not saving checked options on mac [closed]

I'm having a problem where Magmi isn't saving the selected import option when clicking Save Profile. When clicking Save Profile, the page looks like it just refreshes, and the checkmarks don't show on ...
9
votes
2answers
4k views

Adding a block to login onepage checkout

I try to add an additional login option during the checkout process. At the moment, you have the username/password way. I want to add a button image to login via an OAuth process (in my case Github). ...
2
votes
1answer
101 views

Where is translation for XML configurations is happening in the code?

In XML files (such as system.xml) I can specify a translate attribute for nodes to be translated. Where is this translation taking place in the code?
21
votes
3answers
2k views

Mage::log writes to the screen

I have a development system, display_errors is on, Magento is in developer mode and I tried to Mage::log($layered_navigation_filter_block); // Mage_Catalog_Block_Layer_Filter_Attribute And ...
0
votes
2answers
1k views

Shipping weights - Metric vs English

We currently are setting up several stores, one of the stores needs to use the metric system and one needs to use the English system for weights... Where can I specify Metric for one and English for ...
7
votes
1answer
792 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 ...
22
votes
2answers
5k views

Install scripts: Creating tables vs. updating existing ones

have one question, recently I was developing one module with a lot of tables in DB, and concept was changing often, so was need to change existing tables in DB, and I noticed difference in table ...
6
votes
1answer
2k views

How to display a phtml in a backend custom menu

I've created a new menu on the backend, called "X" with an item called "Y". When I click on this item, it appears nowhere because I don't know how to display it. Let me show you what I have done. In ...
0
votes
1answer
961 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 ...
3
votes
2answers
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
5answers
604 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
1answer
567 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
2answers
10k 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
1answer
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 ...
31
votes
1answer
12k 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
7answers
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 ...
82
votes
6answers
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
2answers
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
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
6
votes
1answer
822 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
1answer
128 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
1answer
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
1answer
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
1answer
180 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
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 ...
4
votes
1answer
88 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
1answer
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
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 ...
5
votes
4answers
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
3answers
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
7answers
470 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
5answers
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
2answers
140 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
3answers
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
3answers
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
2answers
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
3answers
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
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&...
11
votes
2answers
924 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
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 ...

15 30 50 per page