Magento
Magento: send email using email template file
1. in your config.xml define the template before end globel tag like: 2. app/locale/en_US/template/email/warrantyclaim/status_changed.html 3. In your controler file: 4.In controller create the function
Magento
Magento: Fancybox popup using ajax with dynamic content.
1. Call the controller function from phtml page like as: 2. On the phtml page add the following script 3. In Controller page define the function: 4. create a phtml file for popup:
Magento
Magento: Custom page with configurable option and update price based on option and also update reward points
1.app/design/frontend/smartwave/porto/template/apparel/apparel.phtml 2. /var/www/html/vgod/app/design/frontend/smartwave/porto/template/catalog/product/view/type/configurable_category_apparel.phtml 3. vgod/js/configurable_list.js if(typeof Inchoo_Product ==’undefined’) { var Inchoo_Product = {}; } /**************************** CONFIGURABLE PRODUCT **************************/ Inchoo_Product.Config = Class.create(); Inchoo_Product.Config.prototype = { initialize: function(config){ this.config = config; this.taxConfig = this.config.taxConfig; var settingsClassToSelect = ‘.super-attribute-select_’+this.config.productId; this.settings = $$(settingsClassToSelect); this.state = new Hash(); this.priceTemplate = new Template(this.config.template); this.prices = config.prices; Read more…
Extension
Magento:: free gift product module
app/code/community/Techievolve/Freeproduct/etc/config.xml app/code/community/Techievolve/Freeproduct/Exception/InvalidQuantity.php app/code/community/Techievolve/Freeproduct/Exception/ProductNotFound.php app/code/community/Techievolve/Freeproduct/Exception/ProductNotSalable.php app/code/community/Techievolve/Freeproduct/Helper/Data.php app/code/community/Techievolve/Freeproduct/Model/Consts.php app/code/community/Techievolve/Freeproduct/Model/Observer.php app/code/community/Techievolve/Freeproduct/sql/freeproduct_setup/mysql4-install-0.1.0.php app/etc/modules/Techievolve_Freeproduct.xml app/design/frontend/smartwave/porto/layout/freeproduct.xml app/design/frontend/smartwave/porto/template/freeproduct/checkout/cart/item/default.phtml
Magento
Magento: Image Resize functionality
1. Add the following function in your Helper file 2. In your template file call image src :
Magento
Magento:: Override Block File with your custom module
1. app/etc/modules/Techievolve_Catalog.xml 2. app/code/local/Techievolve/Catalog/etc/config.xml 3.app/code/local/Techievolve/Catalog/Block/Product/View/Type/Configurable.php
Magento
Magento:: Array to Varien Object
Block function how to set data: Block .phtml file how to get data