magento

Problem after migrating Magento

I am trying to create an exact mirror of a Magento production server on my local server for further development, but I have run into a few issues. On the production server, our Magento is configured to run without displaying the index.php, but after attempting a migration to my local server, the index.php is required to access any links...

what is the correct way to set a magento tax rate id for a guest programmatically

i am trying to set a tax rate for a guest (not logged in) based on a coupon code. i have tried every singleton i can think of and am having trouble even manually setting the customertaxrateid that i would like to set. any ideas? ...

Magento: When to pass variables to a block and when not to?

I have recently found the power of setting variables to a block in the _toHtml() method, using the assign method. My question is, when is it good to do this and when is it not? I am creating a new module and it seems to me it is much nice to just assign all the variables to the block and just reference those variables in the view file ra...

Magento 1.4 - new order email notification not being sent

Does anyone know why Magento 1.4 fails to send email notifications for a new order? ...

Magento image upload problem

Hi , Thanks in advance. I am new to Magento, and I have created a module that directly shows products to the front of Magento. In this module, I have created a form in customer account section where customers can fill out necessary data for product. Product data is saved successfully but I can't see the image on front. I have checked ...

can i configure a product like this

Hi All, I want to configure product like this,when a customer puts his order he can upload the image that he wanna see over his product Thanks in Advance ...

Adjusting Order Quantities in Magento

Im hoping someone could confirm that my process is correct for adjusting the quantities of a placed order.. e.g. A customer orders the following: 4 x CD’s say @ £5.49 each and selects UK Mainland standard delivery. This gives a total order value of £27.95 (£21.96 goods + £5.99 p). · Let’s say we have only one of these CD’s in stock (an...

Magento: getting an attribute of a nav filter item

So I'm getting more and more familiar with the layered navigation Magento employs, and I do notice that it's possible to get various attributes of the items, like Name or a string Value, however there's one attribute I cannot get easily from the model I'm using ('catalog/layer_filter_item'): position. Does anyone know how to get the pos...

Is it possible to customize magento admin area

Hi guys, We can extend the existing functionality of magento for frontend by copying modules in local area and doing some other required stuff but how I can extend or customize the magento admin area to meet my requirements without touching the core code. For example I want to extend magento indexing functionality. During re-indexing c...

How to get data for an entity (for example customer) from eav_attribute table to be shown in Customer Grid for admin

I have extended Magento’s customer information form to store an additional attribute for customer. Lets call it ‘customer_referrer_id’. I have a role ‘referrer ‘ who has access to customer grid and order grid only. But, I want to restrict a referrer to see only those customers in the grid who have the customer_referrer_id set as the ref...

Magento: Show the Review Step in One Page Checkout

I have not been able to figure this out for the life of me. I wanted to show the order review step(final step before processing the order) right away on the one page checkout in Magento. Any suggestions? Thanks all. ...

Magento payment method with third party gateway

In the checkout process of Magento, I use only the credit card method. In the last step, I need to send all the information collected to an external url at my payment gateway. All the data is processed by the third party gateway, then redirects to my Magento website with the result of the operation. What should I do to achieve this? ...

Magento: case/tiered pricing and being able to break out of case and price for individual skus

I am just looking for some ideas, we have a client that wants pricing by case which gets special pricing then if you are buying individually. so lets say the case quantity is 12 and you buy 3 cases, we could easily setup a tiered pricing scenario, if quantity > 12 price is x, if quantity is > 24 price is x, if quantity > 36 price = x. T...

Magento remove bundle item using API

Hi, I am looking for an API that can remove bundle items added in a main bundle product. Can some one guide me to that API? regards, Irfan ...

Showing magento new product like standard category

In magento 1.4 it has default page showing new products but how can I show all these products in one page like ordinary category showing all items underneath.. My current setup is showing 8 new products in homepage and a link to show all new products. ...

Magento: Shipping per product

I need to be able to specify shipping costs per item in Magento, does any one know how/if this can be done? ...

Why does Magento use 2 cookies per session?

For data security and privacy reasons I want to know why Magento uses two cookies for one frontend session. All I know is that one of them is being set in Mage_Core_Model_Cookie::set(..) and the other one in Zend_Session::expireSessionCookie(), but still I can't seem to figure out what they are used for. I just can't think of any reaso...

Events not firing/or observer not working in magento

Hello, I have a module which listens to a few events. It works fine in at least a dozen installations I have tested it on. On on specific installation, a client which I installed it, on Magento version 1.4.1.1, It does not work. When I tested his system, and I fire the events manually, eg Mage::dispatchEvent('..') the observer does lis...

How have I add a Simple Product into Magento using a php function?

Hi guys, How have I to add a product into Magento using a php function? I have used the API but it is very slow. I have to import about 100.000 records and check the stock everynight. Regards ...

Magento Checkout success page product price and SKU retrival

Hi, I want to add Commission junction to my client site, in that they asked for each product sku's and price. After the confirmation page/ success page only we need to pass thes values. But here how i can get all the product details. Including sku, price i need to pass. Is there any way to get each product details separately. Thanks Su...