Magento CE 1.9 – RWD – SCSS / Compass compile error

Share
Posted on October 31st, 2014 | Posted by admin

Abweichend zu meinem MacBook bekam ich nach dem Upgrade auf OSX Yosemite beim compilen von SCSS des RWD-Themes immer denselben Fehler: NoMethodError: undefined method `specificity’ for [:not(.button)]:Array. Zuerst habe ich gedacht, diesen Fehler zu beseitigen, würde mein Problem lösen. Jedoch kamen dann immer neue Fehlermeldungen. Ärgerlich, denn entspanntes Arbeiten sieht anders aus.

Da eigentlich Rechner eigentlich gleich sind, bin ich erst später darauf gekommen, die Versionen von SASS zu vergleichen. Und siehe da, die funktionierende Version auf dem MacBook ist SASS 3.4.5 und die nicht funktionierende Version auf dem iMac ist SASS 3.4.6.

GET SKIN DIRECTORY URL WITH A TEMPLATE

Share
Posted on October 29th, 2014 | Posted by admin

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 ? >

How To Create a Featured Product module in magento

Share
Posted on October 28th, 2014 | Posted by admin

Being new with magento and adding feature like “Featured Product”.  Most of the popular website has featured section/ featured product in magento for online shops;  to have a list of featured products on the homepage. I’ve set up quite a feweCommerce sites with Magento so far and always had to implement it myself since Magento doesn’t support it out of the box. Of course I could use a plugin, but the more independent solution is to do it myself.  Fortunately it’s quite easy toimplement. This example also supports the category and sub category product listing in featured product block.

The following tutorial aims at people who know how to use Magento and who know how to create and modify themes (Magento CE 1.4.1.0).

Step 1: Add a new attribute: (Login to magento Admin area)
Now to add new attribute option from  “Catalog (Top Menu) > Attributes > Manage Attributes > Add New Attribute
Add appropriate values for property mentioned bellow and Save the new attribute.

Attribute Properties

  • Attribute Identifier: featured
  • Scope: Store View
  • Catalog Input Type for Store Owner: Yes/No
  • Unique Value (not shared with other products): No

Simplicite Responsive Magento Theme

Share
Posted on October 18th, 2014 | Posted by admin

Simplicité can be used for any kind of Magento online store. It is packed with some useful features. Responsive, Search by Category, Featured Categories etc. More details below.

Add customer in different group during registration in magento

Share
Posted on October 14th, 2014 | Posted by admin

If you want to add customer in different group during registration than follow this instruction.

You need to change in two files.
1) app\design\frontend\[your theme]\default\template\customer\form\register.phtml
add following code in the page

<div>
   <label for="group_id"><?php echo $this->__('Group') ?><span>*</span></label>
   <select name="group_id" id="group_id" title="<?php echo $this->__('Group') ?>" />
   <?php $groups = Mage::helper('customer')->getGroups()->toOptionArray(); ?>
Page 1 of 16212345»102030...Last »