magento

magento hide buy now button if stock level = 0

We have a custom attribute that our previous developer (recently disappeared) has created in the magento admin area. This is a getIn_stock attribute which is reading from the point of sale system to check stock levels. It is returning either a 1 (in stock) or a 0 (out of stock). I have been digging around to see how I can display differe...

In Magento how to show custom attribute in product grid ..?

Hi, Thanks in advance i have made one attribute with option of yes/no i want to show this in product grid at admin side i made the column in the grid and put the following code <?php $this->addColumn('approvedcustomer', array( 'header'=> Mage::helper('catalog')->__('UrgeStatus'), 'index' =>...

how to configure Magento in my local xampp

Hello all, Now i want to install magento, I downloaded the files from magentocommerce.com and extract it and run the installation file. In the second step once i entered the DBhost,Dbusername and DBpassword and navigate my installation to the next step it throws an error "*o Database server does not support the InnoDB storage engine.o D...

Migrate oscommerce in to magento

Hi From where can i start the oscommerce migration in to Magento . Very Thanks ...

Configuring Magento Layout for New Admin Module

I'm trying to create a custom report in the Magento back-end; my strategy is to first make my new module mimic the existing Reports/Sales/Orders functionality in the admin panel, and then make the required changes once I've seen how the pieces fit together. I've added my new menu item, and the module loads the basic admin layout and some...

Magento: trying to add Coupon Name to PDF invoice

In basic PDF invoice, on only get discount total, no name in front. I got as far as to the coupon code showing, using: if($order->getCouponCode()!=""){ $this->y -=12; $page->drawText('Coupon Used: '.$order->getCouponCode(), 450, $this->y, 'UTF-8'); } but I can't find how to show coupon name. Also,...

Create order per product item on Magento [ask]

Hi all, Can we create the order per product item on Magento when we go to checkout process..? For example : If on my shopping cart, I've 2 products, so the order is separates into 2 orders.. Thanks.. ...

magento import image attribute not inserting in table

I have following fields in my csv store websites attribute_set type category_ids sku has_options name meta_title meta_description image small_image thumbnail url_key url_path custom_design page_layout options_container gift_message_available size caseprice newbrand weight price special_price cost status tax_class_id is_recurring visibil...

can't login magento in local system in firefox

Hi I have installed magento in my local Xampp. After installing I have tried to login in Mozilla (both in front end and admin side). Does any one know how to login magento in fire fox. Thanks ...

How do I have to import products in Magento using a direct connection to the database

Hi guys, I have about 50.000 of records to import in a Magento store. What I have already tested: The file is about 50 MB. Splitted files API Magento Classes Splitting the file doesn't improve the speed of the importing of the products. Api are very slow. Magento Classes are slow. This is a snipped of code using the Magento Classes...

Magento e-Commerce cannot generate reports

Good day, My magento cannot generate reports from the admin panel. I get the following error: This report depends on timezone configuration. Once timezone is changed, the lifetime statistics need to be refreshed. Last updated: Oct 21, 2010 3:04:33 PM. To refresh last day's statistics, click here." I follow the instruction and refresh ...

Magento - Move a category programmatically

How do I move a category to another category with all child categories? I have tried the following solution: $nodeId = 2269; $parentId = 2268; $tree = Mage::getResourceModel('catalog/category_tree')->load(); $node = $tree->getNodeById($nodeId); $parentNode = $tree->getNodeById($parentId); $parentChildren = explode(',', $parentNode->g...

Magento get a product collection in an arbitrary order

I have developed a custom search engine for our Magento store and I am trying to load the product collection in a very specific order (I have ranked the results according to an algorithm I designed). I can load the product collection correctly, however it is not in the order that I would like it to be in. Here is basically how it is wor...

Magento custom payment method

i'm going to explain the flow of what i need: the checkout process is the same, now, in the last step, i'm doing POST to an external URL, where all the data is processed, i wait to the response of the external server, after process it, i make the correspondient step, 1- Save the order in the db or 2- Give an error message. it depend on t...

Magento layout module_default

I have created a module with several different controllers and therefore different pages. I want to have a default sidebar on each of my own pages but not the rest of the site. when i use the <default></default> it obviously propogates throughout the entire site. When i try <mymodule_default></mymodule_default> nothing happens. I am ...

Get a list of attribute options from Magento

I've been grabbing attribute options from Magento like so: <?php if ($attribute->usesSource()) { $options = $attribute->getSource()->getAllOptions(false); } ?> It's been working fine until I tried to get the options for the built in 'color' attribute -- I got the following error: PHP Fatal error: Call to a member function setA...

free shipping of a single product in magento

Possible Duplicate: free shipping of a single product in magento Hi, i'm using magento version 1.3.2.4 I want to change a product shipping as free shipping. All other products will be charged for shipping. for this i have done the following steps Here’s what I did to offer free shipping on one specific product: First, turn ...

free shipping of a single product in magento

Hi, i'm using magento version 1.3.2.4 I want to change a product shipping as free shipping. All other products will be charged for shipping. for this i have done the following steps Here’s what I did to offer free shipping on one specific product: First, turn on Free Shipping in your Admin Panel > System > Configuration > Sales > Ship...

Creating a configurable Magento attribute from scratch

I need to extend Magento to allow changing the price of a product based on an attribute, such as size or color. I can't use any in-built facilities Magento might have for this - I need to write the code myself. I'm a beginning Magento developer. Can anybody help? Maybe point me to a guide or walk-through for this on the internet? Thanks!...

Magento google checkout integration issue 404

I'm trying to integrate google checkout with a magento site and get the following error in the Integration Console: We encountered an error trying to access your server at https://www.domain.co.uk/googlecheckout/api/ -- the error we got is Sending failed with HTTP response code: 404. Response body was: <!DOCTYPE html PUBLIC "-//W3C//D...