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

Magento - Programmatically Disable Automatic Indexing

In Magento 1.9 Enterprise (which is essentially the 1.4 Community Edition), what is the correct way to disable the index programmatically so that it wont reindex after every product update? We have a complex product import procedure, so we can't use…
noah
  • 21,289
  • 17
  • 64
  • 88
6
votes
2 answers

injecting magento block to head via observed event

what magento frontend events can should I observe if I want the chance to inject blocks to the ("head" block) ? and while in the observer's code, how do I check if the current layout has some handle (e.g. not_logged_in) set.
epeleg
  • 10,347
  • 17
  • 101
  • 151
6
votes
2 answers

Magento payment : additional_information or payment attribute?

I'm wondering which is the better way to add some information to a payment in magento (1.4.1.1). Let's say I want to add an information called "payment_duedate" which would be the date the customer has to pay his invoice. Actually, there is a field…
liquidity
  • 1,312
  • 20
  • 27
6
votes
5 answers

Overridding a Shipping Method - What am I missing

I've written many many modules before but for some reason my shipping module won't override an exsiting Magneto shipping method. Is that allowed? What am I missing here? The module name shows up in the advanced tab of the configuration area, so…
Chris
  • 1,731
  • 3
  • 24
  • 38
6
votes
3 answers

Magento 1 - get category ID from product ID

In magento how to get the category id of each product from its product ID. $items = $request->getAllItems(); $c = count($items); for ($i = 0; $i < $c; $i++) { if ($items[$i]->getProduct() instanceof…
Elamurugan
  • 3,204
  • 13
  • 59
  • 104
6
votes
2 answers

isBundle() in Magento?

How do you tell if a product page is set up as a bundle in Magento 1.4? I can't find a way to do it.
Duane
  • 260
  • 5
  • 14
6
votes
5 answers

Detect home page in Magento .phtml that will work with BLOCK_HTML cache enabled

I have tried the following two methods in catalog/navigation/vert_nav.phtml to add or suppress content specific to the home page: if($this->getUrl('') == $this->getUrl('*/*/*', array('_current'=>true,…
rwired
  • 1,112
  • 3
  • 15
  • 28
5
votes
2 answers

Programmatically send shipping/tracking mail

In Magento 1.4, I am successfully using this code to mark an order as Complete and add a shipping tracking code to it : $order = Mage::getModel('sales/order')->loadByIncrementId($increment_id); if($order->canShip()) { $itemQty = …
Roatha Chann
  • 435
  • 6
  • 21
5
votes
5 answers

Update all Tier prices for a product

Without directly querying the Magento database. How can i remove all the tier prices for a certain product based on quantity and customer group? Then add new tier prices for this product. Example: Remove all tier prices for a product with the SKU:…
5
votes
3 answers

How to add a cms static block to all pages in Magento?

I am new to magento and i am trying to create a static block for my home, category and other pages. i want the static block to be shown just above the footer link. And is there any good tutorial on line which can provide a good over view of static…
ScoRpion
  • 11,364
  • 24
  • 66
  • 89
5
votes
2 answers

How do order statuses/states work in Magento 1.4.x

As far as I understand Magento have various order statuses under global/sales/order/statuses which can be altered by either copying app/code/core/Mage/Sales/etc/config.xml to local scope or overriding it with your custom module. There are also…
user487772
  • 8,800
  • 5
  • 47
  • 72
5
votes
2 answers

How to configure Multiple admin users to multiple websites in one installation in magento

I want to configure multiple admin users for multiple websites in magento each with their own store features. I have tried to create the admin user roles and new admin user with minimum or required allotted features but I didn't find any option how…
Ali Nasrullah
  • 131
  • 4
  • 11
5
votes
2 answers

Linking to Magento Admin from Outside Admin Panel

I'm trying to build some CRM tools that send emails to my sales guys and link back to pages inside the Magento Admin. I've been building the URLS like this: Mage::getUrl('*/quotes/edit', array('id'=>$quote->getQuoteId(), '_current'=>true)) The…
Chris
  • 1,731
  • 3
  • 24
  • 38
5
votes
2 answers

Sorting on Custom Attribute

I have an attribute I created called "sales_rank" that I have set to use as a sortable attribute. However, when I choose it from the product list, it is not sorting how I expect. On further inspection, it appears that it's sorting as a text field…
Mageician
  • 2,918
  • 9
  • 43
  • 69
5
votes
4 answers

can a magento adminhtml field depend on more then one field or value?

In http://alanstorm.com/magento_system_configuration_in_depth_tutorial @AlanStorm gives a very good tutorial for system configuration. He also explains how to use a tag to make a field show only when a specific value is set in another…
epeleg
  • 10,347
  • 17
  • 101
  • 151
1 2
3
46 47