Computer Hardware and Broadband
We offer computer and electronics hardware etc. at competitive prices. Online store coming soon but we are currently taking orders by request. We will find solutions for you, i.e. I want a server and six terminals for £XXX what can you do?
High quality broadband from Easynet for connection critical situations. ADSL, SDSL and Leased Lines
 |

|
Ok here’s how to make a dynamic jQuery sliding accordian menu in Magento, as seen on http://www.waterfrontbathrooms.com/.
Waterfront bathrooms also has a dynamic tree menu system to deal with there being more than 2 levels of categories, but I’ll cover this in a future post.
Upload jQuery
Upload the latest jQuery version to js/jquery/jquery | If you’re putting a shopping cart area anywhere other than the standard cart side block, then you’ll probably want to show how many items are in the cart at any one time. Here’s how:
$cart = Mage::getModel('checkout/cart')->getQuote()->getData();
if(isset($cart['items_qty'])){
if($cart['items_qty'] != 1) {
echo "You have " . | Here’s a short list of magento codes to do some of the simple stuff. It’s a little empty at the moment but I’ll keep adding to it over time.
Check if customer is logged in
<?php
$_customer = Mage::getSingleton('customer/session')->isLoggedIn();
if ($_customer) {
// do stuff
}
?>
Get product image
<?php echo $this- |