magento

How do you database access (I/O) to/from Magento Commerce?

So, I want to import, export and modify the database. I have read that I have to do that by XML, but I don't really understand their doc system and I haven't found any good tutorials out there that explain this. I am slowly reading the very expensive and short book which is somewhat answering my questions, but I crave more. As a second ...

EAV Solutions/Packages/Vendors?

I was recently exposed to the concept of an Entity Attribute Value database model via. the Magento e-commerce system. Varien (the company behind Magento) has used a relational database (mysql) to create an EAV style model using PHP Objects. I'm curious if there are "native" EAV database solutions out there. The "featured recently on ...

Magento Custom Module, Fatal error: Call to a member function setFormAction()

When I hit my module on this url http://localhost/xxx/index.php/TradeEnquiry I get this error Fatal error: Call to a member function setFormAction() on a non-object in C:\wamp\www\stockdisplays\app\code\local\Stock\Tradeenquiry\controllers\IndexController.php on line 55 Line 55 is this: $this->getLayout()->getBlock('tradeen...

How to access Magento user's session from outside Magento?

Im trying to access the Magento customer session in another part of my website. domain.com/shop/ <- Magento domain.com/test.php The shop itself works like a charm, however im trying to determine within test.php if a customer is logged in, so I can display his name with a link to his cart. Contents of test.php so far: <?php require_o...

Magento: Including a module template into the checkout process

Hi, I'm trying to include a custom template into the checkout process on the shipping page. I want that template to adopt the functionality of its parent template so I can use any of the shipping variables within the template. However I can't get magento to load the template. Here is my XML (the header scripts are adding successfully...

Magento Email Template Help

I need to format the date in an email template. The date gets included in the plain .html email as follows. Dispatch Date: {{var order.getShippingDate()}} Is there any way I can format this date? I've tried just using the standard php date() function to format it to no avail. ...

Magento XML layout with custom modules

Hi, I'm trying to include a custom template into the checkout process on the shipping page. I want that template to adopt the functionality of its parent template so I can use any of the shipping variables within the template. However I can't get magento to load the template. Here is my XML (the header scripts are adding successfully...

Magento Template Variables

Hi, Is it possible to pass a variable from a parent template to a child template. For example, if i wanted to put some repeated HTML in a separate template that was included within a foreach loop in its parent template <?php foreach ($items as $item) { echo $this->getChildHtml('item_info'); } ?> I would want to be able to access ...

Beginning Magento development

I'm starting a project e-commerce site with Magento. I've been using the Microsoft Stack for a while now, but I'm excited about working with PHP. Before I really dig in, I need some resources. I've found the tutorials on Magento's site, but they were pretty sparse. I'd like to hear what Magento developers here are doing, so I have a fe...

Magento core function working in remote system displaying error in another system.

In catalog.xml file of frontend template folder I had blocks defined for tabs to display product tags,additional information etc.in this way: additional Additional Information catalog/product_view_attributes catalog/product/view/attributes.phtml Which was working fine in the remote system,but when i installed it in local magento and tr...

Why is the advanced search not working with price criteria in magento?

The advanced search with all the default product attributes are working fine and gives the desired result except for the price criteria where even if i fill the values with the correct range and price that is present in the product list, the message "No items were found using the following search criteria" is displayed.I tried printing t...

Custom Report in Magento

In Magento the default reports are very limiting. I have been trying to create custom reports that show more information. I have tried creating a module to recreate an existing report but am not having a lot of success. I know there is an easy way to change existing reports but it involves changing core file and wouldn't give the same f...

Select with Indented as well as formatted Items in PHP

I have a need to show a select box which will display all categories and subcategories in one go. I want to show All Categories left most & bold while all sub categories will come under respective Categories but will be indented and Italized. How can we create such a Select List in PHP? I have something like this in Magento Ecommerce ...

Magento: Select the top ordered products

I need a block where i can display my "top sellers" but don't know how i can do the collection select. What "addAttributeToSelect" do i need? ...

Magento custom attribute default value not showing in front end

Hi there, I have added some custom attributes to the products in the admin section of our Magento 1.3.2.1 installation and I've given some of those attributes default values. The problem is that the default values aren't being returned when I try to get the attribute from the product object as follows: $_product->getCode() Logically...

Magento "My Account" link section

I'm currently developing a helpticket module for magento. After you login an go to My Account you see a menu on the left side. I already managed to get a link to my module in that menu. I now want to show this menu when you open my module. Does anybody has some information about this issue? ...

magento router: How can i catch parameters in all urls?

Think of an small and basic affliate system. I want an url like "www.myshop.com/mynewproduct.html?afid=123". Every time "afid" is found in the url an method has to be called. (Basicly to save "afid" in an session an when the customer buys stuff i want to track it.) Someone here who knows how to do that? Every hint is accepted ;-) gree...

How to create a template in magento framework?

hi I want to create a template in magento. How do I do this. Is there any tutorials for that or book please mention here Thanks ...

magento - Editing colour of category tabs

Anybody know where to find the css that will edit the colour of the text in the category tabs? Regards, Fiona ...

Magento Custom Forms

I'm trying to build my own Request Catalog Form in Magento, heavily based on the Contacts module that comes out of the box. I've set up my XML files: ./app/etc/modules/RequestCatalog_RequestCatalog.xml ./design/frontend/default/{theme}/layout/requestcatalog.xml ./code/local/{namespace}/{module}/etc/config.xml In my config.xml, I set...