magento

How to display configurable product in each color in Magento product listing?

I have a configurable product which is available in many different colors and sizes. I want the configurable product to appear once for every color. My idea is to assign one simple product of the configurable product in every color to the category of the configurable product. Then I want to change the listing, so that the (colored) simpl...

Overriding Magento Admin Controller, for Beginners

In the Magento Admin section, I want to override the "Sales/Order/ShipmentController.php" controller file of the core Mage. I have tried rewriting the URL, using the "from" & "to" tags, but in vain. I don't know what is the actual & correct way of doing this, as I'm a newbie in Magento. Please anybody provide some good fundamental & co...

magento limiting number of returned items in product collection call

Hi, Im trying to limit the number of returned results manually in a copy of the list.phtml template, but its turning out to be alot harder than I anticipated. Ive tried manually setting the collection size, but ya once again nothing working. Can someone show me how to do this? Would be nmuch appreciated! ...

magento insert product list for category 18 under cart

Hi In Magento under the cart I would like to insert the products for category 18 just as they are listen on any ordinary product page. I can see how to insert a block on a CMS page. But how to I call the template(?) for product listing below the cart? BR. Anders UPDATE: Can see that the file layout/catalog.xml has this block that pro...

Magento - Add bundled products from PHP with Magento API

Is it possible to add bundled products with Magento API? If not, is there any other way to add a bundled product? ...

How could I cache images that I'm pulling from a magento database through ajax?

Here's script being called through ajax: <?php require_once '../app/Mage.php'; umask(0); /* not Mage::run(); */ Mage::app('default'); $cat_id = ($_POST['cat_id']) ? $_POST['cat_id'] : NULL; try { $category = new Mage_Catalog_Model_Category(); $category->load($cat_id); $collection = $category->getProductCollection(); ...

One page checkout breaks after clicking "edit" the first step

Hello, There is a very annoying bug on Magento one page checkout page. The first step of checkout closes up after clicking "edit". This shouldn't happen as that step is already being edited and there is no previous step... I can't find the piece of code that is responsible for it. ...

Magento 1.3 or 1.4

Hi, I am having some real issues with Magento version 1.4, I get alot of "There has been an error processing your request." errors do you think going to the latest version of 1.3 would be more stable ? ...

Magento - showing review links & add-to-compare links on custom pages

Hi All I have a custom page as my magento homepage. It's content is hardcoded on the default CMS page (which shows if a CMS homepage isn't enabled in the CMS pages section of the admin). I have a list of products showing there (pulled from best-selling/highest rated etc). However, the review links and the add-to-compare links don't sh...

Magento Product Details Image Size

Magento 1.4 Default Product Details image size is 265x265. All of our product images will be probably 2x taller than wide, and even if we pad them to make them square 265 will be too small to see detail in the image, so we'd like to make the image taller. I found the media.phtml file How would we go about modifying this file/Magent...

Magento - Using alternative "reviews count" on category list page

Hi All I noticed that on the category list page, the number of reviews (pulled from frontend/base/default/template/review/helper/summary_short.phtml) lists the full amount of reviews for an item, not the amount available to the store view you’re on. So, for example (using the sample data) the Samsung MM-A900M Ace has 5 reviews - howeve...

What could cause a PHP error on an include statement?

Ok, this was a stupid mistake. Had nothing to do with permissions or anything else I thought it might be. It was a simple syntax error in a file I didn't even think was being loaded. Reminds me of a quote from the first computer science teacher I ever had: "If you are certain that all of your code is correct, and the program doesn't ...

Magento frontend and backend page looks different

Hi All, I am a newb in magento and recently started looking at it to create a store for my client. I am not sure but i tried installing firephp extension and soon after that I’m having my screen looks like the screenshot. ** please check the link provided! Do I have to make any installations to get everything working as normal or what ...

How can I display product tags in a separate page in magento?

I am working on magento. I want to display the product tags in a new page I created.. How is this possible? Any help will be appreciated.. thanks ...

Magento Installation error..redirects to localhost ?!

I am unable to login into magento admin. In magento, (in newest release..) it needs proper domain to login ...but how it is possible in a local machine... I found some solution ...in magento forum here... http://www.magentocommerce.com/boards/viewthread/4337/P15/ They asked to change localhost to h t t p ://127.0.0.1 but when tri...

Functionality Workthrough of "price.phtml" template of catalog products in Magento

Can anybody please describe the total walkthrough of the catalog product's price.phtml template file? I have been trying to understand its full functionality, in how it implements its price logic, for the special price, wee price, regular price, and all of those; but have reached nowhere till now. Any help is greatly appreciated. After...

MAGENTO: welcome page and pricing by city

Hi guys! A friend of mine asked me to build a Magento site for him. I've done some standard things before with Magento, but never really undestood how it worked inside. He sells his products across the country with different prices by city. So, he wants: a Welcome screen where the user could pick his city and then show the user the pr...

What is the 'noreq' Filter Type an Alias for?

I'm looking in to Magento's filtering options (Ecommerce System and PHP Framekwork with an expansive ORM system). Specifically the addFieldToFilter method. In this method, you specify a SQLish filter by passing in a single element array, with the key indicating the type of filter. For example, array('eq'=>'bar') //eq means equal arra...

Magento help with creating model in custom class

I'm trying to add some custom filter methods to my magento module. I though it would be simple but I can't figure out why it's not working. My model which extends the catalog/product class contains this: public function filterProdType($prod_id) { $this->addAttributeToFilter('attribute_set_id', $prod_id); } Then in my template I ...

Magento loadByAttribute for Custom Category Attributes

I have created custom attributes for a category in my module's install script like so: $attrib = array( 'type' => 'varchar', 'group' => 'My Data', 'backend' => '', 'frontend' => '', 'label' => 'My Custom Field', 'input' => 'text', 'class...