Question

How it's possible to change the Backorder cart message???

I'd need to display something like "The product will be available to ship from the 1st of january"

Thx

Was it helpful?

Solution

The string is translated in the Mage_CatalogInventory module as "This product is not available in the requested quantity. %s of the items will be backordered."

You can change it using theme translation or inline translation as described here: Magento - Rename Tax to GST

For the theme translation approach, you need the following line in translate.csv:

"Mage_CatalogInventory::This product is not available in the requested quantity. %s of the items will be backordered.","The product will be available to ship from the 1st of january"

OTHER TIPS

@fschmengler your answer was very helpful, however for my magento install I needed a slightly different code in the end for the translation file:

"""%s"" is not available in the requested quantity. %s of the items will be backordered.","new message here"

Perhaps this is due to my theme or different magento versions (I'm on CE 1.9.0.1)

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top