All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Added a space between commas when formatting variant option names and values
- Fixed an issue with line item prices showing the wrong value when they were sent to Vend and had tax removed with a line item discount on them as well.
- Fixed an issue with line item prices not showing the sale price minus the removed tax when being sent to Vend.
- Changed how the tax gets dealt with when registering a sale with Vend, now it takes into account removed tax rules.
- Added the enabled status of the current product to the Feed Me API if the product already exists.
- Fixed an issue where Feed Me stopped working with Commerce products that had unlimited stock set to null - now the API that Feed Me uses returns 0 or 1 as strings which seem to work.
- Fixed an issue where order dates weren’t being sent to Vend with time zones. The format now conforms to RFC3339.
- Fixed an issue where order level discounts weren’t showing the tax inside them
- Fixed an issue introduced in 2.5.4 where order level discounts would also include line item level discounts, now they don’t
- Fixed line item level discounts which were being sent to Vend as a negative amount as well as with the wrong price value
- Added a config option to cascade feed me:
'cascadeFeedMe' => false
- Fixed an issue with sending orders that have a partial refund on them.
- Fixed a bug with checking composite product data.
{note} This release will require you to add both new composite fields to the entries layout, the composite parent IDs field to your variants and re-map both the core entries and product feeds to take these into account {note} You will also need to add the new composites feed
- Added full support for composite products - now they update stock on sync, webhook and Craft product saves.
- Added a check for an existing order ID when sending orders to Vend so we don’t accidentally send the same order more than once.
- Added user permissions to all the CP nav items.
- Fixed an issue where failed Vend API requests weren’t logging the exception properly.
- Fixed an issue where composite products from Vend weren’t getting any stock on sync.
- Fixed an issue where discounts that removed all shipping costs from the order were not removing shipping costs from the order in Vend.
- Fixed the issue where API requests running via the console couldn’t refresh the access token if needed - again.
- Fixed an issue where if Vend orders contained products that had been deleted they may start showing up as "Not a Vend order" in the order index.
- Fixed an issue where API requests running via the console couldn’t refresh the access token if needed.
- Moved the register sale trigger to a queue job delayed by 30s, this should clean up most race condition circumstances when the order saving gets delayed after purchase.
- Fixed an issue with more recent versions of Craft and fetching products from the Entries channel to import.
- Added
preRunAction
config variable that lets you trigger a POST request to an action of your choice before the run feed action is called. The action requested must return JSON withsuccess:true
in the payload for it to continue.
{note} After installing this update make sure to add the new Vend Date Created field to the field layout on the Vend Products section. {note} You will also need to map the new Vend Date Created field in the Vend products Feed Me feed - this should be set to the
dateCreated/date
option on the element mapping screen.
- Added a new Vend Date Created field to the Vend Products section and modified the product import API to sort by date created.
- Updated the fast feed tools to have an ordering options - you can now order by Date Created or Date Updated.
- Fixed an issue where the Commerce product feeds wouldn’t cascade as quickly as they could.
- Fixed changelog for 2.2.0.
- Fixed schema version not being bumped for previous release.
{note} After installing this update make sure to add the new Vend Date Updated field to the field layout on the Vend Products section. {note} You will also need to map the new Vend Date Updated field in the Vend products Feed Me feed - this should be set to the
dateUpdated/date
option on the element mapping screen.
- Added a new Vend Date Updated field to the Vend Products section and modified the product import API to sort by date updated.
- Added a new import API for running faster feeds - this still requires the full Vend product import but then after that skips the inventory feed and instead processes all the Commerce product import feeds with a limit set from one of the new CP tools.
- Added two tools that let you run the full or fast feed from the Dashboard via two new widgets or from the Vend > Sync CP tab.
- Feed Me feeds now cascade so that you only need to start the Vend products feed. After that finishes the inventory and Commerce product import feeds will start up on their own.
- Added a link out to the order in the Vend sales screen for valid Vend orders - currently only visible in the orders index if the Vend Order ID field has been added to the view.
- Fixed an issue where the Vend Customer on guest orders wasn’t getting sent to Vend with the order.
- Fixed an issue where guest orders weren’t getting sent to Vend because there wasn’t a User to save the resulting Vend Customer ID on to.
{note} After installing this update make sure to add the new Vend Order ID field to the Order field layout in Commerce > System Settings > Order Fields.
- Added the ability to send an order to Vend from the CP order edit view.
- Added a new Vend Order ID field.
- Now storing the Vend Order ID on the Commerce Order after registering a sale.
- Fixed logging in webhook and redirected the output to our own file.
- Changed
hasStock
tohasUnlimitedStock
which istrue
if the Vendhas_inventory
field isfalse
.
- Added
optionValueOrName
andhasStock
to variant JSON in feeds.
- Fixed an issue where live environments couldn’t access the parked sales screen.
- Changed how orders are validated before sending to Vend, now it only sends orders that wholly have Variants with product IDs on them. If there is a missing product ID or another kind of purchasable in there then it won’t send.
- Added parked sales for when a sale fails to go through. Add an email in commerce to handle these then select it in the plugin settings.
- Added some instructions for which URLs to use with Feed Me.
- Un-pinned the oauth client version now its been fixed upstream (PR).
- Fixed a missing
setFieldValue()
.
- Allow Commerce 2 or 3 to be installed.
- Sales will now be registered with Vend if the option is switched on in the general settings.
- Added shipping settings.
- Fixed an issue with the oauth client by pinning it to version 2.1.2.
- Added Vend tags to the import profiles.
- Added Vend customer group setting.
- Fixed an issue where the discount product was being imported.
- Initial, nearly fully functional release.