Magento
Magento : Call cms page in phtml file
How to call cms page content in phtml file. Create a cms page Put the code in your phtml file (where you want to the call cms page content) Code: If there are some image url in your cms page Read more…
How to call cms page content in phtml file. Create a cms page Put the code in your phtml file (where you want to the call cms page content) Code: If there are some image url in your cms page Read more…
If you want to show the base image in upsell products, instead the small image Please Follow the instructions and create a small extension with the following files. 1. create a file as follow: app/code/local/Sushant/Upsell/Block/Product/List/Upsell.php 2.app/code/local/Sushant/Upsell/etc/config.xml 3.Active your module app/etc/modules/Sushant_Upsell.xml Read more…
You need to develop a small extension: Please follow the Steps: just create the following file with code: app/code/local/Sushant/Cartlimit/etc/config.xml app/code/local/Sushant/Cartlimit/Helper/Data.php app/etc/modules/Sushant_Cartlimit.xml
Display Product review on product page in Review Tab with Pagination First open your theme review.xml app/design/frontend/[Your_Theme]/default/layout/review.xml Find the following section: And add the following code like: Now Flush Magento Cache and refresh page
In Category View Page : I have a requirement to display category description in category view page where description has some HTML formats and images with media url: if you display the textarea field with the following code the code Read more…
Step-1 Go to following path and open Edit.php app\code\local\Namespace\Modulename\Block\Adminhtml\Modulename\Edit.php and Add this Function: Step-2 Go to following path and open Form.php app\code\local\Namespace\Modulename\Block\Adminhtml\Modulename\Edit\Tab\Form.php Find the function protected function_prepareForm() and add the following after And add this code to display wysiwyg editor: Read more…
You can resize image with fixed height and variable width. Or, you can resize with fixed width and variable height. Following code shows how you do it in Magento. 1. Fixed width of 700px 2.Fixed height of 700px 3. The Read more…
The following script will select yhe first opetion of each simple product: 1. Add the following function in the bottom script just after: app/design/frontend/rwd/hubsan/template/catalog/product/view/type/options/configurable.phtml And add the following script just after to trigger fire click on selected simple product: