magento

Magento: find products without images (no image)

Hi, i have some thousand products and want to find all products without image. I tried to search for (no image) in the admin products grid, but no result. How to make an SQL query that desables all these products? ...

send form data as email in Magento

Hi, How can I send form data to a preset email address in Magento (like how the contact form works) thanks EDIT : What I'm trying is to have a form in a static block which when submitted, sends the form data to an email address ([email protected]) thanks ...

Send newsletter subscription information as email

Hi, how can I send the newsletter subscription information collected by subscribe.phtml as an email to the site admin? thanks ...

Magento - change address to which confirmation is sent after newsletter subscription

Hi, By default, Magento sends out a confirmation email (to the user) after a user subscribes to the newsletter. Is it possible to change the email address to which the confirmation is sent? Thanks ...

Magento - where's the php file subscribe.phtml calls once the form is submitted

Hi, When you submit the newsletter subscription form (subscribe.phtml), the form actions aclls a php file. Does anyone know where it is located? EDIT: And how can I send the form action to a custom php which does the mail sending bit? for example, I want the form handling to be done by a file called sendmail.php i'm trying to have so...

Using Magento Methods to write Insert Queries with care for SQL Injection

I am using the Magento's functionality to insert & update queries. My requirement is that I want to take care of SQL Injection, when doing these types of queries. But I'm unable to find how Magento does this. I'm providing one start sample. Please provide me with one complete example. <?php $write = Mage::getSingleton("core/resource")...

Search by category name

When I try to do search by Category Name it reurns nothing. For Eg, I have Organic, Unique, Sprots etc.as categories and in search I type Unique. But I get no results. ...

How do I add per item personalisation options to the cart page of Magento?

We are need to build a cart page that allows customers to personalise their products according to pre-defined options (see wireframe image here: http://i.imgur.com/OY5XF.png). The personalisation must be on the cart page for user experience. Technically speaking, what is the best way to build this type of feature? I have been suggested ...

Magento: change to Product Name or Description not displayed on frontend.

When I make a change to the Product Name or Description that change is not displayed on the frontend. It looks fine from the admin side but does not show the change on the frontend. ...

Magento Dropshipping - How to automate catalog updates?

Hi, I am new to Magento and impressed by the MVC framework that powers it, making module development a well thought out solution. I am strong CakePHP developer. I am working on a project that uses a dropshipper for the physical products. As a result, every day at 4am a feed needs to be parsed and the products / categories modified, plu...

How to show thumbnails of simple products in configurable products with Magento

I want to show each simple product's thumbnail image and option name with a radio button to select in configurable products. Default behavior is showing options in text with a widget like dropdown box. I am using Magento Community Edition 1.4.1. Are there anybody has done this before? Could you guide me for a right direction? ...

Magento Ajax basket how to make easy install

I have been working on a small module for an Ajax cart in magento. I have it up and running but I would like to make it as general purpose as possible and have as little hassle as possible to move between sites. So far, to get it to work I need to comment out the on click action for the btn-cart class buttons in each template they are ...

Magento - Problem formatting price for indian rupee

i modified following code to show indian rupee public function formatPrecision($price, $precision, $options=array(), $includeContainer = true, $addBrackets = false) { if (!isset($options['precision'])) { $options['precision'] = $precision; } if ($includeContainer) { return '<span class...

How to get Shipping/Billing Address ID of an order outside Magento core API?

I want to get a shipping/billing address id from a just complete order out of Magento. I have tried the following code but it's not worked: Mage::getModel('sales/order')->load($array_data["order_id"])->getShippingAddressId() Does someone have any ideas? ...

Magento: set config values of just created website?

I'm programmtically creating websites/users etc ... Here's the problem: When creating a website, I can't immediatly set the config values afterwards. Code: <?php /* Website information */ $website_data = array( 'name' => 'Company name', 'code' => 'website_company_1', 'sort_order' => '1', ...

Change attribute ordering in Magento's advanced search page

I have a few custom attributes on my products in Magento and they are searchable in Magento's search page; problem is that the fields are listed in the wrong order on the search page; For example: Title _____ Author _____ SKU _____ ISBN _____ Should be: Author _____ Title _____ ISBN _____ SKU _____ I've taken a loo...

override save and load of an attribute in magento

Hi How can I override the way magento saves and load a specific attribute? I want to create an attribute that implements a many-to-many relation to products so I have a custom table with entity_id and attr_id. I'm using a multiselect attribute but magento saves the values as csv in a text field. I want to override this functionality and...

Transferring magento to MediaTemple

After transferring a Magento installation using these instructions, when I try to browse to the home page I am redirected to the "downloader" page ie http://mysite.com/downloader and then I get a blank page. Any ideas where the problem might be? ...

Magento Doesn't Run SQL Install/Update Script

Hello all, I have problem with configuration or something else that magento never run my module's sql install/update script! I use magento-1.4.1.0 Here is my structure folders and files: \app\code\local\RN\ShortUrl \app\code\local\RN\ShortUrl\Block\ShortUrl.php \app\code\local\RN\ShortUrl\controllers\IndexController.php \app\code\lo...

what is used to make magento admin - itself

i saw this: http://demo.videowatchpro.com/administrator/index.php Login: Admin Password: VideoWatchPro and noticed it look just like magento admin are both using same tools to create Admin? ...