Tuesday, 9 October 2012

how to show pinterest prodcut

<a href="http://pinterest.com/pin/create/button/?url=http%3A%2F%2F192.168.1.50%2Fabid%2FGrindz%2F&media=<?php echo  $this->helper('catalog/image')->init($_product, 'image') ; ?>" class="pin-it-button" count-layout="horizontal"><img border="0" src="//assets.pinterest.com/images/PinExt.png" title="Pin It" /></a>
<script type="text/javascript" src="//assets.pinterest.com/js/pinit.js"></script>


<script type="text/javascript" src="//assets.pinterest.com/js/pinit.js"></script>

Thursday, 13 September 2012

PHP Howto Read IP address of remote computer/browser

 <?
$ip= $REMOTE_ADDR;
echo "<br> Your IP address : " . GetHostByName($ip) ;
echo "<br> Your hostname : " . $_SERVER['SERVER_NAME'];
?><br />
 <?
$ip= $REMOTE_ADDR;
echo "<br> Your IP address : " . GetHostByName($ip) ;
echo "<br> Your hostname : " . $_SERVER['SERVER_NAME'];
?><br />

Important link in magento

************please select name change in drop down**********
http://stackoverflow.com/questions/5163106/change-remove-please-select-message-from-custom-option-dropdown-on-magento
************************************************************************

********************************** Custom one page checkout******************
1=http://nightlyworker.posterous.com/magento-skip-shipping-and-payment-method-step
2=http://www.magentocommerce.com/boards/viewthread/19125/
3=http://winvinod.blogspot.com/2011/06/skip-shipping-method-from-onepage.html
******************************************************************************************

***************************tab content link********************************
http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm
*****************************************************************************

**********************wishlist link************************************************************
<action method="addLink" translate="label title" module="wishlist" ifconfig="wishlist/general/active"><name>My Wishlist</name><path>wishlist/</path><label>My Wishlist</label><prepare/><urlParams/><position>30</position><li/><a>class="top-link-wishlist
s"</a></action>
********************************** window location*********************
print("<script>window.location='index.php'</script>");
*****************************************************************************************
***********************************all exention link**********************
http://visionwidget.com/inspiration/web/374-free-magento-extensions.html
********************************************************************************
********************************satic block call******************
  <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('contact_no')->toHtml(); ?>
******************************************************************************************
***********************staic block call by Xml*******************
<block type="cms/block" name="suggest_product">
        <action method="setBlockId"><block_id>bestseller</block_id></action>
    </block>
*************************************************************************************

