Download the PHP package punchout-catalogs/punchout-catalog-spryker without Composer

On this page you can find all versions of the php package punchout-catalogs/punchout-catalog-spryker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package punchout-catalog-spryker

PunchOutCatalogs Module

Punchout Catalog Module for Spryker eCommerce Platform

Important Changes

Since the 2.4.0 version it has been changed the way of punchout connection load.

1. Business Unit become optional in Gateway URL (Entry Point)

2. It is required to enter Buyer ID for cXML Setup Request in the following format:

Credential_Domain_Value/Credential_Identity_Value.

Example #1: AribaNetworkId/AN119990XX

Example #2: NetworkId/NID119990XX

Installation

B2C store additionally requires the spryker-feature/company-account feature.

Look at etc/integration-sample/*.patch patches as example of integration with Spryker B2B and B2C demo stores.

Documentation

Integration Documentation

Spryker Documentation

Testing

Running:

Custom cart mapping

Extending cart mapping behavior could be implemented by overriding PunchoutCatalog\Yves\PunchoutCatalog\PunchoutCatalogConfig class method:

If this opportunity is not enough, you could define your own plugin that should implement PunchoutCatalog\Yves\PunchoutCatalog\Mapper\CartTransferMapperPluginInterface and add it by overriding PunchoutCatalog\Yves\PunchoutCatalog\PunchoutCatalogDependencyProvider::getCartTransferMapperPlugins method.

Enable Yves Controllers in a new way (since Spryker version 202001)

Enable Yves Punchout routes in src/Pyz/Yves/Router/RouterDependencyProvider.php:

Enable Yves Controllers in a legacy way (before Spryker version 202001)

Register Punchout routes in src/Pyz/Yves/ShopApplication/YvesBootstrap.php:

Enable Zed Controllers in a new way (since Spryker version 202001)

Enable Zed Punchout routes in src/Pyz/Zed/Router/RouterConfig.php:

Troubleshooting

Issue with Auth Token Create Error

The punchout-catalog.error.auth.token.create error may happen if the spy_oauth_access_token.user_identifier field is too small for data which is storing in the field. By default it is varchar(1024).

Solution:

The easiest way to improve it is upgrading the field from varchar(1024) to LONGVARCHAR.

Create a scheme file #1: src/Pyz/Zed/PunchoutCatalog/Persistence/Propel/Schema/spy_oauth.schema.xml:

Create a scheme file #2: src/Pyz/Zed/PunchoutCatalog/Persistence/Propel/Schema/spy_oauth_revoke.schema.xml:

DB upgrade:

vendor/bin/console propel:install

Database Schema Definition

Issue with disappeared PunchOut menu item in admin panel ( related to spryker-eco/punchout-catalogs )

Possible Reason:

Using BREADCRUMB_MERGE_STRATEGY hides all custom menu items which are not defined in the config/Zed/navigation.xml file. See: https://docs.spryker.com/docs/scos/dev/back-end-development/extending-spryker/adding-navigation-in-the-back-office.html#defining-a-navigation-merge-strategy Strategy defined in the src/Pyz/Zed/ZedNavigation/ZedNavigationConfig.php file.

Solution:

Restore menu items for BREADCRUMB_MERGE_STRATEGY easily by adding the following code to the config/Zed/navigation.xml file:

And run the application:build-navigation-cache command if navigation menu is cached (store runs in production mode).

Example of OCI Cart mapping with many custom fields:

Example of OCI Cart mapping with integrated sale_bunch_quantity (and with NEW_ITEM-PRICEUNIT):

Example of OCI Cart mapping with sale_quantity (without NEW_ITEM-PRICEUNIT and divided prices):

sale_quantity = quantity / sales_bunch_quantity

Example of cXML Cart mapping:

Example of cXML Request mapping:


All versions of punchout-catalog-spryker with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
ext-json Version *
ext-mbstring Version *
ext-simplexml Version *
spryker/cart Version ^5.0.0 || ^7.0.0
spryker/customer Version ^7.0.0
spryker/company-user Version ^2.7.0
spryker/company-business-unit Version ^2.9.0
spryker/data-import Version ^1.6.0
spryker/glossary Version ^3.0.0
spryker/glossary-storage Version ^1.0.0
spryker/kernel Version ^3.33.0
spryker/money Version ^2.6.0
spryker/oauth-company-user Version ^2.0.0
spryker/product-storage Version ^1.11.0
spryker/quote Version ^2.0.0
spryker/store Version ^1.1.0
spryker/util-uuid-generator Version ^1.0.0
spryker/vault Version ^1.1.0
spryker/zed-request Version ^3.6.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package punchout-catalogs/punchout-catalog-spryker contains the following files

Loading the files please wait ....