Profile
Achievement
TioSolid's Recent Snippets
- All /
« Prev 1 Next »
In example: find all files (recursively from the current directory) bigger than 20000kb
0
688
posted 13 years ago by TioSolid
I’ve implemented something similar a couple of months ago. What we wanted was to prevent the cart from the old session from merging into the cart of the current session at the point when the customer login. If that describes what you want as well,...
0
674
posted 14 years ago by TioSolid
The "design/header/logo_src" matches the path column in the core_config_data table in the database. You can use the path value to load the value of any config row.
0
714
posted 14 years ago by TioSolid
How to retrieve product attributes outisde the product page in Magento
0
603
posted 14 years ago by TioSolid
How to get a custom product attribute inside a view (.phtml) file.
0
731
posted 14 years ago by TioSolid
Allows you to read any config in the magento database based in its path. The path is defined inside the system.xml file of the module. The table is core_config_data
0
821
posted 14 years ago by TioSolid
I needed to create several pages that didn't use any models and contained static data inside the default layout. My first thought was to create a controller for these pages and define an action for each static page I needed. However, this solution se...
0
670
posted 14 years ago by TioSolid
Another common use of Auth component variables is to allow access to certain methods without the user being logged in (by default Auth restricts access to every action except the login and logout methods).
0
739
posted 14 years ago by TioSolid
How to retrieve the amount of items the user has into the cart
0
657
posted 14 years ago by TioSolid