Support Center

Connecting to Magento

Magento is a supported shopping cart system at Shopgate. By setting up the Shopgate plugin for your Magento, you will automatically get products, categories and reviews export, orders import, and shipping confirmation straight into your shopping cart.

In this article, you will find the instructions to set up the Shopgate plugin for your Magento.

 

Topics covered in this article:

  1. Building your mobile shop
  2. Understanding plugin configurations
  3. Updating an existing Shopgate plugin
  4. Frequently Asked Questions (FAQ)

 

1. Building your mobile shop

Building your Magento mobile shop with Shopgate is simple and fast! In this chapter, we will explain everything you need to build your mobile website and apps at Shopgate.

1.1 Installing the Shopgate plugin

The Shopgate plugin for Magento can be installed in all Magento versions starting from 1.4.0.0. To install the Shopgate plugin from the Magento Connect Store, follow the steps below.

IMPORTANT: If your Magento backend is currently compiling, installing the Shopgate plugin may cause your website to become temporarily unavailable to you and your customers. So please make sure to stop your Magento compilation before installing the plugin.(How to?)
  1. To get started, log in to your Magento Admin Panel, and navigate to System → Magento Connect → Magento Connect Manager.



  2. You will be prompted to login again. Now the Magento Connect Manager will open. Paste this extension key to install the plugin: http://connect20.magentocommerce.com/community/shopgate_module
    NOTE: Magento Connect version 1.x users, please paste this key: magento-community/shopgate_module
    IMPORTANT: Make sure to uncheck option "Put store on the maintenance mode while installing/upgrading/backup creation".

    * If the extension key doesn't work, an alternative method is provided at the end of this article.

  3. The page should load again, and an "Extension dependencies" table will appear. Click the Proceed button to start installing the plugin.



  4. Scroll down to the bottom of the window. If the plugin is installed successfully, you should see the log output below with a "Procedure completed." text in the bottom. Click the Refresh button. Now the Shopgate plugin should appear at the end of the Manage Existing Extensions list.

  5. That's it! The Shopgate plugin has been installed successfully. Now scroll to the top of your Magento Connect Manager, and click on Return to Admin.

 

1.2 Importing products to your mobile shop

After the Shopgate plugin has been installed, you are only a few clicks away from having a functional mobile shop! Follow the easy steps below to get started.

  1. First, log in to your Shopgate Admin page. If you don't already have an account with Shopgate, sign up or start a free trial at the Shopgate website.

  2. Come back to your Magento Admin Panel. You should now see Shopgate listed as a new menu entry. Navigate to Shopgate > Manage Connections to set up the plugin.

    IMPORTANT: If there is any issue loading the plugin page, try logging out and logging in again.



  3. If you don't already have a connection created to Shopgate, you will be asked to Establish a new Connection to Shopgate. Choose your default Store View, and click on button Connect to Shopgate.



  4. You will now be redirected to Shopgate. The window below will show up. Leave all options to ON to access all the features listed. Select your mobile shop to be connected, if you have more than one shop at Shopgate. Click Authorize.
    If you are not logged in, or don't have an account with Shopgate, you will be prompted to log in or register first.



  5. After a few seconds, you should see a big green Hooray! page. Click Configure interface to continue.



  6. That's it! An import will start immediately and the progress bar will be running. This means that the Shopgate backend is automatically filling your mobile shop with your products! Once the progress bar disappears, you should have your mobile website finished.

 

1.3 Reviewing your mobile shop

Now you have done everything you need to build your mobile shop! Your mobile website and apps should be ready for review at Integration > Test mobile shop as soon as the import processes are finished.

Review your products, play with your designs, explore the awesome features, and set your shop live!

 

Now welcome to the mobile world :)

 

2. Understanding plugin configurations

In this chapter, we will explain all the options you have to configure the Shopgate plugin in your Magento backend.

To locate the Shopgate plugin Configuration, follow the steps here:

  1. Login to your Magento Admin Panel, and navigate to Shopgate -> Manage Connections. If there is any issue loading the plugin page, try logging out and logging in again.



  2. You should see at least one connection to Shopgate. Navigate to Action (drop-down) > Configure on the corresponding grid row.



  3. You will be directed to the Configuration page for the Shopgate module. If you have installed the Shopgate plugin and imported your products (Chapter 1), some information should already be pre-filled for you.

 

To understand your options to configure the Shopgate plugin in details, continue to read the following 5 sections: Basic Configuration, Mobile Website, Products Export, Orders Import, and Connection Settings.

2.1 Basic Configuration

Basic configuration provides the settings which are essential to connect your magento with Shopgate. We will comment each option in detail.

Default Store Here you have to define which store view is the default store view and the main reference for all module api tasks. This means anytime the Shopgate backend is communicating with the module it will reference the here defined store view as the active one. This will affect any setting which is customizable in store view scope.
Enable A simple toggle to activate or deactivate the whole plugin.
Customer Number A collection of digits representing your merchant account at Shopgate
Shop Number Another collection of digits representing your current Shopgate shop
API Key A hash string calculated from your customer number and your Url, this string is used as a key value in the authentication process between Shopgate and the magento module.

 

