magento

How to trigger an event on payment received in magento?

Greetings, in Magento I want to trigger an event, once an order has been set to processing (by gateway confirmation or manually) that, example: If a general customer (id 1) spends over 100$ and the payment has been confirmed, set his group id to 4 (silver VIP, which by promotion rule gets 2% discount globally) I would give a bounty to th...

Best practises for Magento Deployment

I am looking setting up a deployment process for a highly customised Magento site, and was wondering how other people do this. I will be setting up dev, UAT and prod environments. All the Magento files will be in source control (SVN). At this stage, I can't see any requirements for changing the DB, so the 3 databases will be manually m...

magento extension installtion

hi i want to install magento extension but not from the magento connect how can i do this i have the module(extension) code and i allready install the sample data in magento installtion ...

Magento defining custom CMS page in cms.xml

Hi all! I've added several pages (cms) in my magento admin panel. I know i can attach blocks to a specific page by using {{block..}} within the content field. However, i dont want to define blocks there, but within the cms.xml file. So other store admins are not annoyed by weird codes ({{block..}}) in the backend editor. I've defined ...

What are the best steps to improve magento performance?

Hey all, I have a magento shop (ver 1.2) running under a dedicated LAMP setup. I have made the following changes to it: Enabled magento caching Enabled APC MySQL Query caching GZip compression of html,css,js The shop is still incredibly slow, around 10 secs and over for rendering the homepage. Is there any obvious things I am missi...

Changing a Magento default theme

My understanding of Magento is that you can only have 2 themes loaded at any one time. ( according to the Magento design guide) Also, that there is two types of themes - default and non-default (i.e. default contain all possible options, non-default override a subset). All the documentation I've read says that both default and non-defa...

How to change the background color of default magento generated invoice pdf that's generated to print?

Hi, Can anyone give any idea on where the html files are located that generates the invoice pdf while trying to print it out(in admin).Also I need to modify the background color from the one as in the default one that is generated by magento. Thanks in advance. ...

magento - Change Customer Id and Order ID

Currently CustomerID's start at 1 while the first Order generated has OrderID: 100000001 Is there any way of altering these fields, so the first customer created has customer number: 900000001 and the first order created has OrderID: 900000001 ...

Magento & vertnav extension

Hi all, I'm working on a magento project (v1.3.2.3) and i've installed the vertnav extension. Contents vertnav.xml: <?xml version="1.0"?> <layout version="0.1.0"> <default> <reference name="left"> <block type="vertnav/navigation" name="catalog.vertnav" template="vertnav/left.phtml" before="-" /> </refer...

Magento SSL links

Hi all, I've configured magento to use SSL links.. Base URL https://sub.domain.com/ Base Link URL {{secure_base_url}} Base ... URL {{secure_base_url}}.../ Use Secure URLs in Frontend: YES Use Secure URLs in Backend: YES Frontend i have some custom links built with Mage::getUrl([...]) <?php // link to CMS page echo Mage::get...

How does a Magento Payment Method Module integrate with the site's back-end

I found this related question which confirmed a lot of what I already thought but one question remains; how does a custom payment module integrate with the store's database? I am developing a custom payment method that transfers the user to a secure site, hosted by a bank in Australia which will process credit card transactions. For t...

magento - multiple tax rates

I've built a magento site for a Canadian company where each state has a Retail sales tax and a federal tax rate and these rates differ! So, I set up the rates, and the Tax is being calculated correctly, ie the sum of the two tax rates is being calculated correctly. however on selecting the breakdown of tax mode in the admin panel, it wou...

Getting a Magento 404 error when accessing the module settings through admin panel

So I downloaded the Magento free blog extension but it only supports a single blog. So I duplicated the extension as I need more than one blog in my magento store. I changed all the references and calls appropriately in my extension copy and was able to install it as a separate extension. However when I want to create a new post from t...

How can I show NEW products per row from specific categories in Magento?

As the title suggests, I like to show new products called in from specific categories separated by rows in the home page. Row 1 -> New products from Category 1 Row 2 -> New products from Category 2 Row 3 -> New products from Category 3 ...etc In my Magento Admin CMS, under Home Page they will be called in as separate...

Magento, translate validation error messages

I have successfully created new rules for the prototype validation, now I need to translate the error messages (Location: String in Javascript). However, I can only translate all the messages, my new custom ones don't appear to be translatable. How do I change this? ...

magento price getPrice() value

function getDescriptionHtml($tpl, $p){ $out = ""; $pr = $p["product"]; if(Mage::getStoreConfig('featuredproducts/displayoptions/title') == 'description'){ $out .= "<ins><h4>{$pr->getName()}</h4></ins>"; } $out .= "<span class=\"description\"". (!Mage::getStoreConfig('featuredproducts/displayoptions/description') ? "styl...

What do I put in the config.xml file to override linkAction in Downloadable (Magento controller)?

I'm trying to override the linkAction method so that I can serve up downloadables in S3, etc. ...

How do i show the value of order comments in the order display grid?

I need to make use of the order comment history in sales order view page,and display the entered value in the order list.Though the textarea is for entering comment about order,I am using it to enter an id type value and would be inserted just once and that value should be displayed in the order grid under the header of the added custom ...

Magento framework

Hai I build a project in magneto in my local host. I added the categories and products in admin side, but when the product displayed on the user side the SKU ID not shown? What can I do to display the sku id along with the product details? Thanks in advance ...

Magento tutorial create a module for the backand (admin page)

Does anyone know a good tutorial for this subject. I want to create a module (extension) with more than one page. The extension must contain one overview page and a form to create a item. ...