Code Monkey home page Code Monkey logo

tiktok-shop's Introduction

tiktok-shop

Aftership TikTok Shop extension for Magento 2. Allows connect with TikTok Shop and more.

Prerequisites

Magento 2

Install

  • log into the Magento 2 server and cd into the root directory of the Magento app: - Execute the following commands:
    • composer require aftership/tiktok-shop
    • php bin/magento module:enable AfterShip_TikTokShop --clear-static-content
    • php bin/magento setup:upgrade
    • php bin/magento setup:static-content:deploy -f

Setup

  • From admin:
    • Go to stores > configuration
    • Find "TikTok Shop" in sidebar
    • Open Connect
    • Click the "Start now", Navigate to "TikTok Shop" and connect store

tiktok-shop's People

Contributors

yangyao avatar henry-fw avatar bossa573 avatar

Watchers

James Cloos avatar Jason Ma avatar Hua King avatar maijunsheng avatar  avatar  avatar  avatar avanpourm avatar Gen Fa Xu avatar Landon avatar Zi He Peng avatar  avatar Bob Li avatar Tiding Young avatar Anna avatar Victor XH avatar  avatar  avatar

Forkers

yangyao iuvei

tiktok-shop's Issues

Magento checkout guest blocker [some transactions have not been committed or rolled back]

Step reproduce:

  1. Install module via composer
  2. Open site as guest
  3. Add product to the basket
  4. Go to checkout
  5. Try complete order via any payment method

Actual result: ERROR "some transactions have not been committed or rolled back"

Expected result: success order

PS
After debugging i find row with triggers this error:

                case 'sales_order_status_history_save_after':
                    $orderComment = $observer->getStatusHistory();
                    $order = $this->orderRepository->get($orderComment->getParentId());
                    break;

$order = $this->orderRepository->get($orderComment->getParentId());

orderComment got as empty obj

For fix i mean need add:
$order = $orderComment ? $this->orderRepository->get($orderComment->getParentId()) : null ;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.