Blog

Home / Blog

Magento Bug Call to a member function loadPriceData

Magento
Magento 1.5.0.1 Bug: Call to a member function loadPriceData() on a non-object Please do follow steup for solve this error: Open app\code\core\Mage\Catalog\Model\Product\Attribute\Backend\Tierprice.php Comment out lines from 202 to 219 Error:Fatal error: Call to a member function loadPriceData() on a non-object in E:\wamp\www\magento\app\code\core\Mage\Catalog\Model\Product\Attribute\Backend\Tierprice.php on line 202 [htmlscript] <?php /* $data = $this->_getResource()->loadPriceData($object->getId(), $websiteId); foreach ($data as $k => $v) { $data[$k]['website_price'] = $v['price']; if ($v['all_groups']) { $data[$k]['cust_group'] = Mage_Customer_Model_Group::CUST_GROUP_ALL; } } if (!$object->getData('_edit_mode') && $websiteId) { $rates = $this->_getWebsiteRates(); $full = $data; $data = array(); foreach ($full as $v) { $key = join('-', array($v['cust_group'], $v['price_qty'])); if ($v['website_id'] == $websiteId) { $data[$key] = $v; $data[$key]['website_price'] = $v['price']; } else if ($v['website_id'] == 0 && !isset($data[$key])) { $data[$key] = $v; $data[$key]['website_id'] = $websiteId; if ($object->getPriceModel()->isTierPriceFixed()) { $data[$key]['price'] = $v['price'] * $rates[$websiteId]['rate']; $data[$key]['website_price'] =…
Read More

iDeal Payment Integration

PHP
What is iDEAL? iDEAL Payment Integration is a standardized payment method for making secure online payments directly between bank accounts. To offer iDEAL as a payment method in an online store, a direct link is established with the systems of participating banks. In other words, this one connection to iDEAL enables each webshop’s visitor with access to online banking of ABN AMRO, ASN Bank, Friesland Bank, ING, Rabobank, RegioBank, SNS Bank, Triodos Bank or Van Lanschot Bankiers to make payments in this way. No other payment product offers this facility. iDEAL is steadily gaining a reputation as a trusted online payment method. Already more than half of all Dutch online shoppers use iDEAL. How does iDEAL work? iDEAL Payment Integration is easy to use and requires just a few simple…
Read More

Easily manage or publish multisite using worpress

Wordpress
Please look at below step for create multi site mode: Install WordPress and install as a normal WordPress. Add define('WP_ALLOW_MULTISITE', true); near the top of wp-config.php Log into the admin go to the tools/Network menu. If it asks you to deactivate all plug-ins do so otherwise go straight ahead and set up multi sites as sub-domains and fill in the other details as needed as needed. Make a note of the changes needed to wp-config.php and .htaccess and make the changes. You should now be in multi-site mode. [JWD-Wordpress-Development]
Read More