magento

Linking simple products to configurable product via SOAP API V2

Does anyone know how to link a configurable product to a simple product via the API? I don't think the Product Link API does this: http://www.magentocommerce.com/wiki/doc/webservices-api/api/catalog_product_link#catalog_product_link.assign Seems others are having the same issue.. just trying to see if anyone here has a solution: ht...

Magento: How to determine if customer aborted checkout process

I'm working on a custom module that needs to know if/when a user has aborted the checkout process. "Aborting" simply means they landed on the checkout's indexAction but didn't complete the process. It's absolutely essential that I know if/when this happens. I was thinking maybe set a session variable that they've entered checkout. On ...

magento product popup

I'd like to create a popup window for products instead of directing to another page. I'm looking for advice on the best way to basically make a copy of the product view template to modify for my needs without having to create separate models and blocks. I'm using version 1.3.2.2. Let me know if anything needs clarification. I realize th...

How do make magento use a different category than 'Default Category' to generate the header-nav?

I have 4 categories within the 'Default Category' category. Currently by default Magento is generating the header-nav from 'Default Category', and displaying the 4 categories at the top of my site. The "Products" category is in the "Default Cateogry". Inside the "Products" category are the sub categories that i want to have displayed o...

problem image uploading in new created website in magento

i have created a new website in magento name sunilrawat(folder).now when i am trying to upload any image for any product description the image uploaded defaultly in the media folder in magento root.uploaded image by me unable to search that path...it show the path.localhost//magento/sunilrawat/media//.thumbs/a.jpg but the actual image ge...

get magento module config data in Observer

Hi guys, I created a module with an observer for the sales module with event hook ‘sales_order_shipment_save_after’ , My module has the following files Company/Modulename/etc/config.xml Company/Modulename/etc/system.xml Company/Modulename/Model/Observer.php there are four fields in the modules admin configuration fields I want to ge...

Magento custom image attribute. How do I get in frontend?

Hello, I've added an image attribute with name and label e.g. New Image, new_image. How do I fetch this from e.g. view.phtml? I thought it would be as simple as helper('catalog/image')->init($_product, 'new_image')->resize(150, 150); ?> But, this is throwing an error. Does anybody know the correct way to do this? Many thanks. ...

how to import the all products of another site into magento site

hi can any body help me please..i have installed magento on live server and now i want to import all products and category of a website which is allready running live.. how can i do it please any help.... ...

Magento: is there an API to mark an order as shipped?

I want to mark orders as shipped after we import the shipping feed from our warehouse. Is there an API for this? Or do I have to use the actual classes? I'm very new to Magento and I'm trying to figure out how to understand working with some of the lower level operations. ...

FK and M2M realtions in Magento

Hi How can I use fk and m2m relations in magento? I read about EAV and I understand the benefits but I don't understand how to approach common problems in relational databases. For example, I have products that should match several type of cars. Each car has make,model,year. With regular tables I'll have a Car table and I'll have m2m r...

how to translate email template in magento?

I have a custom magento sales module. I want to translate the custom mail template located in my local module folder(mailtemplate/template1.html). I copied it from the locale/en_US/template/email/sales folder. I want to replace the placeholders with the customername and telephone number. And translate the message according to the custo...

how to create multi store on live server in magento

i have installed magento 1.4 on live server now i want to create my online multi store .can any body tell me how can i do it..to make my multi store live on server....thanks ...

Magento - Help Specifying the Page Layout

Here’s what’s going on: I have a page content for a module rendering in my 3 column layout (which I believe is the default) and I want it to render in 1 column, but I don’t know how. The longer version: I’m using Unirgy’s Dropship Microsite and I’m trying to get the vendor landing page to render in the 1 column layout. My layout xml f...

SQLSTATE[42S02]: Base table or view not found:

Hi, i was moving website from my developing server to public webserver by doing fresh checkout and exporting/importing the database. Afterwards, everything works except when there is an access to catalog_category models the website breaks and in the report there are the following error: a:5:{i:0;s:113:"SQLSTATE[42S02]: Base ta...

Get a old Email in customer_save_before

Hi, i need get a old email and compare with a new email using customer_save_before event Test to listen customer_save_before event, getData('email') return a new email and getOrigData('email') not work Test me too with customer_save_after and not work, getOrigData('email ') return 1 and getData('email') return a new email. is there an...

Magento API order id vs. increment id

I've found that there are two different properties of the order in Magento API available. order_id and order_increment_id. For sample order they can be something like order_increment_id=100000080 and order_id=81. The Question Is: What is the difference between them? How they are considered to be used? In the web store UI I see that my ...

Magento Error: Headers already sent

I got this error while adding products to the cart in my site: Cannot send headers; headers already sent in /home/website/public_html/app/code/local/Perpetual/MultiAdd/controllers/Checkout/CartController.php, line 153 Trace: #0 /home/website/public_html/lib/Zend/Controller/Response/Abstract.php(147): Zend_Controller_Response_Abstra...

Removing a block nested in a block via the local.xml file.

Hello, I'm trying to use my local.xml file (where I do all my updates to the layout) to remove a block that is nested in another block. I can easily remove a block via the <remove> tag, or using the unsetChild method, but I can't seem to remove a block that is nested in another block. Here is the line of code I am trying to remove (lo...

left side menu in magento modern theme

hi First of all many many thanks I want to create a magento web site with left side menu(all categories added from admin side) in modern theme. But i don't know any idea. Please give me a solution. Thanks in advance ...

Magento catalogProductInfo - access denied for unknown reason

I am getting access denied when asking Magento with following request: <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt; <soapenv:Body> <ns1...