Very simple function to count matching values of a array. Output: Array (  => uk  => usa  => roi  => uae  => bd ) Array ( [uk] => 3 [usa] => 1 [roi] => 2 [uae] => 1 [bd] => 4 )
We can put this function in helper of any extension and call from theme. or you we can put this directly from theme. or create a file template/page/html/leftmeu.phtml and add block in page.xml (above or below breadcrumbs) then you can call from theme
Magento don’t let you set shipping cost in product level. You can do it by flatrate shipping method Create a attribute shipping_world and add to your default attribute set. overwrite/extend the flatrate carrier model of magento. The value given in shipping_world attribute of product will be the flat shipping rate of that product.