magento

Magento CSS not Loading in New Template

I have posted on the template creator's site, as well as Magento support, but no one has responded. The CSS is not loading at all on the custom theme I have installed, which is supposedly compatible with the current version of Magento. You can view the page here: shop.dearearth.net This is a fresh installation of Magento and the theme...

Magento export script using up all memory -- memory leak?

Hello, I have a script that processes Magento's product catalog and exports it. Unfortunately it is killed halfway because it ends up using too much memory. I am afraid I have incurred in the problem with the php garbage collector not being able to free circular references, hence causing a memory leak. I've tried the fix suggested a...

Magento email template location?

I've been trying to send an email from my magento module but for some reason I can't get the template to work: The template is set as follows: $emailTemplate = Mage::getModel('core/email_template')->loadDefault('application_status_email'); The headers and all are being sent correctly. I've created a file called application_status_e...

Magento Onepage Checkout missing a step

Hi, we've got an almost-finished-ready-to-go magento shop, that has developed an annoying problem. On the one page checkout, one of the steps has gone missing! The "shipping" tab, despite being present in the array of values inside the Mage_Checkout_Block_Onepage->getSteps() method, doesn't display. We've tried everything to figure out...

What is Magento using scriptaculous for?

Anybody know? I'd really like to pull it out & use jquery, but if the core Varien js is using it... thx in advance ...

How to Set a Different List and View Template for a Magento Category?

Hello, Let's say I have two categories. I want first category to use template/catalog/list_a.phtml, but I want second category use template/catalog/list_b.phtml for their product listing template. I also like first category to use template/catalog/view_a.phtml and second category to use template/catalog/view_b.phtml. I found a solutio...

How can I retrieve only one product from a Magento collection?

I have a collection, which contains only one product. How I can get this product without using a "foreach' cycle? ...

sort categories according to date when its added in magento

Hello All! In my magento project..I want to sort all product category according to custom_design_from or custom_design_to.... like latest added category must be display at first in a row than so on..as according to stack concept can anyone please help me out..how can I do display categories on the page. Thanks! Richa ...

magento validation related problem

hello all! can any one tell me where or in which file(path of that file I need to make change for edit validation class like input-text required-entry in magneto.. I required this because-> this validation is not working if there is default value in text box where this class is applied.. like .. in my form name filed name has two text...

Magento createBlock method not working, displaying static block data

Hi, Ok so Ive created static blocks in my CMS area, and Im trying to output them inside of a custom homepage template Ive built. Every document I can find says to output the block as follows <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('my-block-identifier')->toHtml() ?> That didnt work for me, so then I t...

How to sort Magento product list by product rate?

Hi, I would like to sort product list by product rate. Is it possible? I googled about it, but I only found how to sort by newest, name, category. ...

Magento - Configurable products not visible until manually saved in admin panel

I have a script that is creating a lot of configurable products and their associated simple products. Everything goes ok and when inspecting the products in the admin section, everything is linked up and looks great. The problem is that the products are not visible until I manually go to the admin section and save the configurable pro...

How to get last running transaction Id in magento

Hi, How can I get the last running transaction Id ? (eg: 10000001) I've tried numerous ways, with no success. ...

Magento theme problem

I tried creating a new theme in Magento by creating the following folders: /app/design/frontend/interface/default /skin/frontend/interface/default I copied into these folders the entire content of the base/default folders (in both skin and design). I enabled the theme bu putting "interface" in "current package name" for a website and...

Featured Products in Magento

Hello, I am working on a Magento project in which I want to change featured products after some interval. So, out of 12 products, 6 products display at a time. After some interval, another 6 products display. So kindly guide me on this. ...

Change default gender option in Magento

Hello all! In Magento, when a new customer is added (admin -> manage customers -> account information), in the gender field, male is showing as the default option. I want to how to show female as the default option. Can anyone help me? What changes do I need to make and in which file? Thanks for any help or suggestions, Thanks, RIch...

Google Analytics not working 100% with Magento

Hi, I need to solve a problem that the e-commerce report on analytics page, is showing 30% less sales than the Magento report. I was wondering where I put the analytics code with the sales transactions? In the success page after the payment? On our e-commerce, we use a third party billing app that makes the user navigate to another p...

How to call a core template in magento

Hello, I am new to Magento, and I have created list1.phtml in Magento with some changes to the file list.phtml. My problem is that I want to call list1.phtml like list.phtml. I copied the code of list.phtml from catalog.xml and created a new content block for list1.phtml but it doesn't work for me. Please help. Actually, I want a page...

Magento make an (OR) using collections

I've a custom module with custom table, now, i'm trying to make something like a filter for that table, Mage::getModel('comunity/news')->getCollection() ->addFieldToFilter('title', array('like'=>'%'.$this->getRequest()->getParam('q').'%')); with this is enough, and works perfect, but i need to add another field, is simpl...

Magento: Display # of pages in category list page

Hello everyone, I'm trying to display the # of pages on the category list page. Something like this: <?= Mage::getSingleton('page/html_pager')->getCollection()->getSize()->getLastPageNum(); ?> Can anyone help me out? ...