How to Search working in Magento?

Hi go to Admin.

1. Select Manage Attributes.
2. Select all Product Attributes.
3. Set Each Attribute Search option visible.
4. Select Advanced Search and Search option is YES. This is below Search in Front End Section have it.

that’s all. 🙂

How to View Product in magento?

1. Go to Catalog
2. Create Product or Manage Product
3. Select your Correct Product Attributes
4. Go to Inventory => Select Stock Availability => Select In Stock

Other information what you want add here.

That is All 🙂

http://www.magentocommerce.com/wiki/4_-_themes_and_template_customization/cms_and_home_page/add_featured_products_to_home_page

http://www.magentocommerce.com/wiki/4_-_themes_and_template_customization/catalog/add-attributes-to-product-grid

http://www.siteground.com/tutorials/magento/magento_product.htm

How to Display Static Blocks in Particular Category from Magento?

1. Go To Admin Panel
2. Click Catalog => Select Manage Categories
3. Add Categorie OR Edit Categorie
4. Select Display Settings
5. Choose Your Display Mode (Static Block only or what you want)
6. Choose CMS Block Name
And other details what you want you select and your faviour.

that’s all 🙂

How view all product in magento?

http://www.magentocommerce.com/boards/viewthread/26662/

http://www.magentocommerce.com/wiki/3_-_store_setup_and_management/catalog/how_the_store_view_affects_categories_and_products

How to automatically redirect store view ?

http://www.magentocommerce.com/wiki/multi-store_set_up/how_to_automatically_redirect_to_a_store_view_based_on_the_browser_language

How to chnage qTranslate language switcher?

You put below 1 line query only in your page. Other queries you want use your style.

1. qtrans_generateLanguageSelectCode(‘dropdown’);

2. How to get current qTranslate language : qtrans_getLanguage();

3. How to avoid home link reset the current language : just put this line “bloginfo( ‘url’ );” in link part.

You find this line echo "<li $current>
<a href='".get_settings('home')."'>Home</a></li>"; 
and remove the href quotation part. then you put above line you can use very nice.

4.  Create dropdown fields for each language
<?php
foreach(qtrans_getSortedLanguages() as $language) {
echo $language;
}

?>

5. qtranslate language convert url :  <?php echo qtrans_convertURL($url, $lang); ?>

🙂 that is all. Enjoy…

thanks for all google users. I found lot of time to spent this. I search more keyword then i find this above topics. So, again i tell you thanks for all google users.

How to install IDEAL Payment extension in Magento 1.5.1?

Go Below URL :

http://www.magentocommerce.com/magento-connect/Magento+Core/extension/159/ideal-extension

Then You go Magento Connect Manager ->
Again You login same admin user & password.

Now go setting  –> There you change Preferred State to “beta”.

In the settings tab of the magentoconnect manager set the preferred state to: Beta and the install wil go.

then you go to install that is working well.

That’s all. 🙂

How to configure gmail for WP?

Gmail / Google Apps
To send email via Gmail or Google Apps, use these settings:

Mailer: SMTP
SMTP Host: smtp.gmail.com
SMTP Port: 465
Encryption: SSL
Authentication: Yes
Username: your full gmail address
Password: your mail password

How to reduce expert length in WP?

This is reduce all Expert length in your word press :
add_filter(‘excerpt_length’, ‘my_excerpt_length’);
function my_excerpt_length($length) {
return 22;
}

This is reduce your categorie wise Expert length in your word press :
I getting below code for reference this site : http://www.wprecipes.com/wordpress-tip-change-excerpt-length-depending-of-the-category
add_filter(‘excerpt_length’, ‘my_excerpt_length’);
function my_excerpt_length($length) {
if(in_category(14)) {
return 13;
} else {
return 60;
}
}

thanks for above categories wise code.

🙂

another one i finding… below site
http://themehybrid.com/support/topic/correct-method-to-reduce-length-of-teaser
I just copied and inform to all. Hi above site guy thanks for your code.
function excerpt($num) {
$limit = $num+1;
$excerpt = explode(‘ ‘, get_the_excerpt(), $limit);
array_pop($excerpt);
$excerpt = implode(” “,$excerpt).”…”;
echo $excerpt;
}

function content($num) {
$theContent = get_the_content();
$output = preg_replace(‘/]+./’,”, $theContent);
$limit = $num+1;
$content = explode(‘ ‘, $output, $limit);
array_pop($content);
$content = implode(” “,$content).”…”;
echo $content;
}
——————————————————————————————————-

function limit_content($max_char, $more_link_text = ‘Read More »’, $stripteaser = 0, $more_file = ”) {
if(is_numeric($max_char) &amp;&amp; $max_char &gt; 1) :
$max_char = (int)$max_char;
$title = get_the_title();
$title = apply_filters(‘the_title’, $title);
$title = strip_tags($title);
$title = strlen($title);
$max_char = $max_char – $title;
$content = get_the_excerpt($more_link_text, $stripteaser, $more_file);
$content = apply_filters(‘the_excerpt’, $content);
$content = str_replace(‘]]&gt;’, ‘]]&gt;’, $content);
$content = strip_tags($content);
$char = $content;
if((strlen($char) &gt; $max_char) &amp;&amp; ($espacio = strpos($char, ” “, $max_char))) :
$content = substr($content, 0, $espacio); $content = $content;
echo ”
<p>”;
echo $content; echo “…”;
if($more_link_text) :
echo ” <a title=”&quot;; the_title(); echo &quot;” href=”&quot;; the_permalink(); echo &quot;”>”.$more_link_text.”</a>”;
endif;
echo “</p>
“;
elseif(strlen($_GET[‘p’]) &gt; 0) :
echo ”
<p>”;
echo $content;
if($more_link_text) :
echo ” <a title=”&quot;; the_title(); echo &quot;” href=”&quot;; the_permalink(); echo &quot;”>”.__(‘Read More »’,’options’).”</a>”;
endif;
echo “</p>
“;
else :
echo ”
<p>”;
echo $content;
if($more_link_text) :
echo ” <a title=”&quot;; the_title(); echo &quot;” href=”&quot;; the_permalink(); echo &quot;”>”.__(‘Read More »’,’options’).”</a>”;
endif;
echo “</p>
“;
endif;
endif;
}

thanks 🙂
http://themehybrid.com/support/topic/correct-method-to-reduce-length-of-teaser

© 2020 Spirituality