• Email marketing

    5 best email marketing software.

  • Enter Slide 2 Title

    This is slide 2 description.

  • Enter Slide 3 Title

    This is slide 3 description.

  • Enter Slide 4 Title

    This is slide 4 description.

  • Enter Slide 5 Title

    This is slide 5 description.

  • Enter Slide 6 Title

    This is slide 6 description.

  • Enter Slide 7 Title

    This is slide 7 description.

  • Enter Slide 8 Title

    This is slide 8 description.

  • Enter Slide 9 Title

    This is slide 9 description.

Friday, June 24, 2016

Magento 1.9.2 order confirmation email is not sent




ADD

php -f /home/yourname/public_html/domain/cron.php at Cpanel

 put this line at my CRON.PHP file  ...  AROUND LINE 47..  after  this line

$isShellDisabled = (stripos(PHP_OS, 'win') === false) ? $isShellDisabled : true;



CODE:


$isShellDisabled = is_array($disabledFuncs) ? in_array('shell_exec', $disabledFuncs) : true;
$isShellDisabled = (stripos(PHP_OS, 'win') === false) ? $isShellDisabled : true;

/* MODIFICACION */
$isShellDisabled = true;        /* <!-------  this line!!! */

Saturday, March 26, 2016

Hide Magento Attributes with no Value


Hide Magento Attributes with no Value

Sometimes we come across a store that wants to have many different product attributes, but they only want the default attribute set. This means that every product will have lets say 10+ options that sometimes don’t apply to certain products. For instance a piece of clothing might need a size attribute, but a piece of furniture doesn’t. Because the store uses the same attribute sets for each products the empty size attribute will show up like this:

Size:N/A
This is ofcourse very confusing for customers, so the better option would be to hide attribute value’s that are empty. This can be done with a small piece of code. Find and open the attributes.phtml file. This file can be found here:

/app/design/frontend/default/[theme name]/template/catalog/product/view/attribute.phtml

Open the file and search for the following lines:

   
        htmlEscape($this->__($_data['label'])) ?>
        productAttribute($_product, $_data['value'], $_data['code']) ?>
   

Replace the entire foreach loop with the following lines of code:

    getResource()->getAttribute($_data['code']);
    if (!is_null($_product->getData($_attribute->getAttributeCode())) && ((string)$_attribute->getFrontend()->getValue($_product) != '')) { ?>
   
        htmlEscape($this->__($_data['label'])) ?>
        productAttribute($_product, $_data['value'], $_data['code']) ?>
   
   


Thats it! Empty attributes will now be hidden from your product pages. Don’t forget to refresh your cache to see the changes.

Source: http://codingbasics.net/hide-magento-attributes-value/

Tuesday, March 15, 2016

Magento 1.9.2 Unknown cipher in list: TLSv1


For
"CENTOS PHP 5.4.43 cURL 7.19.7"
In downloader/lib/Mage/HTTP/Client/Curl.php, try changing:
$this->curlOption(CURLOPT_SSL_CIPHER_LIST, 'TLSv1');
to
$this->curlOption(CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1);

Thursday, January 28, 2016

Magento Connect installation problem 1.9.2

Magento Connect installation problem 1.9.2

Unknown cipher in list: TLSv1

Solution:

In file downloader/lib/Mage/HTTP/Client/Curl.php I changed the code
$this->curlOption(CURLOPT_SSL_CIPHER_LIST, 'TLSv1'); 
to
if(isset($var)){

   $this->curlOption(CURLOPT_SSL_CIPHER_LIST, 'TLSv1');

}
and problem will be solved for now.

Friday, June 28, 2013

Magento change Multiple select to dropdown with select all option in Advanced search

How to change Multiple select to dropdown with select all option in Advanced search - Magento.


Simply change statement in ... Mage/Block/Advanced/Form.php around line 207 (Magento 1.7)
if (is_array($options) && count($options)>2)
to any number higher than the number of your attribute options:
if (is_array($options) && count($options)>10000000)
Example:
Original code:
if (is_array($options) && count($options)>2{
            $extra 
'multiple="multiple" size="4"';
            
$name.= '[]';
        
}
        
else {
            array_unshift
($options, array('value'=>'''label'=>Mage::helper('catalogsearch')->__('All')));
        
}
My code:
if (is_array($options) && count($options)>50{
            $extra 
='multiple="multiple" size="4"';
            
$name.= '[]';
        
}
        
else {
            array_unshift
($options, array('value'=>'''label'=>Mage::helper('catalogsearch')->__('Select all')));
        
}
My code, with dropdown option:
if (is_array($options) && count($options)>50{
            $extra 
= array();
            
$name.= '[]';
        
}
        
else {
            array_unshift
($options, array('value'=>'''label'=>Mage::helper('catalogsearch')->__('Select all')));
        
}

Saturday, January 12, 2013

Dodajanje jezika (prevoda) na Magento stran.

Postopek dodajanja novega jezika na magento stran na kratko.


V nekaj korakih dodate in ustvarite dodaten jezik na svoji strani.

  1. Preko Magento Connect v adminu namestite izbran jezik. 
  2. Ko je nameščeno (odjava iz admina, ponovna prijava in clear cache je standardni postopek) izberete System -> Manage Stores -> Create store view. 
  3. Izberete ustrezen Store ( Main Website store najbolj pogosto ) Dodate Name, Code in Status date Enabled.
  4. Sedaj izberete Configuration -> Current Configuration Scope (izberete Name, ki ste ga v prejšnjem koraku ustvarili) in na desni strani pod “Locale options” izberete jezik, nameščen v prvem koraku. 
 To je to. Na strani se mora pojaviti izbirnik za izbiro jezika. Ne pozabite klikniti Clear cache :)

Monday, November 26, 2012

Create xml sitemap for Magento store


Quick quide to create a sitemap.xml for Magento store


This is quite simple but necessery if you want to connect your magento store with webmaster tools.

  • Log in to Magento Admin
  • Go to Catalog > Google Sitemap in the admin
  • Click ‘Add Sitemap’
  • Enter these details:
    filename=sitemap.xml
    path=/


  • Click Save
  • To finish and actually create sitemap, you have to click Generate.

Thats it. Now you have your magento sitemap.xml which you can use in your webmaster tools.