********************************category show with image**************************
http://hridaya.com.np/display-categories-with-images-on-homepage-in-magento/
*********************************************************************************
*******************************left catgory menu************************
http://www.magentocommerce.com/magento-connect/sidebar-navigation-menu-4554.html
*******************************************************************************
**********************************particuler category show by id***************
http://stackoverflow.com/questions/5889593/magento-list-sub-categories-of-a-specific-parent-category-as-links
********************************Currency change with flag********************************
http://www.magentocommerce.com/magento-connect/magento-easy-catalog-images.html
*******************************************************************************
************************particuler category product show***************************
http://blog.magikcommerce.com/how-to-display-best-selling-products-on-magento-store-home-page/
*************************************************************************
***************************** banner extension**************************
http://www.magentocommerce.com/magento-connect/simple-banners.html
http://www.magentocommerce.com/magento-connect/multiple-banner-extension.html
http://www.magentocommerce.com/magento-connect/banner-slider-3912.html
***********************************************************************************
******************************socail link extension***************************
http://www.magentocommerce.com/magento-connect/Zizio/extension/6378/ziziogroupsale
******************************** facebook like button*******************8
http://www.magentocommerce.com/magento-connect/facebook-like-button.html
*********************************************************************
**********************order delete exention*******************
http://www.silvertouch.com/MagentoExtensions/
*********************************************************************
********************************order comment extension**********************
http://www.magentocommerce.com/magento-connect/catalog/product/view/id/10860/
*********************************************************************************
*******************************webshop martix rate***************************
http://www.magentocommerce.com/magento-connect/webshopapps-matrixrate-1-multiple-table-rates-extension-certified-bug-free.html
*****************************************************************************
*************************************best selling categoty wise*****************************************
http://www.magentocommerce.com/magento-connect/bnm-best-selling-products-new-products-and-most-viewed-products.html
http://www.magentocommerce.com/magento-connect/bestseller-selected-on-category-id.html
******************************************************************************************************
************************how to import and export category in magnto**********
http://www.bluehorse.in/amit-bera/bluehorse-stuffs/export-and-import-categories-in-magento/
http://blog.srmklive.com/2011/03/21/how-to-export-categoriessubcategories-from-x-cart-to-magento/
******************************************************************************
**********************************multiple image upload*****************
http://prattski.com/2009/10/09/magento-import-multiple-images-for-products-module/
http://www.consofas.com/blog/import-products-into-magento-with-multiple-images/
******************************************************************************
***************************how to add custom filed in one page in magento*********
http://indiestechtips.wordpress.com/2011/07/30/how-to-add-custom-field-in-the-billing-and-shipping-address-of-onepage-checkout-in-magento/
*************************************************************************8
*********************************imoprtant extension link**************
http://www.magebuzz.com/magento-extensions.html?p=2
http://www.magentocommerce.com/magento-connect/webforms-community-edition.html
************************************************************
***************************how to add custom moudlein magento*********
http://www.webspeaks.in/2010/08/create-your-first-adminbackend-module.html
**********************************************************
******************************facebook all in one*******
http://www.magentocommerce.com/magento-connect/magazento-all-in-one-facebook-widgets-integration.html
********************************************************************
**********************most view  product slider************
http://www.magentocommerce.com/magento-connect/product-slider-9077.html
**********************************************************************************
***************************select box convert ul li******************
http://stackoverflow.com/questions/6797684/convert-ul-to-select-w-optgroups
**************************************************************
*******************************category search link*******************
http://www.geekyplugins.com/magento/catalog-category-search.dot
***********************************************************************
***************************************price countdown******************
http://www.magentocommerce.com/magento-connect/price-countdown.html
********************************************************************************
************************************cart drop down extenion***********************
http://www.magentocommerce.com/magento-connect/sharplogicians-cart-drop-down-3832.html
*****************************************************************************************
******************************catalog search extension**************************
http://www.magentocommerce.com/magento-connect/catalog-search-refinement.html
*****************************************************************************************88

Tuesday, 28 August 2012

Pop up box by css


<script type="text/javascript">
function apply()
{
    if(document.getElementById("apply"))
    {
     document.getElementById("popupform").style.display="block";
    }
    else
    {
    document.getElementById("popupform").style.display="none";
    }
}
 </script>


<style type="text/css">

.blankdiv{background-color:#000;
position:fixed;
z-index: 9001;
top:0px; height:100%;
left:0px;
width:100%; opacity: 0.65;
filter:alpha(opacity=65);}

 <style type="text/css">
#popupform{
height: 100%;
left: 0;
padding: 15px;
position: fixed;
top: 0;
width:97%;
z-index: 10001;
}
  
#popupform .applyform{position:relative; overflow:auto;
background-color:#fff;
width:670px;
height:500px;  margin:5% auto auto auto;
z-index: 9002; padding:10px; border:10px solid #7F3814; }


#pclose{background-image: url("images/close.png");
    background-position: left top;
    background-repeat: no-repeat;
    cursor: pointer;
    height: 25px;
    margin: 5% auto -6%;
    position: relative;
    right: -348px;
    text-indent: -9999px;
    top: 0;
    width: 25px;
    z-index: 9999;}

  

</style>


<p>&nbsp;</p>
<div id="popupform" style="display: none;">
<div class="blankdiv">&nbsp;</div>
<div class="applyform">
<div class="pop-title">
<h3>Shipping Details</h3>
<div id="pclose" onclick="javascript:document.getElementById('popupform').style.display='none';">close</div>
</div>
<div id="contactarea">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec orci massa, elementum non euismod vitae, dictum eu augue. Suspendisse sodales, risus eu bibendum hendrerit, leo metus pharetra velit, eu pellentesque dui nunc at tortor. Integer id purus libero, nec pulvinar ipsum. Nam eu mattis neque. Morbi dignissim laoreet dui, id imperdiet dui fermentum sed. Vestibulum leo lacus, rhoncus sed faucibus quis, hendrerit vitae urna. Nulla id arcu eget elit laoreet euismod in at orci. In hac habitasse platea dictumst. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Sed vitae quam nisi. Integer placerat tincidunt imperdiet. Phasellus posuere ligula vel mauris commodo semper.<br/>

