Have a container <div> with a class, and use the > selector. Lets say your container div’s class is “myclass”:
.myclass ul li {
...this will affect both levels of li.
}
.myclass > ul > li {
...this will only affect the first level.
}
.myclass > ul > li > ul > li {
<?php
// get category model by category id, assume you have known category id, $categoryId
$_category = Mage::getModel('catalog/category')->load($categoryId);
// category name
$categoryName = $_category->getName();
// category description
$categoryDescription = $_category->getDescription();
// category url
$categoryUrl =… Read More
官网:http://lipis.github.io/bootstrap-social/
View on GitHub : https://github.com/lipis/bootstrap-social
Download:bootstrap-social-gh-pages
How to use
Include Bootstrap and Font AwesomeIf you haven’t done that already, include the latest Bootstrap and Font Awesome in your project.
Include the CSS or LessYou have two options for enabl… Read More
go to website: https://translate.google.com/manager/website/
Vertical
<div id="google_translate_element"></div><script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'en'}, 'google_translate_element');
}
</script><s… Read More
By default in magento there is no qty field of simple product for custom option. If you want to add qty as per your custom option you can add now using this post.
Suppose you have custom option ‘Color: Red, Blue, White‘ of your simple product and you want to add different qty option for your