Skip to main content

Posts

Showing posts with the label Magento

Creating a new theme in magento

How to create a design theme: Warning: DO NOT DUPLICATE AN EXISTING THEME. Yes, this would make it slightly easier to create your new theme, but it will also make your new theme horribly incompatible with Magento updates. Many designers (including some major Magento design companies) did this for a long time, and left the Magento world in a bit of a mess when 1.4 was released. Instead, use the “least impact” approach, outlined in this article to maximize compatibility with updates. The first step will be creating the folders for the new theme. We’ll call your new design new_theme. Create the following folders: New folders: 1. /app/design/frontend/default/new_theme/ - our new theme 2. /app/design/frontend/default/new_theme/layout 3. /app/design/frontend/default/new_theme/templates 4. /skin/frontend/default/new_theme/ - our new skins folder 5. /skin/frontend/default/new_theme/css/ 6. /skin/frontend/default/new_theme/images/ Also, create the following

magento not able to login in crome on localhost

Problem : Do you know why this problem occures ? The problem occurs because magneto could not store cookies. We run it as localhost and localhost is not true domain but to store cookies we need a domain. That’s why login stops without saying any word. Solution : 1:   http://127.0.0.1/magento/index.php/admin it will work. instead of  http://localhost/magento/index.php/admin it will work. then go to admin system ->web -> web_browser_capabilities and select no-no and then save its and you are doen.(during this you have to change url manual loCALHOST TO 127.0.0.1) 2: if you great coader then try this... Second Solution Go to  app/code/core/Mage/Core/Model/Session/Abstract/Varien.php  file within your magento directory. Find the code: session_set_cookie_params( $this->getCookie()->getLifetime(), $this->getCookie()->getPath(), $this->getCookie()->getDomain(), $this->getCookie()->isSecure(), $this->getCookie()->getHttponly() ); an

How to Set Up Multiple Currency in Magento shop ?

1:Go to Admin ->System -> currency set                     add select currency  2: Go to Admin->System->Manage Currency                          and Import and Don't forget to save currency rate 3: Add this line to you layout file: <block type="directory/currency" name="store_currency_selector" as="store_currency_selector" template="directory/currency.phtml"/> 4: And go to directory ->currency. phtml   and replace all   with this code or make change  <?php if($this->getCurrencyCount() > 1): ?> <span>Select Currency:</span> <select name="custom-currency-selector" id="custom-currency-selector"> <?php foreach ($this->getCurrencies() as $_code => $_name): ?>     <option value="<?php echo $this->getSwitchCurrencyUrl($_code)?>"         <?php if($_code == $this->getCurrentCurrencyCode()): ?>             selected="