Skip to content

v2.0.0

Compare
Choose a tag to compare
@ruscoe ruscoe released this 27 Feb 17:55
· 46 commits to master since this release

Adds product URLs to support product recommendations.

POTENTIALLY BREAKING CHANGE

The addProduct() signature contains a new parameter: $url. This may affect you if you have custom code using this method.

WAS: addProduct($store_id, $id, $title, $variants = [], $parameters = [])

NOW: addProduct($store_id, $product_id, $title, $url, $variants = [], $parameters = [])

v2.0.0-package.zip contains the library and dependencies normally installed via Composer.