Modified Shop (V. 2.x)

modified eCommerce Shopsoftware

Please follow the instructions below in order to integrate RatingChamp in your "modified eCommerce shop software" version 2.0.0:

For Version 1.6 of modified eCommerce shop software, please use this plugin.

1. Plugin download:

Download the RatingChamp plugin for xtc:modified and extract the files.

2. File upload:

Upload all files in the RatingChamp plugin in your shop. No files are overwritten in this process, we simply add new files and guide you through the integration of these files in the following steps.

3. Backup:

As usual when modifying your shop, make sure you have created backups of the files and database before you make any changes!

4. Database:

Execute the following MySQL-Query in the database of your shop:

ALTER TABLE `orders` ADD `ratingchamp_order_sent` varchar(11) NULL DEFAULT '0';
INSERT INTO `configuration` (`configuration_key`, `configuration_value`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, `set_function`) VALUES
('RATINGCHAMP_API_PW', 'your account pw', '999', '3', '0000-00-00 00:00:00', NOW(), NULL, NULL),
('RATINGCHAMP_API_ACCOUNT_KEY', 'your account key', '2', '1', '0000-00-00 00:00:00', NOW(), NULL, NULL),
('RATINGCHAMP_STATUS_TO_TRANSFER', '0', '999', '4', '0000-00-00 00:00:00', NOW(), NULL, NULL),
('RATINGCHAMP_INSTALL_DATE', NOW(), '999', '4', '0000-00-00 00:00:00', NOW(), NULL, NULL);
ALTER TABLE `admin_access` ADD `ratingchamp` INT( 1 ) NULL DEFAULT '1';

5. Integration in Ihr Shop-Backend:

Open the file "/admin/includes/column_left.php" in your shop installation and search for:

echo '<li><a href="' . xtc_href_link(FILENAME_CONFIGURATION, 'gID=25', 'NONSSL') . '" class="menuBoxContentLink"> -' . BOX_CONFIGURATION_25 . '</a></li>';

Then add the following line:

echo '<li><a href="' . xtc_href_link('ratingchamp.php', '', 'NONSSL') . '" class="menuBoxContentLink"> -RatingChamp</a></li>';

6. API-Data setup:

Open the control panel of your xtc:modified installation; go to the newly created “RatingChamp" menu and insert your API data. You will find your API data in your RatingChamp control panel.

7. Cronjob setup:

To automatically transfer orders to RatingChamp, you need to setup a cronjob, which starts the script "http://your-shore.com/ratingchamp.php".

8. Integration in the store template:

After you have at least five reviews, you should also integrate the widget:

Open the file "\templates\your-template\index.html" and add the following code at the end of the file:

<script type="text/javascript" src="https://widget.ratingchamp.com/xxxxxx.js"></script>

Replace the xxxxx with your API-Key.

Now add this code in the place where the widget should be displayed:

<!-- RatingChampWidget START -->
<div class="RatingChampWidget sidebar-box">
<a href="https://RatingChamp.de" target="_blank" rel="nofollow">RatingChamp geprüfter Shop</a></div>
<!-- RatingChampWidget END -->

Was this answer helpful?

 Print this Article

Also Read

Modified Shop (Version 1.06 and older)

Please follow the instructions below in order to integrate RatingChamp in your...

xt:Commerce v3.0.4 SP2.1

Follow the following instructions below to integrate RatingChamp with your xt:Commerce v3.0.4...

WooCommerce / Wordpress

System requirements: WordPress (min. version 3.0.0) WooCommerce (min. version 2.1.6)...

custom integration for php based software

The integration of RatingChamp is possible in almost every software. In this example, we will...

xt:Commerce 4

1. Plugin download Download the RatingChamp plugin for xt:Commerce 4 and extract the files....