My Blog

August 23, 2013

Save XML from url to file

set_time_limit(0); $fp = fopen (‘./products.xml’, ‘w+’); $ch = curl_init(‘http://siteurl……’);// or any url you can pass which gives you the xml curl_setopt($ch, CURLOPT_TIMEOUT, 50); curl_setopt($ch, CURLOPT_FILE, $fp); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_exec($ch); curl_close($ch); fclose($fp);
August 12, 2013

Wrong Content Type.- DHL internetional potencial bug

Goto : app > code > core > Mage  > Usa > etc >Config.xml   Add Below code at    <carriers> <dhlint> : <content_type>D</content_type>
July 22, 2013

Magento. Removing white image background

<div> <a href=”<?php echo $_product->getProductUrl() ?>” title=”<?php echo $this->stripTags($this->getImageLabel($_product, ‘small_image’), null, true) ?>”><img src=”<?php echo $this->helper(‘catalog/image’)->init($_product, ‘small_image’)->constrainOnly(TRUE)->keepAspectRatio(TRUE)->keepFrame(FALSE)->resize(210); ?>” width=”164″ height=”210″ alt=”<?php echo $this->stripTags($this->getImageLabel($_product, ‘small_image’), null, true) […]
July 1, 2013

CodeIgniter Framework Based CMS

Link : http://ionizecms.com/
June 27, 2013

How to Set default Stock Availability : in Stock in Magento Admin

For Stock: insert into core_config_data values ( null, ‘default’, 0, ‘cataloginventory/item_options/is_in_stock’, 1 ); For Quntity: insert into core_config_data values ( null, ‘default’, 0, ‘cataloginventory/item_options/qty’, 10 );
June 17, 2013

How to display “time ago” on your WordPress

The first thing to do is to create the function. To do so, paste the following into your functions.php file: function time_ago( $type = ‘post’ ) […]
June 11, 2013

How to get category name from ID and category URL from ID in WordPress

Get category name from ID: get_cat_name($catid) Get category URL from ID: get_category_link($catid) Get Site URL in WordPress : get_site_url()
January 9, 2013

Xampp Internal error – xampp

Xampp : Internal error: Error retrieving pid file logs/httpd.pid [localhost~]# /opt/lampp/lampp stop Stopping XAMPP for Linux 1.7.7… XAMPP: Stopping Apache with SSL… (20014)Internal error: Error retrieving […]
December 25, 2012

Move prestashop to new domain

Update your database go to “PHPMyAdmin” and log into your PrestaShop database. Go to the table “ps_configuration” and locate the records for PS_SHOP_DOMAIN and PS_SHOP_DOMAIN_SSL. Change […]
0
Contact us

We are glad that you preferred to contact us. Please fill our short form and one of our friendly team members will contact you back.


    X
    Request a Quote