Download the PHP package sukhvir1313/directproductadd without Composer

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

Direct Product Add to Cart

Imagine simplifying the shopping experience for your customers by letting them add products to their cart with just one click. Sounds amazing, right? With the Direct Product Add extension, you can do exactly that! This powerful tool lets you share unique links that allow customers to instantly add products to their cart and redirect them to the cart or checkout page—no extra steps, no hassle.

Simply share these links through email, social media, or blogs, and watch your conversion rates soar. When users click the link, the product is added to their cart automatically, and they’re taken straight to where they need to be. You can even customize whether they land on the cart or checkout page from your admin settings. This streamlined shopping process not only enhances the user experience but also helps drive more sales for your store.

Get started today by downloading Direct Product Add from the Adobe Commerce Marketplace!


How It Works: Creating URLs

The Direct Product Add extension supports a variety of URL formats, making it flexible and easy to use. Here are some examples:

  1. Add a Single Product by SKU

  2. Add a Product with a Specific Quantity

    If the SKU itself contains hyphens, append the quantity as an additional -number segment (for example 24-MB01-2). The module checks whether the complete SKU exists before interpreting the trailing number as the quantity.

  3. Add Multiple Products with Quantities

  4. Add Multiple Products by SKU

  5. Add Products with a Coupon Code

  6. Add a Single Product by Product ID

  7. Add a Product by ID with Quantity

    Example:

  8. Add Multiple Products by ID

    Example:

  9. Add Multiple Products by ID with Quantities

    Example:

  10. Clear the Cart Before Adding New Items
    If you want to empty the cart before adding new items, include the empty parameter:

Why Use Direct Product Add?

Here are some key benefits of the Direct Product Add extension:


Tips for Creating URLs

To ensure the best experience for your users, follow these tips when creating URLs:

  1. Always use simple product SKUs/IDs. If you use configurable product SKUs/IDs, customers will be redirected to the product page instead of the cart.
  2. Use product SKUs/IDs from the correct store view. If the SKU or ID doesn’t match the store, users will be redirected to the homepage.
  3. Respect product cart rules. If the product has a minimum order quantity, customizable options, or is out of stock, the customer will be redirected to the product page so they can adjust the quantity or selections before continuing.

See It in Action

Curious to see how it works? Check out our detailed demo video on YouTube:
Watch the Demo


Live Demo Link

Experience the extension yourself with this demo link. It will directly add a product with sku 24-MB01 to the cart and redirect you to the checkout page:
Try It Now


All versions of directproductadd with dependencies

PHP Build Version
Package Version
Requires php Version ~5.5.0|~5.6.0|~7.0.0|~7.1.0|~7.2.0|~7.3.0|~7.4.0|~8.1.0|~8.2.0|~8.3.0|~8.4.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 sukhvir1313/directproductadd contains the following files

Loading the files please wait ...