Questions tagged [magento-1.4]

Magento is an Ecommerce platform written in PHP. It uses a configuration-based MVC system and heavily leverages Java style OOP patterns in the business logic, UI, and layout rendering application layers. This is a tag for Magento's 1.4.x.x version

General Magento questions may be asked on Magento.SE. Questions not related to programming are off-topic

Related tags


694 questions
4
votes
1 answer

How to get Response of REST API in JSON format by Default in Magento

In magento as we use the REST url to access the data,as http://localhost/magemto/api/rest/products it returns in XML format. But as my team requirement, I should send the data in JSON format to access AJAX calls easily.. I have used REST client to…
Pavan Kumar
  • 1,735
  • 2
  • 28
  • 47
4
votes
1 answer

Magento Getting error while importing products

I am facing a problem while importing products in magento. Actually I have one multi website Magento project. When I start to import products using magento's default import functionality, I am getting this type of error "mysql error 1205 lock…
drsndodiya
  • 1,685
  • 1
  • 17
  • 36
4
votes
3 answers

Magento: How to create an instance of a block class?

In the core of Magento there is the app\code\core\Mage\Catalog\Block\Product\View\Options.php class for example. How would I create an instance of that? I tried Mage::getModel('Mage_Catalog_Block_Product_View_Options'); and it worked, but since…
user1638055
  • 482
  • 2
  • 8
  • 24
4
votes
1 answer

Magento: Create an invoice with invoice number = order number?

I am using this code to create an invoice in Magento: $invoiceId = Mage::getModel('sales/order_invoice_api')->create($order->getIncrementId(), array()); This automatically assigns a number (increment_id) to the invoice, for example 100016050. I…
user1540714
  • 1,929
  • 4
  • 20
  • 23
3
votes
2 answers

Custom observer not being triggered

I am trying to write an observer for magento that will be triggered when an order has been marked as shipped and has been given a tracking number. When I go in through the admin and place an order, invoice and then go to ship the function I need to…
Jen
  • 111
  • 1
  • 2
  • 9
3
votes
7 answers

Magento EAV: how to hard delete an attribute value?

Let's ask the question clearly before entering into the details: Is there a way of hard deleting an attribute value from a product? By hard I mean, removing the row from the database and not only setting the value to null or empty. Now, the…
liquidity
  • 1,312
  • 20
  • 27
3
votes
1 answer

Magento: How to change email address for sending error logs?

I receive error logs over email, but i change my email account, now i need to change the email also in magento. Does somebody know where I can find option to change email in magento admin pages to start receive error logs on my new email. Thanks
Jovanov Jordan
  • 127
  • 4
  • 17
3
votes
2 answers

Magento event for Paypal IPN marking order as Processing

I'm working on an extension for Magento (1.4 CE) that needs to be triggered once an order has been paid for. I'm having trouble finding an event to hook in to that will trigger when Paypal IPN (Paypal Standard) has done its thing. I've tried using…
gregdev
  • 1,863
  • 3
  • 23
  • 28
3
votes
3 answers

Magento - Adding my own content block on home page only

This is just not working no matter what I try. I've set up a new file at /app/design/frontend/mytemplate/default/template/page/popularsearches.phtml I'm trying to reference in from the Layout Update .XML (from the CMS). The code i'm adding to the…
edhardie
  • 299
  • 1
  • 5
  • 15
3
votes
3 answers

Magento: Shopping cart price rule gets applied, but discount not subtracted from subtotal

I have created a shopping cart price rule in my Magento store (version 1.4.1.1), and it seems to get applied without issue on the frontend, but the discount isn't actually reflected in the subtotal or final total. The original item price is $45.00,…
Jenny K.
  • 61
  • 1
  • 1
  • 5
3
votes
2 answers

Magento extension just for single store in multishop

my client runs a multishop with very different products, different layouts and different domains. I developed an extension for the checkout process for one of the stores and now don't see a way to tell Magento only to work with this specific…
Thomas
  • 136
  • 3
  • 10
3
votes
0 answers

Automatic price change on daily basis in magento

We have a client site who is having gold jewelery magento shop. In that the jewel prices are daily changing,so he have to update each jewel items price often. (The logic we have here is 1 gram price today is Rs. 1200 and tomorrow it may became RS.…
Elamurugan
  • 3,204
  • 13
  • 59
  • 104
3
votes
1 answer

Magento table rate not working after migration

We migrated from 1.4 to 1.6 I am not sure if this is a problem in the migration but our table rate shipping is not worked. I have this 2 examples; This one works Country Region/State Zip/Postal Code Weight (and above) Shipping Price USA …
Luis Valencia
  • 32,619
  • 93
  • 286
  • 506
3
votes
0 answers

How to Insert Values in Database Table in Magento

I have created an Admin (Backend) module in Magento where i have created few text fields .. I have created the respective Model for that as well.. When i press my save button it posts the data and I can print_r the value in my Controller. Now I want…
user769394
3
votes
2 answers

How to set related products By code for each product in magento

I have a magento store in which we already created more than 300 products. The thing is each 10 to 15 products are more than 80% same name format. Eg: Embroidered Vine - 12 Embroidered Vine - 13 Embroidered Vine - 14 Embroidered Vine - 15 …
Elamurugan
  • 3,204
  • 13
  • 59
  • 104