magento

Help with Magento Custom Module. Redirect to another module and return to checkout

Magento shopping cart is built on the Zend Framework in PHP. This is the first time I've dealt with the Zend framework and I'm having the following difficulty... I'm creating a custom module that will allow users to upload images whenever they purchase products. I can overload the addAction() method whenever a user attempts to add a p...

Magento products by categories

Does anyone know how I can get a list of products belonging to a specific category from within a view file in Magento? ...

Maintain runtime settings across environments in version control?

We are investigating the Magento ecommerce platform and refining our deployment and version control strategy. Right now, we are looking for the best way to keep multiple environments in sync (e.g. QA/Development environments/Production) when it comes to settings that are adjusted in the admin interface (e.g. Adding products, system conf...

Hide categories that have no products magento

I have many sites that use the same root category of the Main Site. Each product that is added is added to the site it was added to (wow.) and also the Main Site. However, I would like categories on a per site basis to only appear if there are products on that site. If I have: Category1 Category2 Category3 But Site1 only has products...

Magentocommerce - How to exclude 'out of stock' items from the front page?

Hi all, I'm currently using Magento ver 1.1.6. My store only sells unique items (shirts with exclusive designs) which means at any one time, only 1 unit is available for each items. How do I omit those items which are already sold from being displayed in the front page? BTW, I'm using these code to show products on the front page: {{b...

Current user in Magento?

I'm customizing the product view page and I need to show the user's name. How do I access the account information of the current user (if he's logged in) to get Name etc. ? ...

How to get products from a particular category in magento ecommerce

I'd like to get a list of random products from the same category as the current product for displaying within the product view - so far all I've dug up is http://stackoverflow.com/questions/272818/magento-products-by-categories Does anyone know how to do this? ...

Custom eCommerce Site - ASP.Net or PHP?

I currently have a very functional customised online ordering website written from scratch in ASP. This was built approx 4 years ago, and works exceptionally well. I need to build a similar one for another company. Do I simply upgrade and get a like product developed in ASP.Net 2.0, or do I need to do some homework on other options such...

Create SQL query that orders results by which condition they meet

This is for MySQL and PHP I have a table that contains the following columns: navigation_id (unsigned int primary key) navigation_category (unsigned int) navigation_path (varchar (256)) navigation_is_active (bool) navigation_store_id (unsigned int index) Data will be filled like: 1, 32, "4/32/", 1, 32 2, 33, "4/32/33/", 1, 32 3, 34,...

How to make "Tag" pages SEO'd in Magento?

Hi, In magento, I have SEO url rewriting enabled, and it is working fine - apart from: tags (showing as site/tag/product/list/tagId/1/) reviews (showing as, for example site/review/product/list/id/1/) RSS feeds (showing as site/rss/catalog/category/cid/3/sid/1/) How come this is not SEO’d? and what will be the solution for this issu...

Best beginner resources for understanding the EAV database model?

I'm doing some custom work with Magento, which has a database design based upon the EAV model, and I need some good resources/tutorials that explain the EAV database model. Please don't provide Wikipedia as a resource... I'm looking for something that teaches EAV in a friendly way for beginners. ...

Generic SOAP Debugging Tools

When you're programming against a SOAP Service, what tools do you use to explore/poke-at the API? I realize that Visual Studio/Eclipse likely have some sort of client built in (and please, do talk about them), but I'm more interested in information about stand-alone programs like Soap Client for OS X. More specifically, does anyone h...

PHP 5 and Zend MVC on Windows and IIS

Are there any major issues to be aware of running a PHP 5 / Zend MVC production application on Windows? The particular application is Magento, an ecommerce system, and the client is really not interested in having a Linux box in their datacenter. Has anyone had luck getting PHP 5 and Zend MVC working correctly on IIS? ...

Where is the setCouponCode function is defined in Magento

I know that setCouponCode is catch inside __call in Varien_Object but I can't figure out where it is defined. I need it because I want to show the coupon code even if the discount equal zero. I believed it's done inside this function. So if anybody know where the function is defined or where I can modify the code to get the coupon code...

How does Magento code work?

Can someone show me how to accomplish the following in Magento: Display a hello world message using a controller/view/model approach, so if i went to http://mysite.com/myController It would show the string 'hello world'. Being able to show this string within the template of my website (e.g the header, footer, etc) will be a bonus. ...

How to get a category listing from Magento?

I want to create a page in Magento that shows a visual representation of the categories.. example CATEGORY product 1 product 2 ANOTHER CATEGORY product 3 My problem is, their database is organised very differently to what I've seen in the past. They have tables dedicated to data types like varchar, int, etc. I assume this is for p...

Export Orders from Magento for shipment

I am working on an online store on the Magento platform and have hit a major roadblock: For some reason I cannot figure out how to export current orders (with shipping information/shipment type/etc). Does anyone have any suggestions? This seems as if it should be one of the most basic things for a system like this to do, but I have not b...

c# translation to PHP Array key

I am trying to call a PHP Magento store web service from C#. How do I create this type of an "ARRAY KEY" in C# to pass to PHP: call( $sessionId, 'product_stock.update', array('Sku', array('qty'=>50, 'is_in_stock'=>1)) ); Here is a link to the magento wiki for the call: http://www.magentocommerce.com/wiki/doc/webservice...

Magento Themeing

I've read through all the docs on the Magento E-Commerce website, but I'm still fighting with Magento to get my theme looking just right. I have the basic understanding of the XML file layout files, but all the template code is frustrating me. Can someone explain the basic tags and maybe give a reference or two on where I can learn more?...

Using Magento's addFieldToFilter to filter by existing columns

Hypothetical situation. I want to populate/load a sales/order collection with every order where the grand_total is equal to the total_paid. I know I can use addFieldToFilter to filter by a specific value, but is it possible to use this method to filter by other database values. If not, is there any data access object in the Magento sys...