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
5
votes
2 answers

Magento translations in external script

I want to be able to use $this->__('String to translate') in an external script. How do I do this? Magento version 1.5.1.0.
Niklas Modess
  • 2,521
  • 1
  • 20
  • 34
5
votes
3 answers

Magento 1.5.1.0 - While trying to update stock quantity on products, getStockData is returning NULL

I have products loaded in Magento that I am trying to bulk update the inventory qty on. I created all the products using Mage_Catalog_Model_Product and set the qty on them using setStockData like: $product = new…
demarts
  • 73
  • 1
  • 6
5
votes
2 answers

Magento: Change Config option without saving it

In my Magento module, I want to change a config option for just one run - the change should not be saved in the database. It is only to change it with certain conditions during runtime, so that all subsequent core calls etc use that option. I know…
Lanbo
  • 15,118
  • 16
  • 70
  • 147
5
votes
1 answer

Magento - How to Edit container1

I am looking to edit the container1 and container2 product information in my magento template. In view mytemplate/template/catalog/view.phtml and I see these container1 and container2 calls. After some research, I should be looking for an options…
user1532904
  • 97
  • 1
  • 8
5
votes
3 answers

Magento changes layout dynamically via system variable

Is there a way we could changes the layout of a Magento page (let's say a product category page) dynamically by using system variable which have been set on our own module? I want to be able to set my category page's default layout via my own module…
Kamal
  • 1,922
  • 2
  • 23
  • 37
5
votes
1 answer

Is Magento's Cron fundamentally flawed?

I am having a difficult time setting up a Cron job to run once a day at a set time. Here's what I have in my module's config: 0 16 * * *
Mageician
  • 2,918
  • 9
  • 43
  • 69
4
votes
1 answer

Magento - Add Custom Mass Action PDF

Quick Question (Keep this in mind when reading): Why is this error being produced (in explanation) and how can I edit the pdfRmaAction() to work correctly (Mass Action Printing)??? **Working in Magento v.1.10.1.0 which is the same as…
Geoff
  • 3,534
  • 5
  • 30
  • 33
4
votes
1 answer

how to filter all products by custom dropdown attribute value in magento?

i have created a custom dropdown attribute with a name "by_item", and added some options to it like "Suite, Bridal, Jeans" etc. getCollection(); …
atif
  • 1,693
  • 13
  • 38
  • 70
4
votes
1 answer

Magento - Duplicate headers received from server

The issue is that sometimes I get this error in Google Chrome when I filter an order export: Duplicate headers received from server The response from the server contained duplicate headers. This problem is generally the result of a misconfigured…
Geoff
  • 3,534
  • 5
  • 30
  • 33
4
votes
1 answer

Magento - Where do {{...}} placeholders get replaced?

I'm creating some custom blocks and I want to support the {{skin url="..."}} dynamic placeholder features of Magento inside the Layout Update XML. Ex:
Mageician
  • 2,918
  • 9
  • 43
  • 69
4
votes
2 answers

magento join table collection

I'm customizing Magento FAQ extension for sort faq items by category.below collection is used to get all items active faq items. $collection = Mage :: getModel('flagbit_faq/faq')->getCollection() ->addStoreFilter(Mage ::…
Gowri
  • 16,587
  • 26
  • 100
  • 160
4
votes
1 answer

I am unable to Find Configurable options on Product page Magento?

I have customized pages in magento, it was working fine until I installed Extension MagiczoomPlus. Now When I create a Configurable Product as shown in this link. I am unable to find my Configuration options on product detail page. even the add to…
ScoRpion
  • 11,364
  • 24
  • 66
  • 89
4
votes
2 answers

breadcrumbs are not showing in magento cms pages

Breadcrumbs are not displaying in any cms page. What may be the problem? I checked the admin -> system ->config-> web -> default pages -> Show Breadcrumbs for CMS Pages option yes. $crumbs variable is coming as null in…
Gowri
  • 16,587
  • 26
  • 100
  • 160
4
votes
2 answers

How to compare two fields in a Magento query?

I'm getting all my active special products using this code that I've found somewhere: $collection = $this->_addProductAttributesAndPrices($collection) ->addStoreFilter() ->addAttributeToFilter('special_from_date', array('date' => true, 'to' =>…
Shaz
  • 2,647
  • 2
  • 35
  • 45
4
votes
4 answers

Magento Connect error: The 'community' channel is not installed

I have packaged a extension when i try to install it form connect manager on my localhost... i am getting this error CONNECT ERROR: The 'community' channel is not installed. Please use the MAGE shell script to install the 'community' channel. I…
Pankaj Pareek
  • 3,806
  • 2
  • 31
  • 42
1 2
3
40 41