2.2 Mobile Website

This section offers settings to influence redirecting from your shop to mobile devices through Shopgate.

Shop alias A descriptive name for the shop
Custom URL to mobile webpage An url used for the mobile version of your shop. The default is [alias].shopgate.com, an alternate could be m.[alias].com
Redirect Type This option defines how requests to your shop are redirected to mobile devices. There are two options available, redirect through http or through javascript. Http is preferable, cause it offers a valid redirect type through http header codes (e.g. 301 permanent redirect) and is more SEO friendly.
Disable redirect for specific routes If you want to suppress the mobile redirect for a specific route, you can enter the routes name here in a comma separate list and the route won’t trigger a mobile redirect (e.g if you want to suppress redirect on Wordpress blog pages with a Wordpress module, you can enter the route “Wordpress” and it will prevent the plugin to redirect on each request to this route.
Disable redirect for specific controllers This is the equivalent to suppressing routes just for controllers (e.g. if you want to suppress the newsletter controller for subscriber you can type into the field “subscriber” and it will prevent to redirect on newsletter/subscriber/ requests)
Disable redirect for specific products In this field you can put a comma separate list of product id’s. Each id will suppress the mobile redirect on the given product’s id detail page.
Disable redirect for specific categories In this field you can put a comma separate list of category id’s. Each id will suppress the mobile redirect on the given category’s id category listing.

 

 

2.3 Product Export

Here you can define how to export products.

Product types to be exported A multi-select drop-down for all available product types. Some product types are not fully supported like the
Product names to be exported Defines which product name is preferable on product’s with a parent child relation, available options are parent or child product’s name.
Keep line breaks This option is a multi-select drop-down, here you can pick any type of product description to export and set if the content should be converted with the nl2br command. In detail, any selected type of description will get his new lines converted to
tags to be shown properly on mobile devices. Your choice should depend on the way your product description is maintained.
Products description layout Pick a type of description to use on as description on mobile versions of your shop, combinations are also possible.
Export filterable attributes The Shopgate module is exporting any attribute which is visible in the front-end onto the product’s detail page. In addition you can let the module export also any filterable attribute which could be used into the layered navigation.
Ignore sub-products prices Defines what prices will be fetched on products with a parent-child relation.
Export visible sub-products If this option is activated any variation of a configurable product will be exported as standalone simple product, in addition.
Weight unit Determine the used weight unit in your shop or let the module decide automatically in conjunction with the currently configured default country.
Export variation images Define which pictures are exported by products with parent-child relations. A variety of combinations is possible.
Export variation description The same like with the pictures.
Export excluded images If this flag is activated any picture will get exported for a given product, even pictures which are marked as excluded, as long as they are bigger then 150 x 150 pixels.
Export Thumbnail images at first Defines if the picture export will list thumbnails before normal size pictures.
Export all stores of this website When this flag is active the module will cycle through any store group of a website and export store view comprehensive categories and products.
Attribute-code for available text Here you can choose an attribute code which represents the state of your product’s available text. Any Textfield and Select based attribute is usable. But be aware when you pick an attribute code here, that the merchant is responsible to maintain the state of the content of these attributes. The plugin won’t export a different available text when a product is out of stock.
EAN attribute code Here you can specify an attribute code to rely on export for the EAN code for products. The attribute code has to be typed into the textfield.
Filter properties The module exports in front-end visible product properties on default and can include filterable properties in addition. With this field you can give a comma separate list of attribute codes which should be ignored on export.
Export hidden categories This field can contain a comma separated list of category id’s which will be forced to be exported and set as active, however the current state is set in magento.
Products sort order Defines in what order the products will be exported, imported and listed on mobile devices. The option “category position” should be the most natural for magento and will use the magento internal positioning of products.
Net market countries This field is used to set a shop as net market. On default countries like US or GR get treated like net markets and will export product prices as net, also the tax handling is different on net market countries. This is a feature which should be touched only in very rare cases in relation to Shopgate integration managers.

 

2.4 Orders Import

This section will handle order import processes.

Mark unblocked orders as “paid” Whenever an order is imported with the shipping being approved, the module can capture the order total amount and set the order state to processing. This is very useful on processing orders with payment providers which have a separate gateway to process the payment and for usual get into the shopping system when the payment has been already applied (e.g. paypal, klarna, credit card).
Send email to customer on new order On each order import the customer will get a order confirmation mail after import. These flag should be used in conjunction with the send confirmation mail flag in the Shopgate merchant area.
Confirm shipping to Shopgate if order state is complete Will communicate the shipping as approved and complete when the order state is complete and the flag is active.
Shopgate Payment Title This Textfield allows the merchant to define a payment title for any payment handled by Shopgate. This payment title is used in mails and order details.
Shopgate Shipping Carrier Title This Textfield allows the merchant to define a shipping title for any shipping handled by Shopgate. This shipping title is used in mails and order details.

 

 

2.5 Connection Settings

This tab is responsible for the routing to the Shopgate’s merchant api.

Shopgate server This option allows to pick a predefined url to communicate with the merchant api of Shopgate.
API URL This field is used only when the “Shopgate server” flag is set to “custom” and is only useful for debugging purposes.
.htaccess user
.htaccess user and password are only used to bypass additional htaccess authentications.
.htaccess password

 

3. Updating an existing Shopgate plugin

Upgrading an already installed Shopgate module is most effectively done with the Magento Connect Manager. The steps are listed below.

IMPORTANT: If your Magento backend is currently compiling, installing the Shopgate plugin may cause your website to become temporarily unavailable to you and your customers. So please make sure to stop your Magento compilation before installing the plugin.(How to?)
IMPORTANT: Make sure to uncheck option "Put store on the maintenance mode while installing/upgrading/backup creation".
  1. Login to your Magento Admin Panel, and navigate to System → Magento Connect → Magento Connect Manager.



  2. The Shopgate plugin should now appear in the list of Manage Existing Extensions. Click Check for Upgrades button on top of the list.



  3. Select a newer version of the Shopgate plugin from the drop-down next to the Shopgate module, and click the Commit Changes button.



  4. Once again you will see the log output running through update commands at the bottom of the page. If the plugin is updated successfully, you should see the log output below with a "Procedure completed." text in the bottom. Click the Refresh button to finish the update process.



  5. That's it! Now your plugin has been successfully updated.

 

4. Frequently Asked Questions (FAQ)

4.1 My changes won't show up. What should I do?

If your changes won't show up, or your products won't appear, clearing cache might help.

To do so, find the option Clear Shop Cache under the menu point Integration. Simply click on it and wait for the page to load again.

 

4.2 I cannot install the Shopgate plugin with extension key.

If you're experiencing difficulties installing the Shopgate plugin using the extension key, simply upload the Shopgate plugin directly to your Magento backend. To do so, follow the steps below.

  1. To get started with, download the latest Shopgate plugin for Magento via this link: http://files.shopgate.com/plugins/magento.tgz.

  2. Login to your Magento Admin Panel and navigate to System → Magento Connect → Magento Connect Manager.



  3. You will be prompted to login again. After logged in, Magento Connect Manager will open (shown below). You will upload the Shopgate plugin directly on this page. Click Choose File, choose the Magento.tgz file you just downloaded, and click Upload.

    IMPORTANT: Please make sure to uncheck the first option in Settings when you install or update any plugin: Put store on the maintenance mode while installing/upgrading/backup creation. If you do not uncheck the option, your customers will NOT be able to browse or make any purchase in your web shop.



  4. Scroll down to the bottom of the page, and wait for the log output to show "Procedure completed" text. Then click Refresh to finish the installation process.



The Shopgate plugin is now successfully installed. To start importing your products, go to the next Chapter 1.2: Importing products to your mobile shop

 

4.3 I'm seeing a blank page after I installed the Shopgate plugin. What should I do?

If you see a blank page after you clicked on the Install button for Shopgate plugin, it is possible that the compiler in your Magento backend was running at the time. Don't panic! Simply follow the steps below to revert the issue:

  1. Go back to your Magento Connect Manager by clicking on the Back Arrow on your browser. If this is not possible, type "your-magento-shop-name.com/downloader" in your browser's address field.



  2. Now you should be back at your Magento Connect Manager page. Uninstall the Shopgate plugin.



  3. After the log output shows a success message, click on the Refresh button to reload the page. Now your Magento should work again.



  4. Before you install the Shopgate plugin again, make sure to check if your Compiler is still running. Navigate to System -> Tools -> Compilation.



  5. Pause the compiler by clicking on the Disable button.



  6. Clear cache in Magento. Go to System > Cache Management.



  7. Select Configuration, set Action to Disable on the top right, then click Submit. This will clear the cache in your Magento backend and make your shop ready to install the plugin.



  8. Install the Shopgate plugin following the steps in Chapter 1.1.

  9. After the plugin has been successfully installed, restart your complier by clicking on the Run Compilation Process button.



  10. Now you have successfully installed the Shopgate plugin. Please follow Chapter 1.2 and 1.3 to finish building your mobile shop.

 

4.4 How to stop showing "plugin update" notification at start-up?

Starting from Shopgate plugin version 2.9.7, we will inform you of an update in your Magento backend. A notification will show when you log in to your Magento.

If you don't want to see this notification each time you log in to your Magento, follow the steps below:

  1. In your Magento Admin Panel, go to System > Notifications.



  2. Find the notification that you want to stop showing, and click "Mark as Read" in the Actions column.



  3. That's it! Now you have disabled this notification at start-up.

Comments

Please sign in to leave a comment.