Questions tagged [magento-1.8]

Magento is an e-commerce platform written in PHP atop the Zend framework, available under both open-source and commercial licenses.

This tag relates to the version 1.8 release of Magento. For general Magento related questions, please see .

957 questions
6
votes
3 answers

Magento. Sort products collection by position

I have products collection. $_products = Mage::getModel('catalog/product')->getCollection(); In admin panel in Catalog->Manage Categories->Category products i have position for each product. How i can sort $_products by position ?
user3162709
  • 159
  • 1
  • 3
  • 17
6
votes
1 answer

Trigger Magento event observer asynchronously

Is there any way to make an event observer asynchronous in Magento? I would like to use this to run a few time consuming scripts in the background after a customer has placed an order, but my understanding is that when an event gets dispatched, the…
sud
  • 73
  • 6
6
votes
1 answer

Original prices not showing on sales order view in magento 1.8.1?

Original prices not showing on sales order view in magento 1.8.1? Dear all my original price is 299 and sell sell price is 149 but in original price and sale price showing same 149 what do for viewing original price? my code is here kindly help me…
user4472956
6
votes
1 answer

$this->getRequest()->getParam() not working in category controller

I am working on retriving the manufacturer attribute from url localhost/magento/index.php/test-pro.html?manufacturer/4 So i used $this->getRequest()->getParam('manufacturer') I did not get any output. But when i changed the url as…
vinothavn
  • 547
  • 1
  • 5
  • 19
5
votes
1 answer

Fatal error: Call to a member function getId() on a non-object in C:\wamp\www\magentno\lib\Varien\Data\Tree\Dbp.php on line 332

I am working with Magento 1.8.0.0, I have a test version installed on a WAMP server via localhost and when I want to add category's i get the next error: Fatal error: Call to a member function getId() on a non-object in…
Djeroen
  • 571
  • 6
  • 21
5
votes
1 answer

How to import attributes using Dataflow advanced profile

I am trying to import attributes and its value using Advanced Profile Dataflow. But I am not able to understand which model or function I need to override. So anybody have idea about which file or method is using for save attributes??
Indian
  • 645
  • 7
  • 22
5
votes
4 answers

Adding a Category Attribute in Magento 1.8.1

I am currently trying to add a new category attribute to the category admin screen in Magento 1.8.1, I am having issues with getting anything to show though. The only code examples I can find include mysql4, however I thought this had been retired?…
Dave Sims
  • 735
  • 1
  • 6
  • 11
5
votes
5 answers

Change base URL of Magento

I have installed Magento in a server say 123.456.10.129 and copy and paste its files to 123.456.241.82. When I am trying to access Magento from 123.456.241.82its getting redirected to 123.456.10.129. How to change the base URL for Magento? Can I…
RoSe
  • 447
  • 4
  • 7
  • 20
4
votes
2 answers

Magento: Create Magento Order Programmatically

I want to crate order programmatically in magento, following is my script but getting error. Have installed demo magento with sample data. Fatal error: Call to a member function getRealOrderId() on a non-object in…
Pranav Patel
  • 154
  • 16
4
votes
1 answer

Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID); leads into a fatal error

A Magento extension I installed has a line of code that leads into a fatal error. I'm using Magento 1.8.0 and when I remove this line everything works like expected. Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID); Can somebody…
David Weber
  • 63
  • 1
  • 1
  • 5
4
votes
2 answers

Magento collection iterator - cannot get additional attribute

I can't get additional attribute 'name' from product collection when I'm using resource iterator. My product collection: $productCollection = Mage::getModel('catalog/product')->getCollection(); …
Krzysztof
  • 355
  • 6
  • 15
4
votes
1 answer

Adding Custom Date Range on Admin Dashboard Chart Magento

I am working on a task to show Date Range on Dashboard chart. so data chart will display on custom date range selection. I have added calendar on chart but result is not coming properly. I know its very specific requirement. I am looking if someone…
Pankaj Pareek
  • 3,806
  • 2
  • 31
  • 42
4
votes
2 answers

Magento Upgrade 1.7 to 1.8 + onepage checkout issue

Unfortunately it is still on a test local server so providing any browsable links are not possible at the moment. But I will try to describe my problem as clearly and specifically as I can. This has been reported quite a few places on the…
zarun
  • 910
  • 9
  • 26
4
votes
5 answers

Magento error when I try to add special price from admin

The error I get is: Invalid backend model specified: catalog/product_attribute_backend_startdate_specialprice This is a local copy of magento but I would not want to have to recreate the entire thing on the live site..any ideas on what I can do to…
Cisum Inas
  • 11,552
  • 11
  • 40
  • 55
4
votes
2 answers

Send order email from admin not working in Magento 1.8

After upgrading my site from 1.4 to 1.8 I am unable to send order email from the admin panel. When a new order is placed the customer receives the order email, but when I try to re-send the order email from the admin panel The order email has been…
James
  • 4,540
  • 1
  • 18
  • 34
1
2
3
63 64