If you experience compatibility problems try turning on compatibility mode in IE9 by clicking the small compatibility button in the address bar. If this resolves the problem you can implement the compatibility META tag by editing the head.phtml file of your themes template e.g. app/design/frontend/YOURTHEME/default/template/page/html/head.phtml in older Magento versions.
My Issue: …
In order to set these defaults, you need to modify the opcheckout.js file located at:
frontend/base/default/js/opcheckout.js
Add this code to the end of the initialize function:
initialize: function(accordion, urls){
…
// Set guest checkout by default
if ($(’login:guest’)) $(’login:guest’).checked=true;
// Set shipping = billing by default
if ($(’billing:use_for_shipping_yes’)) $(’billing:use_for_shipping_yes’).checked=true;
},
How to setup category related products in Product view :
add the following code somewhere in default\template\catalog\product\view.phtml
Configure the category query according to your catalog by uncommenting the following :
// ->setPage(1, 1) : selects only one category
// ->addFieldToFilter(‘level’,”3″) : selects only 3rd level categories
// ->addFieldToFilter(‘parent_id’,”3″) : select only child categories of no …
<?php $parentname = $this->getCurrentCategory()->getParentCategory()->getName(); echo $parentname; ?>
To use Jquery along with Prototype add the following code in your Jquery Script.
This code gets the Skin URL for when you are including Images etc within your template.
<?php echo $this->getSkinUrl(’images/YOURFILE.jpg’) ?>
Please ensure you close the gap between < ? and ? >