Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

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

 
  • Hungryweb
  • Senior Member
  • Authorized Reseller
  • Join Date: 10-Feb 12
  • 1264 posts

Posted 04 May 2013 - 07:12 PM #1

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

addon.xml
...
	<auto_install>COMMUNITY,PROFESSIONAL,MULTIVENDOR,ULTIMATE</auto_install>
...

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

---
Valentin

 
  • cartfix
  • Member
  • Trial users
  • Join Date: 03-May 13
  • 26 posts

Posted 04 May 2013 - 08:34 PM #2

What error did you get?

 
  • Hungryweb
  • Senior Member
  • Authorized Reseller
  • Join Date: 10-Feb 12
  • 1264 posts

Posted 05 May 2013 - 08:08 AM #3

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

 
  • alexions
  • Architect
  • CS-Cart Architects
  • Join Date: 17-Jun 11
  • 39 posts

Posted 13 May 2013 - 12:14 PM #4

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!
Alexander Zinovyev,
CS-Cart Architect Team
Suggest and vote for new features | Report a bug

 
  • Hungryweb
  • Senior Member
  • Authorized Reseller
  • Join Date: 10-Feb 12
  • 1264 posts

Posted 14 May 2013 - 07:14 AM #5

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

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

#replace with
...
function fn_check_addon_snapshot($addon)
{
    return true;
}
...

or another way to add addon to $addons_snapshots array