SYMPTOMS
Customers can't order licenses in store any more. Even if license is marked as included in hosting plan, it's not being added to order.CAUSE
License management is completely overwritten in HSPcomplete 3.3.2, so store and XML API have serious modifications in this area.RESOLUTION
Copy the following modules from HSPcomplete default store (/var/opt/hspc-frontend in HSPc VE) to your customized store:addons.php
templates/addons.inc
shopping_cart.php
templates/shopping_cart.inc
templates/box_shopping_cart.inc
includes/hspc_functions.php
includes/common.js
Add your customization in these modules once again, if needed. Add localization for STR_LICENSES string
in includes/languages/EN.php:
define('STR_LICENSES', 'Licenses');
in includes/languages/DE.php:
define('STR_LICENSES', 'Lizenzen');
Additional information
Other major change in HSPcomplete 3.3.2 store is ability to sell extra resources. It's not necessary to port this feature. If you want to add this, copy modulesconfigure.php
templates/configure.inc
If you don't need this feature, remove QoS section in templates/shopping_cart.inc and templates/box_shopping_cart.inc
Keywords: hspc store license hspcomplete