Questions tagged [magento-1.5]

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.5.x.x version

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.

Several sub-systems employ meta-programming languages (Layout, DataFlow) implemented via XML. The system also features a factory method for instantiation of certain class types (Models, Helpers, Blocks).

The application code is organized into Modules which may be selectively loaded during the bootstrapping process.

Many of the Models are implemented with an EAV style structure that sits on top of MySQL, which means data for a single Entity (object) is spread across multiple tables.

Because of the deep abstractions, Magento allows you to do almost anything with the system programmatically.

Because of the deep abstractions, there are some things in Magento that can only be achieved programmatically.

Because of the deep abstractions, many PHP programmers struggle with the initial steep learning curve, and end up on Stack Overflow.

Because of the deep abstractions, you will almost certainly need a modern IDE that allows you to debug the codebase to trace the object hierarchies.

601 questions
107
votes
13 answers

Service Temporarily Unavailable Magento?

My application was working fine yesterday. I started my PC today. When I tried to start Magento I got this error message. Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or…
ScoRpion
  • 11,364
  • 24
  • 66
  • 89
20
votes
1 answer

Magento - multiple classes extending same core class

I'm sure we've all run into a situation where you have multiple extensions with a block or model that rewrites the same core block/model. The problem I've run into is this: How do you control the order in which Magento sees these classes? For…
Mageician
  • 2,918
  • 9
  • 43
  • 69
17
votes
1 answer

Magento XMLConnect...what is it and how can I use it?

Can someone explain what the XMLConnect extension is and what it is used for? I know that in general it can be used to develop a mobile friendly site, but that's about as far as I've gotten with my Google searches. Does anyone have experience…
Mageician
  • 2,918
  • 9
  • 43
  • 69
17
votes
13 answers

Magento redirection problem after moving

I've moved my Magento to another server with another domain name, now it keeps linking me back to the old domain. All files and the entire database has been searched&replaced to ensure references are gone. Cache got removed. I suspect it still tries…
user746379
  • 1,492
  • 2
  • 13
  • 21
14
votes
5 answers

Update products programmatically in Magento

I'm working on a script that will create or update products in my catalog. The script works fine when the product needs to be created, but it fails when the product already exists in the database giving me (many times) the following messages : …
user971401
14
votes
1 answer

How to unset session in Magento?

I am using session in my magento custom module.Below is my code $session = Mage::getSingleton("core/session", array("name"=>"frontend")); $session->setData("day_filter", 'weeks'); $session->setData("days", '5'); …
user1443655
  • 169
  • 1
  • 3
  • 10
13
votes
6 answers

Magento :Password reset link is not working

i am trying to reset my test customer account password for my store, when i click on forgot password link it is asking me for a email address when i enter a valid email address it says the password reset link is sent to your mail & it is forwarding…
Imran Pasha
  • 137
  • 1
  • 1
  • 7
12
votes
4 answers

How MVC works in magento

Thanks for the previous replies. I am new to Magento and don't know how MVC operates in this framework. I want to display "Hello world" using MVC format--i.e., the controller imports the string from the model and transmits it to the view for…
RAAAAM
  • 3,378
  • 19
  • 59
  • 108
12
votes
4 answers

Magento getProductUrl() is not returning the right url (random?)

I am using Magento 1.5.0.1 and the getProductUrl() function used in the cross sell and up sell blocks on the product page is throwing up different URL formats. Either the correct url like: /laptop-bag.html Or the wrong one (well it works, but of…
cappuccino
  • 2,175
  • 5
  • 26
  • 48
11
votes
3 answers

Magento - get rule from coupon code

I have to retrieve the rule associated to a coupon code in order to display in quote the discount percentage of that rule. the simplest way is to calculate directly from quote amounts, but i want to retrieve directly the rule and then get the…
Luke
  • 1,794
  • 10
  • 43
  • 70
10
votes
1 answer

Magento - How do you return results of unlimited CMS Static blocks (with certain "Identifier") to a CMS Page

Quick Overview: I am trying to return results from a specific set of static blocks to a phtml file (which is then called on from a cms page) in Magento. Note: I've been searching all over google and some answers get me closer than others but …
Geoff
  • 3,534
  • 5
  • 30
  • 33
10
votes
4 answers

"Gateway error: (TESTMODE) The merchant login ID or password is invalid or the account is inactive.During PlaceOrder Authorised.net in magento"

I am facing error during the placeorder using method authorised.net in magento: "Gateway error: (TESTMODE) The merchant login ID or password is invalid or the account is inactive.
Bhavik
  • 183
  • 1
  • 1
  • 13
10
votes
5 answers

Magento changing attribute type in backend

is it possible to change type of a attribute after it has been created. I want to change type of certain attribute to Multi select list. Type of these attribute is currently 'Dropdown'. Actually When I create the attributes, there was no need of…
Ravish
  • 2,383
  • 4
  • 37
  • 55
10
votes
2 answers

Magento: Adding new products programmatically

I am trying to add products to Magento 1.5 programmatically. My script will ultimately be a cron job, regularly updating and adding products as dictated by an XML file supplied by the accounts system. I have a problem in creating new products. The…
AMP
  • 486
  • 2
  • 7
  • 9
9
votes
2 answers

How do I get quote totals before saving payment method?

I am trying to create a one step checkout, but in the checkout page I have problem with order review part . When I select a payment method for example "cash on deliver" has 5$ extra, or "checkorder" has %4 discount or "credit card payment" adds…
Orhan Saglam
  • 429
  • 5
  • 15
1
2 3
40 41