Magento
Magento: Module upgrade script with unique field column
1.Add to new table in database: 2.Update or add existing table in database:
Magento
Magento: Configurable Product Option To Category List
Step 1: Create a template called configurable_category.phtml and put it on the template/catalog/product/view/type folder of your theme (create the folder if it doesn’t exist). Put the following code in that file: The differences with the original configurable.phtml file and this one are that now we create a different spConfig object Read more…
Magento
Magento: ovserver before product add to cart and after order place
In Your config.xml In your observer file app\code\local\Namespace\Module\Model\Observer.php
Magento
Magento: Admin Grid Remove Column From Export
You Can do this by using is_system attribute for example: Now column with column_name will not be exported.
Magento
Magento:: Join Product Table with custom collection
Grid.php of your custom module Show product name in grid:
Magento
Magento:: Grid Search by customer name and make customer name link to customer view page
In your custom module database has the customer_id field: IN Grid.php Create a function in Grid.php after _prepareColumns() function: create a renderer file in app/code/local/Namespace/YourModule/Block/Adminhtml/YourModule/Renderer/Customer.php with the following content:
Magento
Add cron job in cpanel
If you don’t know the file path then use this command and configuration. Add this in your cron job