Shopify did this:

That is, they changed the defaults of the variants from having inventory not applicable, to having inventory managed by Shopify and 0 inventory.

Yesterday we had a nice stable system that would programmatically create variants and allow users to add those variants to their cart without a problem.

Today, these variants that were created programmatically through the exact same process prevents people from adding these products to their cart and instead returns an error that no inventory exists for this product.

Changing defaults has tremendous fallout.  While some users may complain that it is an extra step to turn inventory on, it is far better to leave the default in place than it is to change it and force many to adjust and rewrite code to fix this change.

Not only is this not smart, but this is one of the first lessons you learn as a developer.  Pick good defaults before you release the features.  Don’t change them after.  C’mon Shopify, this is a rookie mistake.


December 5th, 2018

Posted In: Uncategorised

Did you know that the 3 cars with the lowest probability of injury in a vehicle accident are all made by Tesla?
Other Benefits Include
Did I mention they come equipped to drive themselves which will continually improve with future software updates?

See you at the SuperChargers!