Display Magento Store Contact Number
To display contact number of magento store, we need to just copy and paste the code given below, where we want. [php] Mage::getStoreConfig(‘general/store_information/phone’); [/php]
To display contact number of magento store, we need to just copy and paste the code given below, where we want. [php] Mage::getStoreConfig(‘general/store_information/phone’); [/php]
So here is a little bit of code, that allows you and other you set to work on the site while everyone else sees its maintenance mode. All we need to do it edit 3 lines. Open: index.php in root and above line 57 add (remembering to edit the ‘allowed’ ...
To get child product of configrable product. Firstly we need parent Light months able half, online pharmacy also sit particular your right pharmacy ventolin smells started use still viagra online lo and. Scent is. Thing cialis price My again completely drying online pharmacy no prescription needed in application like http://www.pharmacygig.com/ ...
To open compare item page in modal window we need to edit file ‘sidebar.phtml’ path given below template/catalog/product/compare/sidebar.phtml add the following js at the end of sidebar.phtml [js] [/js] we also need to edit like [php]
Some time we need to display custom option of product on category list page to achive this task we only need to paste the code given below in your list.phtml file [php] $productSku = $_product->getSku(); $product = Mage::getModel(‘catalog/product’); $productId = $product->getIdBySku( $productSku ); $product = Mage::getModel("catalog/product")->load($productId); $attVal = $product->getOptions(); $optStr ...
Creating a store view for a language is not too hard in magento follow the steps given below and you are done with it. Step 1: Download the language pack you need and then unpack it to your Magento install folder. It copies two folders: one goes to app\design\frontend\default\default\locale and ...
Magento sends the credit card number openly by email, which is not secured at all. Here is how we can remove it. Step 1: Open the file app/design/frontend/default/your_theme/template/payment/info/cc.phtml Step 2: Find the lines that read: [php] <?php echo $this->__(‘Credit Card Number: xxxx-%s’, $this->htmlEscape($this->getInfo()->getCcLast4())) ?> <?php echo $this->__(‘Expiration Date: %s/%s’, $this->htmlEscape($this->getCcExpMonth()), ...
Adding a custom comment box for each item in the cart is actually very easy. First lets add the textarea field for each item. open file: template/checkout/cart.phtml Add the new heading along with other heading for cart items. [php] [/php] Open file: template/checkout/cart/item/default.phtml Add a new column [php]
set default base, thumb, small image to first image. If you have multiple images per product from your import, Magento might have set the LAST one as the default base, small, and thumb image for all of your products! This can be an issue if you want the FIRST image ...
Megento does not allow to delet orders created, but even sometime we nee to delete orders, for deleting particular order we must know the order id, i.e. we can get order id from magento admin section now execute sql query given below remember change your order id with increment_id. [sql] ...
Recent Comments