Profile cover photo
Profile photo
Dhirendra Rathod
137 followers
137 followers
About
Posts

Post has attachment
How to get All Sub Category in Magento using Parent Category Id ?
<?php require_once 'app/Mage.php'; set_time_limit(0); error_reporting(E_ALL); ini_set('display_errors', 1); ini_set('memory_limit', '1024M'); ini_set('max_execution_time', 12000); Mage::app(); Mage::app()>getStore()>setId(Mage_Core_Model_App::ADMIN_STORE_...
Add a comment...

Post has attachment
How to remove woocommerce breadcrumb from product page ?
Add the following line of code to the WordPress theme functions.php file: remove_action( 'woocommerce_before_main_content','woocommerce_breadcrumb', 20, 0); add_action('template_redirect', 'remove_shop_breadcrumbs' ); function remove_shop_breadcrumbs(){ if ...
Add a comment...

Post has attachment
How to create category in magento with tree ?
<?php require_once '../app/Mage.php'; set_time_limit(0); ini_set('memory_limit','1024M'); Mage::app(); Mage::app()>getStore()>setId(Mage_Core_Model_App::ADMIN_STORE_ID); $array = array("Cat-A > Cat-B > Cat-C > Cat-G","Cat-D > Cat-E > Cat-F"); for($i=0;$i<...
Add a comment...

Post has attachment
**
// HTML Code <div class="alphabet">Search:     <span class="clear active alphasearch open" id="all">All</span>     <span>         <span class="alphasearch" id="A">A</span>     </span>     <span>         <span class="alphasearch" id="B">B</span>     </span> ...
Add a comment...

Post has attachment
How to remove all product image in magento ?
<?php require_once '../app/Mage.php'; set_time_limit(0); ini_set('memory_limit','1024M'); umask(0); Mage::app('admin'); Mage::setIsDeveloperMode(true); $productCollection=Mage::getResourceModel('catalog/product_collection'); foreach($productCollection as $p...
Add a comment...

Post has attachment
How to get visitor country name,currency rate,currency symbol in PHP
<?php $ip = $_SERVER['REMOTE_ADDR']; $dataArray = json_decode(file_get_contents("http://www.geoplugin.net/json.gp?ip=".$ip)); echo "<pre>"; print_r($dataArray); echo "You are from: ".$dataArray->geoplugin_countryName; ?> Output : stdClass Object
(
[geop...
Add a comment...

Post has attachment
Base url without index.php in magento
<?php             echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB); ?>
Add a comment...

Post has attachment
How to Remove index.php in codeigniter ?
Step: 1   Open the file  config.php --> Find the below code in file $config [ 'index_page' ] = "index.php" --> Remove index.php $config [ 'index_page' ] = "" // Find the below code in file $config [ 'uri_protocol' ] = "AUTO" // Replace it as $config [ 'uri_...
Add a comment...

Post has attachment
How to add images for products in magento pragmatically ?
Use can upload Base-Image, Small-Image, Thumbnail-Image, and Image-Gallery for the product using CSV file in Magento programmatically. ===================================================================== <?php require_once '../app/Mage.php'; set_time_limit...
Add a comment...

Post has attachment
How to get all images of particular product in magento pragmatically ?
<?php require_once '../app/Mage.php'; set_time_limit(1); ini_set('memory_limit','1024M'); ini_set('max_execution_time', 3000); Mage::app(); Mage::app()>getStore()>setId(Mage_Core_Model_App::ADMIN_STORE_ID); // Get Product SKU using csv file $file_handle =...
Add a comment...
Wait while more posts are being loaded