Download the PHP package zaius/zaius-magento-2 without Composer

On this page you can find all versions of the php package zaius/zaius-magento-2. 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 zaius-magento-2

Zaius Magento 2 Connector

Integrate Zaius directly into your Magento instance using the Zaius Magento 2 Connector.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

  1. Magento 2 "^2.2.5"
  2. PHP 5 >= 5.5.0, PHP 7
  3. Composer

Installing

Composer

By far the quickest and easiest way to install and maintain the Zaius connector is to use Composer.

  1. Require the Zaius Magento 2 package.
  2. Install the Zaius Magento 2 package.
  3. Finally, make sure the package is up-to-date.

Note for users who have installed previous RC versions

Now that stable releases are available, you may remove these previously-required lines from your <MAGENTO_ROOT>/composer.json file:

"minimum-stability" "RC",
"prefer-stable": true

Alternative install: ZIP

The Zaius PHP SDK is required, and must be installed separately if you've chosen to install via ZIP archive.

Verify & Enable the Zaius Magento 2 Connector

By default, the extension is probably disabled, and you will see output like this:

You should see the following output:

You should see output verifying that the extension is no longer disabled:

API Setup

In order to support the coupon code functionality Zaius utilizes, and to enable the Zaius support team to most effectively troubleshoot any issues, we require an API user be created with access to the Zaius APIs.

Create an appropriate role

In the Magento admin panel, navigate to System > User Roles (under the "Permissions" heading).

  1. Click "Add New Role".
  2. Enter the name "Zaius API".
  3. Click "Role Resources".
  4. Select the "Zaius Engage API" resource.
  5. Click "Save Role".

Create the API user

Still in the Magento admin panel, navigate to System > All Users (under the "Permissions" heading).

  1. Click "Add New User".
  2. Enter the User Name "zaius_api"
  3. Enter any details you like (Zaius recommends a maintainer's details) for name and email.
  4. Create a new password for the user (and make sure to save this in a secure password manager or similar key store).
  5. Click "User Role".
  6. Select the "Zaius API" role you created in the previous section.
  7. Click "Save User.

Save the API User in Zaius

Navigate to the Zaius integration (Settings (cogwheel) > Integrations) page, making sure you're editing the Zaius account this Magento store will be integrating with (Test or Prod, for the appropriate brand if relevant).

  1. Click the "Magento" card.
  2. Select "Magento 2" from the Version dropdown.
  3. Enter "zaius_api" as the Username.
  4. Enter the password you configured in the previous section.
  5. Enter the base Magento API URL, which usually matches your website's root URL.
  6. Click Save.

Zaius does not recommend clicking "Start Bulk Import" at this time. Please consult with your Customer Success Manager to coordinate the bulk import process.

Configuration

After installing the module and setting up the API user, all configuration is done via Stores >> Configuration >> Zaius >> Engage.

Zaius Engage Status

Enabled: Enable or disable the Zaius Engage Connector functionality.

Version: The currently installed version of the Zaius Engage Connector.

Composer Installed?: Checks if Composer is installed. Will ALWAYS be installed for Magento 2 projects.

SDK Installed?: Checks if the Zaius PHP SDK is installed. The SDK is REQUIRED by the Zaius Engage Connector, and installed automatically with Composer.

Zaius Tracker ID: Configuration field for the Zaius client Tracker ID. Found at API Management in the Zaius client Account.

Zaius Private API Key: Configuration field for the Zaius Private API Key. Found at API Management in the Zaius client Account. This is REQUIRED for [Batch Updates](Batch Updates) to work.

Amazon S3

Enable Amazon S3: Enable or disable the Amazon S3 Upload functionality.

Amazon S3 Key: Configuration field for the Zaius Client Amazon S3 Key. Found At Integrations in the Zaius Client Account. This is REQUIRED if Amazon S3 functionality is enabled.

Amazon S3 Secret: Configuration field for the Zaius Client Amazon S3 Secret. Found At Integrations in the Zaius Client Account. This is REQUIRED if Amazon S3 functionality is enabled.

Settings

Global ID Prefix: If provided, this prefix will be added to all product, customer, and order IDs sent from the corresponding store view. This is rarely needed, but may be helpful in complicated multi-store configurations. Typically your Zaius CSM will recommend this if your setup will benefit.

Zaius Newsletter List ID: When an end user subscribes to, or unsubscribes from, the Magento newsletter on this store view, the subscription will be synced with the provided list within Zaius.

Collect All Product Attributes: Enable or disable the functionality to collect all product attributes defined in the default attribute set, or only the Zaius-curated minimum. If your product feed has fields which are not yet captured in Zaius, you will likely need to turn this on, ensure that field is added to the default attribute set, and create a corresponding custom field in Zaius. For more detail, see "Collecting additional product attributes"

Timeout: Specify a number of seconds to wait before timing out the connection to Zaius.

Schema Update

Update Schema: When this button is clicked, Magento will use the provided API keys (in the Zaius Engage Status section) to assess your objects and fields within Zaius, and will create any fields which are needed for the Magento integration's core functionality.

Zaius Localizations

Enabled?: Enable or disable the Zaius Localizations functionality. With Zaius Localizations functionality enabled, localized store_view data will be sent to Zaius. Please consult with your Zaius CSM before enabling.

Collecting additional product attributes

The “Collect all product attributes” feature is limited to collecting all attributes in the “default” attribute set. This attribute set is user-configurable and therefore can include custom attributes, but if you are using multiple distinct attribute sets AND some products are still on the default, you might run into limitations. Specifically, if a custom attribute is a required field, but only for products which use a particular attribute set, adding this attribute to the default set would cause products which don’t have their own attribute set to require an irrelevant field.

If an attribute is required and cannot be added to the default attribute set, the missing attributes can be exported and uploaded as a separate CSV.

If the “default” attribute set is NOT applied to any products, or if the desired attributes are required values, simply add the missing attributes to the default attribute set and enable "Colled all product attributes.

Adjusting the Default Atrribute Set

To add attributes to the Default attribute set, the user will need to log into the Magento admin. From here they should:

  1. Navigate to Stores > (Attributes section) Attribute Set
  2. Click the “Default” set (you can use the search bar to find it if needed)
  3. (Recommended, not required): in the middle “Groups” section, click “Add New” and create a new group called “Zaius Field Import”. This will allow you to group the attributes under a separate heading in the catalog which will be unexpanded and nonintrusive.
  4. In the right-hand “Unassigned Attributes” section, click and drag any missing attributes into the middle “Groups” section. If you did step 3, add the missing attribute to the “Zaius Field Import” group; otherwise, wherever makes sense to you.
  5. Click Save. The following steps are not strictly required, but seemed to refresh the connector’s view of the product feed in some environments:
  6. Navigate to Stores > (Attributes section) Product
  7. Find and click on any one of the previously missing attributes.
  8. Click the “Save Attribute” button (you need not make any changes).

Finally, ask Zaius Support to reimport your product feed to ensure the new fields are populated for all existing products.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Release Notes

1.0.4 - 2019-11-27: Stabilization fix

1.0.3 UNSTABLE - 2019-11-22 Hotfix: Respect tracking IDs

1.0.2 UNSTABLE - 2019-11-21 Hotfix: Remove checkout dependency on SDK

1.0.1 UNSTABLE - 2019-11-19 Bugfix: Parent Products and Minicarts

1.0.0 - 2019-07-23 - Initial Release

License

This project is licensed under the MIT License - see the LICENSE file for details.


All versions of zaius-magento-2 with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5
zaius/zaius-php-sdk Version ^1.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 zaius/zaius-magento-2 contains the following files

Loading the files please wait ....