@apite/shopware6-utility

1.1.1 • Public • Published

Shopgate Web Checkout utility for Shopware 6 extensions

Purpose

This package is developed in support for Shopgate Connect & Engage extensions for Shopware 6.

Development Instructions

Adding files to the watch list

This module can be required as a dependency as a local package first, something along these lines:

cd extensions
git clone git@gitlab.com:apite/shopgate/connect-engage/shopware6-utility.git
git clone git@gitlab.com:apite/shopgate/connect-engage/ext-shopware6-cart.git
cd ext-shopware6-cart/extension
npm install --save ../../shopware6-utility
sgconnect extension create
# follow prompt to make a simple backend extension
cd ../../extensions/some-created-module/extension
ln -fs ../../shopware6-utility/src/services/apiManager.js

Make sure the extension is attached. Once that is done the apiManager file will be in the watch list & modifying it will reload the backend quickly.

Debug SW6 Connect Plugin & WebCheckout

  • Install SW6 locally & enable xDebug
  • Install SG Connect plugin on SW6
  • Set an .env of XDEBUG=1
  • Set a breakpoint in PHP
  • Run any pipeline endpoint call via Postman or using the CloudFlight App

Readme

Keywords

Package Sidebar

Install

npm i @apite/shopware6-utility

Weekly Downloads

6

Version

1.1.1

License

Apache-2.0

Unpacked Size

91.2 kB

Total Files

26

Last publish

Collaborators

  • augsteyer
  • stereck