Magento – Left/Right Callout open external link in new window

By Friday, May 31, 2013 0 No tags Permalink 0

http://rricketts.com/magento-leftright-callout-open-external-link-in-new-window/ There are “magic” functions in Magento that allow you to literally create functions on the fly that handle the getting / setting of data. I have two callouts in the left column, one which points internally and one that points externally and I wanted only the external link to open in a new window. So, ...

Magento Onepage Checkout – Add New Step

By Tuesday, May 28, 2013 0 No tags Permalink 0

原帖地址见 http://www.excellencemagentoblog.com/magento-onestep-checkout-add-step?facebook=1 Adding New Step at First Position So here we are going to add a new step just after login step or if user is already logged ours will be the first step. The title of step added is “Excellence Blog Review” and id of step would be “excellence”, the step will have a single drop down ...

Change Magento search result

By Friday, May 24, 2013 4 No tags Permalink 0

Magento默认的搜索结果 like word1 or word2 or word3 这样只要包含了word1-3任何一个结果的页面都会出现,导致很多乱七八糟的结果。 需要的搜索结果应该是与关系,而不是或关系。 修改如下。 Make a copy of app/code/core/Mage/CatalogSearch/Model/Resource/Fulltext.php to app/code/local/Mage/CatalogSearch/Model/Resource/Fulltext.php change the line 331 $likeCond = ‘(‘ . join(‘ OR ‘, $like) . ‘)’; to $likeCond = ‘(‘ . join(‘ AND ‘, $like) . ‘)’; 然后到 System ? Catalog ? Catalog Search ? Search Type 把Seach Type更改为Fulltext 然后修改搜索结果的排序 找出当前theme下的form.mini.phtml 在 <form id="search_mini_form" action="<?php echo $this->helper('catalogsearch')->getResultUrl() ?>" method="get"> 这句下边添加 <input type="hidden" name="order" value="relevance"> <input type="hidden" name="dir" value="desc"> 然后 System» Index Management and ...