Tagged: option value

magento display attribute in dropdown 1

magento display attribute in dropdown

magento display attribute in dropdown Create a attribute and then edit app/code/core/Mage/Catalog/Block/Navigation.php public function getAllManu() { $product = Mage::getModel(‘catalog/product’); $attributes = Mage::getResourceModel(‘eav/entity_attribute_collection’) ->setEntityTypeFilter($product->getResource()->getTypeId()) ->addFieldToFilter(‘attribute_code’, ‘manufacturer’); //can be changed to any attribute $attribute = $attributes->getFirstItem()->setEntity($product->getResource());...

call a function after a particular time period, 0

call a function after a particular time period,

call a function regularly call a function after a particular time period function getdata(){ var langu = jQuery(“.goog-te-combo”).html(‘<option value=””>Select Lanugage</option><option value=”en”>English</option><option value=”ja”>Japanese</option>’); jQuery(“.goog-te-gadget”).css({“margin-top”:”0px”}); intervaltime(); } </script> <script> function intervaltime(){ window.setInterval(function(){ getdata(); }, 5000); }...

Jquery for ajex or jquery for redirecting page 0

Jquery for ajex or jquery for redirecting page

Jquery for ajex or jquery for redirecting page function change_service(obj) { jQuery.ajax({ type: “GET”, url: “index.php?option=com_vmcheck&view=default”, data: “&id=”+obj, success: function(html){ jQuery(“#circles”).html(html); } }); } <select tabindex=”50″ name=”s_provider” id=”s_provider” onchange=”change_service(this.value);”> <option>Select Service Provider</option> <option value=”3″>Airtel...