Smooth Scrolling On Anchor Tag In HTML

$(function() { $('a:not()').click(function() { if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) { var target = $(this.hash); target = target.length ? target : $(''); if (target.length) { $('html,body').animate({ scrollTop: target.offset().top…

Programmatically importing products into Magento

For Import Product Pragmatically In Magento¬†¬†(Simple CSV) 2 <?php set_time_limit(0); ini_set('max_execution_time', 0); ini_set('memory_limit', '-1'); include_once "app/Mage.php"; //include_once "downloader/Mage/Controller.php"; Mage::init(); $app = Mage::app('default'); $row = 0; if (($handle = fopen("products/bakery-dairy/test.csv", "r"))…