I recently upgraded a site to Magento 126.96.36.199 and found that the product attributes were showing out of error on the front end. Here is a fix.
"%s was added to your shopping cart.","%s was added to your <a href='/checkout/cart/'>shopping cart</a>."
To a file called “
translate.csv“, and save it to
You can customize the text to whatever you want.
If you wish to have the item quantity box on the product detail pages to default to “1” instead of showing nothing, follow these steps inside the Magento admin area.
- Admin Panel -> System -> Configuration -> Inventory-> Product Stock Options
- Click on Add Minimum Qty button (next to Minimum Qty Allowed in Shopping Cart option)
- Choose Customer Group: ALL GROUPS as you want this to be applied to all users
- Enter 1 for Minimum Qty
- Save Config
When working with Magento, you want to avoid core code changes whenever possible, as such changes will be overridden when you upgrade Magento.
In the case of controller behavior, you create files inside
/app/code/local instead of
For example, if you wish to change the functionality in the Google Analytics controller, copy this file:
And make your changes.