View.phtml
Paste the below code on your product view template. You can find the file inside the catalog folder.
<script type="text/javascript">
Cart.phtml
Paste the below code on your cart template. You can find the file inside the checkout folder.
Success.phml
Paste the below code on your success template. You can find the file inside checkout folder.
I did it the same way in my Magento installation and it works fine
|
When trying to filter sales order grid with From and To dates it was redirecting to dashboard.after that again i tried to open sales order grind it is generating reports in reports file it showing. "Integrity constraint violation: 1052 Column 'created_at' in where clause is ambiguous" means it is finding a another created_at field. because when we adding or joining the other table then it has also a field named as created_at. So below is the solution for this error. magento that created_at is of the main_table not of my custom table. Find the below code in the sales order grid.php file. $this->addColumn('created_at', array( 'header' => Mage::helper('sales')->__('Purchased On'), 'index' => 'created_at', 'type' => 'datetime', 'width' => '100px', )); ...
Comments
Post a Comment