On cs-cart 4 ultimate free mode you are not allowed to install 3rd party addons?

Hi,

I try to install a custom addon on cs-cart4beta2 free mode



addon.xml


...
COMMUNITY,PROFESSIONAL,MULTIVENDOR,ULTIMATE
...




is this a bug or on ultimate free mode you are not allowed to install 3rd party addons?





Valentin

What error did you get?

Is not an error: [color=#ff0000]This add-on is available only in the Full mode. Please purchase a [/color][color=#ff0000]commercial license[/color][color=#ff0000] and enter the license number on the [/color][color=#ff0000]Store mode[/color][color=#ff0000] page to activate the Full mode.[/color]

Dear Valentin,



This is a bug, thank you for the report. This issue has been fixed in the next beta, which will be released soon.



Thanks!

The fix i found, but is not legal to modify by my self :D i used only for testing purposes on localhost

#on file app/functions/fn.addons.php


<br />
...<br />
function fn_check_addon_snapshot($addon)<br />
{<br />
    static $addons_snapshots = array();<br />
    static $mode = '';<br />
    if (empty($addons_snapshots)) {<br />
	    $addons_snapshots = fn_get_storage_data('addons_snapshots');<br />
	    $addons_snapshots = explode(',', $addons_snapshots);<br />
	    $mode = fn_get_storage_data('store_mode');<br />
    }<br />
    if ($mode == strrev('eerf') && !in_array(md5($addon), $addons_snapshots)) {<br />
	    return false;<br />
    }<br />
    return true;<br />
}<br />
...<br />

```<br />
<br />
#replace with<br />
```php
<br />
...<br />
function fn_check_addon_snapshot($addon)<br />
{<br />
    return true;<br />
}<br />
...<br />

```<br />
<br />
or another way to add addon to $addons_snapshots array