Download the PHP package blackbird/repopulatecart without Composer

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

Blackbird_RepopulateCart

The Blackbird_RepopulateCart module for Magento allows you to easily add products to the cart directly from a URL. This can be helpful for promotional links, order fulfillment, or custom checkout flows.

Features

  1. Add Simple Products by ID and Quantity
    You can add multiple simple products to the cart by using a URL with specific item IDs and quantities.
    Example URL:
    https://yourstore.com/repopulate/index/index/itemIds/3584;23698/qties/1;3

In this example, product IDs 3584 and 23698 will be added to the cart with quantities 1 and 3, respectively.

  1. Add Products by SKU
    Products, either simple or configurable, can be added to the cart using their SKU in the URL.
    Example URL for a simple or configurable product:
    https://yourstore.com/repopulate/add/sku/SPCKU00304-M000-XXS

This URL will add the product with SKU SPCKU00304-M000-XXS to the cart.

  1. RepopulateCartUrlServiceInterface
    The module also provides a service interface, RepopulateCartUrlServiceInterface, that can be used to generate URLs dynamically. You can create URLs from an existing order or cart, which can be useful for custom integrations, marketing campaigns, or customer-specific checkout flows.

Installation

Zip Package:

Unzip the package in app/code/Blackbird/RepopulateCart, from the root of your Magento instance.

Composer Package:

Install the module

Go to your Magento root, then run the following Magento command:

If you are in production mode, do not forget to recompile and redeploy the static resources, or to use the --keep-generated option.

Contact

For further information, contact us:

Authors

License

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

That's all folks!


All versions of repopulatecart with dependencies

PHP Build Version
Package Version
Requires magento/framework Version >=100.0.0
magento/module-catalog Version >=100.0.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 blackbird/repopulatecart contains the following files

Loading the files please wait ....