Magento’s default contact form asks the user for the essential contact info, e.g. name, email etc.. But you may need to ask for some additional info by adding some custom fields. Here’s how to do it.
Web Development Resources
We’re pretty particular about the tools we like to work with: Magento for Ecommerce, WordPress for CMS, jQuery for enhanced UI. Under the hood we like driving with the LAMP framework (Debian Linux, Apache Web Server, MySQL and PHP). Everything we do here at Sycha relies on open source so hopefully we can give back something through this collection of web development resources.
Magento: Add a custom State / Province / Region to a Country
January 30th, 2010
9 Comments
If you need to add a custom State / Province / Region to a Country in Magento, you’ll need to modify the database manually as there currently isn’t a means to do this from within the Magento admin. Fortunately it’s pretty simple.
If you need to add a custom State / Province / Region to a Country in Magento, you’ll need to modify the database manually as there currently isn’t a means to do this from within the Magento admin. Fortunately it’s pretty simple.
Magento Database Models, Helpers and Raw SQL Queries
January 15th, 2010
5 Comments
The best way to access and manipulate data in Magento is by using the provided objects and their associated functionality. If you really need to deal with raw queries you can do that too.
The best way to access and manipulate data in Magento is by using the provided objects and their associated functionality. If you really need to deal with raw queries you can do that too.
Stand alone Magento scripts
December 29th, 2009
Comments Off on Stand alone Magento scripts
Before running any stand alone scripts that use core Magento objects and functionality, you need to make sure Magento is properly initialised. Add this snippet to the top of your script, updating the path according to your installation.
Before running any stand alone scripts that use core Magento objects and functionality, you need to make sure Magento is properly initialised. Add this snippet to the top of your script, updating the path according to your installation.
WordPress Snippet: Display multiple loops on the same page
December 12th, 2009
Comments Off on WordPress Snippet: Display multiple loops on the same page
Let’s say that on a category page of your WordPress blog, you want to display a secondary list of posts, for example the 3 latest posts from a “featured” category. You have a couple of good options here.
Let’s say that on a category page of your WordPress blog, you want to display a secondary list of posts, for example the 3 latest posts from a “featured” category. You have a couple of good options here.