Support Center

Connecting to Pinnacle Cart

Follow

 

 

Pinnacle Cart is available as a shopping cart system at Shopgate.

By setting up an API connection from your Pinnacle Cart shop to Shopgate, you will have your mobile shop built with these wonderful features in no time:

Support

Version

 

All

Import to Pinnacle Cart

Orders

 

Customer Account

Login with Desktop Shop Account
Login to Desktop Shop with Mobile Account
Customer Groups / Tier Pricing
Show Desktop Orders On Mobile

 



✘ / ✘

Export to Shopgate Mobile Shop

Products
Categories
Reviews

 



Sync

Delivery Status "Shipped"
Order Status "Canceled"
Stock Quantity, on Product Detail Page

 



Validate, upon Cart Changes

Coupon
Shipping Method & Price
Product Availability

 



 

In this article, you will find everything you need to set up a Shopgate mobile shop of your own.

 

Topics covered in this article:

  1. Creating Cart API in Pinnacle Cart backend
  2. Establishing a connection to Shopgate
  3. Setting up mobile redirect
  4. Configuring the connection (optional)
  5. Frequently Asked Questions (FAQ)

 

Setting up a Shopgate connection to your Pinnacle Cart shop is simple and fast. All versions of Pinnacle Cart shops are supported and no installation needed! Now get started!

 

1. Creating Cart API in Pinnacle Cart backend

The first step is to create the Shopping Cart Unified API to connect your Pinnacle Cart backend with the Shopgate API technology. If you have already created your Cart API, the following steps will show you where to look for the API credentials you need.

To create the Cart API, please follow the steps below:

  1. Log in to your Pinnacle Cart backend.



  2. On the Admin Menu list, click Cart Settings > Global Cart Settings. Scroll down to find Shopping Cart Unified API (not shown on the screenshot) and click on it.



  3. Your Cart API Settings page will open. If you don't already have the API set up, please set "Enable Cart API" to Yes. Choose a Username and a Password, generate a Security Token, then click Save changes. Now leave this window open - you will need to enter the info in the next chapter.



  4. Now you have created the Cart API to connect to Shopgate.

 

2. Establishing a connection to Shopgate

To establish a connection between your Pinnacle Cart backend and your mobile shop, your need to enter your API credentials at Shopgate. Follow the steps below to make the connection:

  1. Log in to your Shopgate Admin page.

  2. Click on Integration from the menu bar, then select Install Interface.



  3. In the drop-down labeled Select a system, type Pinnacle Cart and select it.



  4. A popup opens. Enter your Pinnacle Cart API Security Token, Username, and Password from Chapter 1. Click connect to establish the interface.



  5. If a connection is made successfully, a popup shown below will open. Leave both options to ON to access all features and click Save.



  6. Congratulations! Now you should see the progress bar running, and the Shopgate backend automatically filling your mobile shop with your products. Depending on how many products you have, the import process can take anywhere from a few minutes to a few hours. You can always check the status of the imports. If no status bar is shown, it means either the import is finished, or no import is running at the moment.

    Welcome to the mobile world :)



3. Setting up mobile redirect

To redirect mobile visitors to your mobile website, a few lines of code need to be modified in your main template file. Follow the steps below to do so.

  1. Log in to your Shopgate Admin page. Click on Integration from the menu bar, then select Credentials. Note down the Shop number.



  2. In your Pinnacle Cart backend navigate to Cart Settings > Appearance & Content > Change Site Theme. Your "Active Theme" will open. Now click "Edit Theme". We will need to enter a mobile redirect code into the page header.



  3. On your theme page, right-click on the page header, then click Edit Source Code.



  4. An HTML editor will open. Paste the JavaScript code shown below into the first line. Replace YOUR SHOPGATE SHOP NUMBER (line 4) with your shop’s number, and click Save to close the HTML editor. Click Exit at the bottom right to close the theme editor.

    <!-- SHOPGATE REDIRECT START -->
    <script type="text/javascript">
    var _shopgate = new Object();
    _shopgate.shop_number = "YOUR SHOPGATE SHOP NUMBER";
    {if $current_page == "home"}
    _shopgate.redirect = "start";
    {elseif $current_page == "catalog"}
    _shopgate.redirect = "category";
    _shopgate.category_number = "{$category.cid}";
    {elseif $current_page == "product"}
    _shopgate.redirect = "item";
    _shopgate.item_number = "{$product.pid}";
    {/if}
    {if $current_page == "home" || $current_page == "catalog" || $current_page == "product"}
    _shopgate.host = (("https:" == document.location.protocol) ? "https://static-ssl.shopgate.com" : "http://static.shopgate.com");
    document.write(unescape(
    "%3Cscript src='" + _shopgate.host + "/mobile_header/" + _shopgate.shop_number + ".js' type='text/javascript' %3E%3C/script%3E"
    ));
    {/if}
    </script>
    <!-- SHOPGATE REDIRECT END -->


  5. That's it! Your mobile users have now been successfully redirected to your mobile shop.

 

4. Configuring the connection (optional)

You can configure the following in your Shopgate connection to your mobile shop:

  • Update your Pinnacle Cart Store URL
  • Update your Pinnacle Cart API credentials
  • Choose to turn on/off Debug mode for developers
  • Choose to turn on Advanced error logging for developers

To configure the options, click on the Actions drop-down and select Edit.

Configure your connection in the settings page below. Detailed explanations for options listed can be found below.

Debug

This enables advanced debugging for your connection and is usually used by our developers only in case you’ve got a problem.

Advanced error logging

This will break all operations over your connection even on minor errors, making it easier to find the source of a problem if you have one for our developers.

Pinnacle Cart store URL

This is your shop's URL.

Pinnacle Cart API Security Token

This is the API Security Token you created in your Pinnacle Cart's page in Chapter 1.

Pinnacle Cart API Username

This is the username you created in your Pinnacle Cart's page in Chapter 1.

Pinnacle Cart API Password

This is the password you created in your Pinnacle Cart's page in Chapter 1.

 

5. Frequently Asked Questions (FAQ)

5.1 How do I update my mobile shop?

You do not need to manually update your mobile shop. Whenever there is an update in the Shopgate software, we will update your shop via API method automatically.

 

Comments