Skip to main content

Magento 2 TikTok Integration

Installation and User Guide for Magento 2 Tiktok Integration Extension

Table of Contents

  1. Installation
    • Installation via app/code
    • Installation via Composer
  2. Configuration Settings for Tiktok Integration
    • General Settings
    • Integration
    • Product
  3. Front-end Site View
    • WDYHAU Option on the Registration Page
    • WDYHAU option on the Checkout Page

Installation

  • Installation via app/code: Upload the content of the module to your root folder. This will not overwrite the existing Magento folder or files, only the new contents will be added. After the successful upload of the package, run below commands on Magento 2 root directory.

    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
    php bin/magento setup:static-content:deploy
  • Installation via Composer: Please follow the guide provided in the below link to complete the installation via composer.

https://docs.scommerce-mage.com/magento-2-extensions/installation-via-composer/installation-via-composer

Configuration Settings for Tiktok Integration

Go to Admin > Stores > Configuration > Scommerce Configuration > Tiktok Integration

General Settings

  • Enabled – Select "Yes" or "No" to enable or disable the module.
  • License Key – Please add the license for the extension which is provided in the order confirmation email. Please note license keys are site URL specific. If you require license keys for dev/staging sites then please email us at support@scommerce-mage.com.

image.png

Integration

  • Environment – Please select either 'Developer' or 'Production' as the environment from the configuration settings.
  • App key - Please add the App key.
  • App Secret - Please add the App Secret.
  • Shop ID - Please add the Shop ID.
  • Warehouse ID - Please add the Warehouse ID.
  • Purge Log - Select either 'Yes' or 'No'. Choosing 'Yes' will enable the purging of log data from the database.
  • Retention Days - Please specify the number of days for which you would like to retain log data in the database.
  • Cron Job - This allows you to define a schedule for how often the logs should be purged.

image.png

Product

  • Width - Please select the attribute that will be used to define the width.
  • Length - Please select the attribute that will be used to define the length.
  • Height - Please select the attribute that will be used to define the height.
  • Unit System - Please select the unit system to be used for dimensions and weight. 'Imperial' refers to POUND and INCH, while 'Metric' refers to KILOGRAM (or GRAM) and CENTIMETER.
  • Weight in Gram - Select either 'Yes' or 'No'. If you choose 'Yes', the weight should be entered in grams. If you choose 'No', the weight should be entered in kilograms.
  • Source Code - Please enter the source code to synchronize stock with TikTok Shop, if Multi-Source Inventory (MSI) is enabled for your store.

image.png

How to Test Products in Tiktok

To test the products in TikTok go to App and Services > Click on Development Kits  > Click on Development Shops > Manage accounts

 

Click on Authorise app

 

Check the Catalogue > click on Authorise

Click ok Confirm to install

 

Check the terms and conditions block > Click on Authorise

Then go to Admin > Catalog > Product > Strive Shoulder Pack and select any product then click Edit, and configure the necessary settings to enable the product for TikTok.

image.png

Then, run the following command to display the product on TikTok:

bin/magento scommerce:tiktok:createproducts

Once the product setup is complete, go to TikTok > Manage Accounts, click Start Testing, and then select Manage Products as shown in the image below.

image.png

 

You can see the Strive Shoulder pack product in Tiktok.

 image.png

 

 

 

 

 

 

 

If you have a question related to this extension please check out our FAQ Section first. If you can't find the answer you are looking for then please contact support@scommerce-mage.com.