Magento Themes and Magento Extensions

Deluxe Responsive Magento Theme

Share
Posted on May 23rd, 2013 | Posted by admin

The Deluxe Magento responsive theme will be please you with it’s responsive function that automatically resize layout to screen size. It will make your customers satisfactory, comfortable and happy. Quick links to promoted, hottest, special products are remarkable point of the theme. Also, slideshows, and advertising box are all ready to use, to show your profession.

The magento template is a clear design, color impressed, font with admin option. Many new features such as slideshow powerful admin module, Mega menu , Featued products slider, New products slider, Upsell products slider, Related products slider, price slider filter, ajax add to cart, Dropdown shopping cart, back to top button, thumbnail images slider, Cloud zoom Images with lightbox extra links and blocks and so on.

Compatibility: magento 1.5.x.x, magento 1.6.x.x, magento 1.7++

We supply a full help with our products and after purchase – support to all our customers.

If you are interested in our fully installation you can find detailed information on our website

Magento – Display Sale Icon If Special Price

Share
Posted on May 23rd, 2013 | Posted by admin

Magento – Display Sale Icon If Special Price

Open app/design/frontend/YourPackage/YourTheme/template/catalog/list.phtml

Find (around line 96)

<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(135); ?>" width="135" height="135" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" /></a>

change to

<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(135); ?>" width="135" height="135" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" />

<?php
    // Get the Special Price
    $specialprice = Mage::getModel('catalog/product')->load($_product->getId())->getSpecialPrice();
    // Get the Special Price FROM date
    $specialPriceFromDate = Mage::getModel('catalog/product')->load($_product->getId())->getSpecialFromDate();
    // Get the Special Price TO date
    $specialPriceToDate = Mage::getModel('catalog/product')->load($_product->getId())->getSpecialToDate();
    // Get Current date
    $today =  time();

Setting the Default Currency for a User in Magento

Share
Posted on May 22nd, 2013 | Posted by admin

Setting the Default Currency for a User in Magento
This won’t alter the base price in the system but it will set the start price for a user. Simply add this to the top of /template/directory/currency.phtml

$currentCurrency = $this->getCurrentCurrencyCode();

if(!isset($currentCurrency)) $currentCurrency = ‘NA’;

$currencies = array(“GBP”,”USD”,”EUR”);

if(isset($_GET['cy']))
{
if (in_array(strtoupper($_GET['cy']),$currencies)) {
if(strtoupper($_GET['cy']) != $currentCurrency)

Creating a Magento layout block

Share
Posted on May 21st, 2013 | Posted by admin

Magento is a tricky beast to layout correctly. It makes use of not only template files and XML files to fit everything together. The documentation is a little vague (because they offer no support unless you buy the license), but by reading enough forums and blog posts (like this one), you can piece it together.

The goal

I’ve got a site design that has a “toolbar” that displays on all pages. It’s not in the sidebar and it’s not in the header. It’s inside the main content section, floating up at the top. I need to create the toolbar, and then put the Magento site search and Magento cart summary in that toolbar.

Display how many products are available on product page

Share
Posted on May 20th, 2013 | Posted by admin

In magento. This quick solution will enable you to show how much stock you have for each product on the product page. You may need this if your selling limited stock etc.

Firstly you will need to navigate to


app/design/frontend/yourtheme/default/template/catalog/product/view.phtml
and insert this code where you want the stock quantity to be displayed:

1
2
&lt;?=Mage::getModel('cataloginventory/stock_item')
-&gt;loadByProduct($_product)-&gt;getQty()?&gt;

And that’s it, you should now see how many products you have available for each product. If not refresh your cache.

Page 2 of 6«12345»...Last »