Posts in: December, 2015

WordPress post moving not found error

WordPress post moving not found error occurring after updating your wordpress permalinks with the %postname%. The error will not occur if I update the permalinks to %default%. It may be due to your mod_rewrite module of your webhosting server. Even if you enable the mod_rewrite module in server sometimes it

Read More


create invoice capture amount programmatic magento

create invoice capture amount programmatic magento, In order to capture the amount and create auto invoice programmatic from your custom payment module. Enable invoice variable first in your source model and use this code sample

In your model file.

public function invoiceandcapture(Varien_Object $payment, $amount){

Read More


Get product price from javascript in magento

To get the product price dynamically from the javascript, use id “product-price-{productid}”. Magento product.js file use this id to update the price when changing the product options. Use this sample code to get the product price.

var pricepattern = <?php echo json_encode(Mage::app()->getLocale()->getJsPriceFormat()) ?>;
var pricesymbol =										

Read More

Allowed memory size exhausted fix

Allowed memory size exhausted fix, while doing huge export from mysql databases if the query data exceeds the maximum then it will result in error. You can fix this issue temporairly by changing memory settings in your php.ini file or .htaccess file.

memory_limit = 128


Read More