Open-Biz starts e-commerce service – Mageconsult
Open-Biz is creating e-commerce solutions since 2009. At the beginning of 2011 we decided that we could contribute to e-commerce world and we created a division in our company specially dedicated to delivering best e-commerce solution to the world and helping clients grow successful businesses. We called that division Mageconsult.
Mageconsult is developing Magento modules, developing custom Magento integrations and help its clients with online support.
You can stay up to date with our product and services at:
http://mageconsult.net/
http://www.facebook.com/pages/MageConsult/256144954495092
Running Magento 1.3 on PHP 5.3
Magento 1.3 is not compatible with PHP 5.3 without any additional modifications. So if you decide to run Magento with PHP 5.3, here is a two-step description how to do it:
1) Open index.php and locate the line containing :
error_reporting(E_ALL | E_STRICT);
It is the 35th line in Magento 1.3.3.0. Replace it with :
error_reporting((E_ALL | E_STRICT) & !E_DEPRECATED);
In PHP 5.3 functions like split() and ereg() are deprecated. Magento 1.3 widely uses these two functions so you have to disable error reporting for the newly introduced error level E_DEPRECATED.
2) Open lib/Varien/Object.php and look for the method :
public function __toString(array $arrAttributes = array(), $valueSeparator=’,’)
{
$arrData = $this->toArray($arrAttributes);
return implode($valueSeparator, $arrData);
}
It is line 484 in Magento 1.3.3.0. Replace it with
public function __toString()
{
if(func_num_args() > 0) {
$arrAttributes = func_get_arg(0);
} else {
$arrAttributes = array();
}
if(func_num_args() > 1) {
$valueSeparator = func_get_arg(1);
} else {
$valueSeparator = ‘,’;
}
$arrData = $this->toArray($arrAttributes);
return implode($valueSeparator, $arrData);
}
With PHP 5.3 the magic method __toString() no more accepts any parameters. That’s why the old method declaration will cause the following error:
Fatal error: Method Varien_Object::__tostring() cannot take arguments in /magento/lib/Varien/Object.php
Note: The steps listed above are tested with Magento 1.3.3.0.
Magento Random Related Products
Before you put that module there is no limit of the displayed items in the related products sidebar. But thanks to this module you can now choose how many items to be displayed in the related products side menu. Each time the shown products are randomly chosen from all related products. The option for selecting the number of shown products is in the administrative panel (System -> Configuration -> Catalog -> Random Related Products).
Supported versions : 1.3, 1.4
You can download the module from here
What is RSS ?
RSS is a basic XML format for publishing syndicated content. The root element of the document is rss, which contains a single channel element. The channel element contains metadata about the feed, including its title, language, and URL. It also contains various stories enclosed in item elements. Each item has a link element containing a URL and either a title or a description (usually both) that contain plain text.
RSS is a basic XML format for publishing syndicated content. The root element of the document is rss, which contains a single channel element. The channel element contains metadata about the feed, including its title, language, and URL. It also contains various stories enclosed in item elements. Each item has a link element containing a URL and either a title or a description (usually both) that contain plain text.