Download the PHP package ckreidl/woo-dimension-check without Composer

On this page you can find all versions of the php package ckreidl/woo-dimension-check. 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 woo-dimension-check

woo-dimension-check

woo-dimension-check is a library that helps to identify WooCommerce products with no weight, length, width, or height.

Installation

composer require ckreidl/woo-dimension-check

Usage

Example

Background

I ran into some issues where the shipping calculators we were using wouldn't play nicely if items didn't have weights and/or measures entered. For example:

  1. Customer adds widget A to their cart, which doesn't have dimensions or a weight listed
  2. Customer proceeds to checkout
  3. Shipping calculator, not knowing the size or weight of widget A, declines to show them shipping options

Meanwhile, another customer adds the same widget A as well as widget B, which does have weight & dimensions

  1. Customer adds widget A to their cart, with no weight or dims
  2. Customer adds widget B, with weight & dims
  3. Shipping calculator defaults to 0 for widget A, solely calculating shipping based off weight and dims of widget B

We can go back and forth all day about what the default behavior should be when an item without this information is encountered. It's my opinion that the database should have that information, so I wrote this little tool to identify items that don't have that data entered.

License

GPL 3.0


All versions of woo-dimension-check with dependencies

PHP Build Version
Package Version
Requires automattic/woocommerce Version ^3.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 ckreidl/woo-dimension-check contains the following files

Loading the files please wait ....