Quisque lacinia quam in diam molestie cursus. Quisque elit leo, mollis vitae rhoncus et, sagittis eget elit. Aenean et ipsum felis, vulputate elementum libero. Integer tellus est, viverra ac dignissim nec, gravida ut metus. In sit amet turpis sem. Nullam a orci nec sem ultricies varius. Phasellus feugiat aliquet dolor id viverra. Pellentesque id porta justo. Duis enim risus, sodales in congue quis, sollicitudin et mi.
</div>
</div>
</div>

<a href="#" onclick="javascript:document.getElementById('popupform').style.display='block';"> test</a>
<!--<img onclick="javascript:document.getElementById('popupform').style.display='block';" src="{{media url="free-fast-shipping.png"}}" alt="" />-->

Thursday, 23 August 2012

Cart Drop Down extension link in magnto

http://www.magentocommerce.com/magento-connect/sharplogicians-cart-drop-down-3832.html

Wednesday, 25 July 2012

Magento Bestseller Products Extension

1=  http://www.magentocommerce.com/magento-connect/bestseller-products-7401.html
2= http://www.magentocommerce.com/magento-connect/bestseller-selected-on-category-id.html
3= http://www.magentocommerce.com/magento-connect/bnm-best-selling-products-new-products-and-most-viewed-products.html

Tuesday, 24 July 2012

Friday, 13 July 2012

Enhanced Catalog Product Grid – Custom Attribute Filter

http://inchoo.net/ecommerce/magento/enhanced-catalog-product-grid-custom-attribute-filter/

Thursday, 28 June 2012

How to show Newsletter in footer of a Magento

To show Newsletter in footer go to app/design/frontend/default/YourTheme/layout/newsletter.xml and add the following lines in default

<reference name="footer">
<block type="newsletter/subscribe" name="footer.newsletter" template="newsletter/subscribe.phtml"/>
  </reference>

and add the following line in app/design/frontend/default/YourTheme/template/page/html/footer.phtml

<?php echo $this->getChildHtml('footer.newsletter'); ?>

Wednesday, 27 June 2012

how to send Email in contact from

 make mail.php

<?php echo $_REQUEST['msg']; ?>

 <form method='post' action='mailform.php'>
   Email: <input name='email' type='text' /><br />
   Name: <input name='name' type='text' /><br />
   Telephone: <input name='telephone' type='text' /><br />
  Subject: <input name='subject' type='text' /><br />
  Message:<br />
  <textarea name='message' rows='15' cols='40'>
  </textarea><br />
  <input type='submit' />
  </form>




make  mailform.php


 <?php
$mail_to="abid@ptiwebtech.com";
$sub="Contact Information";
$msg="<table border='1' cellspacing='5' cellpadding='5' align='center' width='600px'>
<tr><td colspan='5' align='center'>Contact Information</td></tr>

<tr>
<td align='center'>Name</td>
<td>". $_REQUEST['name']."</td>
</tr>

<tr>
<td align='center'>E-Mail</td>
<td>".$_REQUEST['email']."</td>
</tr>

<tr>
<td align='center'>Message</td>
<td>".$_REQUEST['message']."</td>
</tr>
<tr>
<td align='center'>telephone</td>
<td>".$_REQUEST['message']."</td>
</tr>

 
 

</table>";
  $headers = "MIME-Version: 1.0" . "\r\n";
  $headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n";
  $headers .="From: ".$_REQUEST['email'];

 ini_set("SMTP","ptiwebtech.com");
 ini_set("smtp_port","25");


mail($mail_to,$sub,$msg,$headers);
 $msg='thank for contact';

print("<script>window.location='mail.php?msg=$msg'</script>");
//info@essveecollection.com
 ?>


 

Thursday, 14 June 2012

import link

category show with drop down(left or right side)

http://www.magentocommerce.com/magento-connect/sidebar-navigation-menu-4554.html

Turning On and Off Magento's Default Blocks

http://www.magentocommerce.com/knowledge-base/entry/turning-on-off-magentos-content-blocks