Article ID: 116379, created on Jul 2, 2013, last review on Oct 11, 2014

  • Applies to:
  • Odin Business Automation Standard 4.5
  • Odin Business Automation Standard 4.3

Symptoms

Since version 4.3.3, Parallels Business Automation - Standard (PBA-S) is shipped with the new online store.

On a clean installation or upgrade from a previous version, both the new and old online stores are available.

The old store can be accessed at this URL: http(s)://mydomain.tld/hspc/

The new store is available at this URL: http(s)://mydomain.tld/shop/

All links from the Control Panel lead to the old store.

Switching between online stores

You can switch from one online store to another at any time:

  1. Change the URL to the online store for the Control Panel in Provider Control Panel (PCC) > Commerce Director > Store Manager > Configure Store.
  2. Update the redirect URL from your website to the store:

    For the old online store, redirects should be configured according to the instructions described in the SDK.

    Redirect URL example:

     http(s)://mydomain.tld/hspc/index.php?action=preselect&ps_series_key=1
    

    For the new online store in PBA-S 4.3.3, you should use links like:

     http(s)://mydomain.tld/shop/plans.php?type_id=X
     http(s)://mydomain.tld/shop/plans.php?series_key=X
     http(s)://mydomain.tld/shop/plans.php?sb_node=X&sb_sid=Y
     http(s)://mydomain.tld/shop/domains.php
    

    Note: Redirect functionality for the new store will be extended in the PBA-S 4.3.4 update.

  3. If you use Parallels Plesk SiteBuilder version 2.x-4.x, you should synchronize the publish parameters for each SiteBuilder node in PCC > Top > Service Director > SiteBuilder Manager > Nodes > Node Name > Configuration.

Setting up a redirect from one online store to another

You can configure a redirect from one online store to another using the instructions below:

I. Redirect from the old store to the new one:

  1. On the PBA-S Management Node, open the "/etc/hspcd/conf/hspc_rewrite.conf" file.

    1.1. Find and comment the following directive:

    RewriteRule       ^(/hspc)?/?$ /hspc/index.php [L,R]
    

    1.2. Add the following directive below the commented lines:

    RewriteRule       ^(/hspc)?/?$ /shop/ [L,R]
    RewriteRule       ^/hspc/plans.php(.*)$ /shop/plans.php$1 [L,R]
    RewriteRule       ^/hspc/domains.php(.*)$ /shop/domains.php$1 [L,R]
    RewriteRule       ^/hspc/[^pcc|rcc|xml\-api]+(.*)$ /shop/ [L,R]
    
  2. Restart httpd:

    # service httpd restart
    

II. Redirect from the new store to the old one:

  1. On the PBA-S Management Node, open the "/etc/hspcd/conf/hspc_rewrite.conf" file.

    1.1. Find and comment the following directive:

    RewriteRule    ^/shop(.*) /shop/index.php/$1 [PT]
    

    1.2. Add the following directive below the commented lines:

    RewriteRule     ^/shop.* /hspc/ [L,R]
    
  2. Restart httpd:

    # service httpd restart
    

Additional information

New Store Configuration Basics

Search Words

PBA-S Online Store URL configuration

the links from the cp to the store are broked

shop

store

operation fee domain not available

.

new store

807e9c1dc97aefd951b912a17e50c428 caea8340e2d186a540518d08602aa065 400e18f6ede9f8be5575a475d2d6b0a6 70a5401e8b9354cd1d64d0346f2c4a3e 624ca542e40215e6f1d39170d8e7ec75

Email subscription for changes to this article
Save as PDF