Archive for » January, 2011 «

Magento :: Enable Paypal for Multishipping

Hello,

We all know that Paypal is not working in Magento – Multishipping..

if we want to make it work just open
code/core/Mage/Paypal/Model/Standard.php
in this file the variable
protected $_canUseForMultishipping = flase;
is initialized make it
protected $_canUseForMultishipping = true;

now you can use Paypal with Multishipping in Magento

Thanks
Bijal Bhavsar :)

Magento :: Catalog Price Rules are not working.

Hello,

If you have problem with Catalog Price Rules…
When we apply catalog price rules then rules are reflect to product listing and product detail
but when we add product in cart its taking original product price …

I think its magento core problem.

Any-way , lets solve it ….

open Mage/Catalogrule/Model/Observer.php
around 101st line

you have this segment …

if ($observer->hasCustomerGroupId()) {
$gId = $observer->getEvent()->getCustomerGroupId();
} elseif ($product->hasCustomerGroupId()) {
$gId = $product->hasCustomerGroupId();
} else {
$gId = Mage::getSingleton('customer/session')->getCustomerGroupId();
}

Now in 4th line we have code like
$gId = $product->hasCustomerGroupId();
… simply change this to
$gId = $product->getCustomerGroupId();

Thanks…

-Bijal Bhavsar :)

Get the current currency code and symbol in magento

Get the current currency code and symbol in magento

Currency Code :

getStore()->getCurrentCurrencyCode(); ?>

Currency Symbol :

getLocale()->currency(Mage::app()->getStore()->getCurrentCurrencyCode())->getSymbol(); ?>

Thanks,
Bijal :)

2010 in review

The stats helper monkeys at WordPress.com mulled over how this blog did in 2010, and here’s a high level summary of its overall blog health:

Healthy blog!

The Blog-Health-o-Meterâ„¢ reads Fresher than ever.

Crunchy numbers

Featured image

A helper monkey made this abstract painting, inspired by your stats.

A Boeing 747-400 passenger jet can hold 416 passengers. This blog was viewed about 6,800 times in 2010. That’s about 16 full 747s.

In 2010, there were 31 new posts, growing the total archive of this blog to 69 posts. There were 2 pictures uploaded, taking up a total of 16kb.

The busiest day of the year was July 20th with 96 views. The most popular post that day was Products not showing in category view in magento 1.4.0.1.

Where did they come from?

The top referring sites in 2010 were magentocommerce.com, google.co.in, mysillypointofview.wordpress.com, magentocookbook.wordpress.com, and en.search.wordpress.com.

Some visitors came searching, mostly for magento getsession, how to set session in magento, magento get session, magento jointable, and magento-community/riconeitzel_vertnav.

Attractions in 2010

These are the posts and pages that got the most views in 2010.

1

Products not showing in category view in magento 1.4.0.1 June 2010
4 comments

2

How to write simple Query in magento ? April 2010
1 Like on WordPress.com,

3

How to set session and get session in magento September 2009

4

Magento : Get Current Category – Category Id June 2010
1 comment

5

Fatal error: Call to a member function toOptionArray() on a non-object October 2010

Category: General  Leave a Comment