# Changelog

{% hint style="info" %}
We recommend always using the latest version of our extension. We often add features for older Shopware versions, but we only guarantee full functionality with new Shopware 6 major versions. If you are missing a feature in an outdated Shopware version or need assistance updating to a new Shopware version, please feel free to contact us!
{% endhint %}

## Version 9.5.0

* Affiliate codes can now also be used as promotion codes if desired
* In the administration, you can now view a list of all assigned lifetime customers for each affiliate
* All assigned lifetime customers can now be easily transferred to another affiliate
* Date format updated in the affiliate dashboard
* Optimized the process of adding products to affiliate product groups via dynamic product groups
* Added loading animations
* Statistics in the administration area have been optimized
* Charts in the affiliate dashboard updated

## Version 9.4.1

* Optional configuration to set the synchronization period implemented

## Version 9.4.0

* Affiliate provisions can now optionally be restricted to specific customer groups
* The automatic promotion can now also use the promotions assigned to affiliates
* Further optimizations

## Version 9.3.0

* Export function in the administration area significantly optimized
* Optional option to deactivate synchronization conditions (e.g., for shops with user-defined order statuses)
* Further optimizations

## Version 9.2.0

* Multiple promotions can now be assigned to an affiliate
* There are now options for easily sharing the affiliate link (WhatsApp, Telegram, WebShare)
* Numerous additional explanatory texts have been implemented
* If payout requests are disabled globally, the IBAN/BIC fields are now also hidden
* Further optimizations

## Version 9.1.0

* An individual separator can now be specified for export files

## Version 9.0.1

* Optimization of the route for transaction documents
* Optimized transaction document

## Version 9.0.0

* Compatibility with Shopware 6.7

## Version 8.6.0

*for Shopware 6.6.x*

* Affiliate provisions can now optionally be restricted to specific customer groups
* The automatic promotion can now also use the promotions assigned to affiliates
* Further optimizations

## Version 8.5.0

*for Shopware 6.6.x*

* An individual separator can now be specified for export files

## Version 8.4.4

*for Shopware 6.6.x*

* Optimization of the route for transaction documents
* Optimized transaction document

## Version 8.4.3

*for Shopware 6.6.x*

* Optimization of the automatic promotion for Shopware 6.6

## Version 8.4.2

* Resolved a bug where balances over 1,000 € blocked payout creation

## Version 8.4.1

* Optimization of promotion code tracking
* Performance optimizations

## Version 8.4.0

* Significant optimizations to tracking
* Shopware caching for certain server configurations is now bypassed
* Further optimizations

## Version 8.3.3

* Performance optimized
* Plugin configuration optimized
* Charts updated

## Version 8.3.2

* Listing of the best-selling products of affiliates optimized
* Further optimizations

## Version 8.3.1

* If "VAT exempt" is activated in the extended master data of an affiliate, VAT is no longer shown on payout receipts
* Optimized display of affiliate links in CMS blocks
* Edge case check for affiliates who have set themselves as permanent affiliates

## Version 8.3.0

* Custom field implemented with which individual affiliates can be excluded from the configuration "Only the first affiliate order of a customer should be provisioned"
* Further optimizations

## Version 8.2.0

* Partial payouts are now possible
* Optimized payout documents
* Twig blocks added

## Version 8.1.1

* Sending emails optimized

## Version 8.1.0

* In addition to using the filters, a targeted search in the administration lists is now also possible
* Further optimizations

## Version 8.0.1

* Customization and correction for the Flow Builder

## Version 8.0.0

* Compatibility with Shopware 6.6
* Extensive performance and code optimizations
* Rare error in determining the lifetime affiliate corrected
* Further optimizations

## Version 7.5.3

*for Shopware 6.5.x*

* Resolved a bug where balances over 1,000€ blocked payout creation

## Version 7.5.2

*for Shopware 6.5.x*

* Optimization of promotion code tracking
* Listing of the best-selling products of affiliates optimized
* Performance optimizations
* Further optimizations

## Version 7.5.1

*for Shopware 6.5.x*

* If "VAT exempt" is activated in the extended master data of an affiliate, VAT is no longer shown on payout receipts
* Optimized display of affiliate links in CMS blocks
* Edge case check for affiliates who have set themselves as permanent affiliates

## Version 7.5.0

*for Shopware 6.5.x*

* Custom field implemented with which individual affiliates can be excluded from the configuration "Only the first affiliate order of a customer should be provisioned"
* Further optimizations

## Version 7.4.0

*for Shopware 6.5.x*

* Partial payouts are now possible
* Optimized payout documents
* Twig blocks added

## Version 7.3.1

*for Shopware 6.5.x*

* Sending emails optimized

## Version 7.3.0

* The name of lifetime affiliates can now also be used in email templates (Variable: customer.extensions.cogiLifetimeAffiliate.firstName/lastName)
* Promotions with individual promotion codes can now also be assigned to affiliates
* Fixed an error when a new affiliate applies
* Further optimizations

## Version 7.2.0

* When promoted by an affiliate, a promotion can now optionally be added to the shopping cart

## Version 7.1.0

* Affiliate application can now optionally be restricted to certain customer groups
* Optional listing of the most advertised products for affiliates
* Sales channel identification optimized
* Snippet optimized
* Significant code optimizations

## Version 7.0.2/7.0.3

* Troubleshooting a session problem

## Version 7.0.1

* Optimizations
* Correction in the affiliate area

## Version 7.0.0

* Payouts are now also optionally possible via voucher codes
* If the number of days to wait is 0, the credit for completed transactions can now be paid out immediately
* Configuration notes are now displayed correctly again
* The statistics for orders per day now only take into account transactions with an assigned order
* The bar chart for provisions paid out per day now only takes into account completed payouts
* Display in payout document corrected
* It can now be set individually for each affiliate whether they can make payout requests or pay out in voucher codes
* You can now configure whether automatic payouts are permitted for each affiliate
* Clicking on the affiliate in the affiliate transaction list now opens the new affiliate detail view
* Significant code optimizations and other adjustments

## Version 6.4.0

* Sorting in the selection of affiliates optimized
* The new affiliate detail view is now opened by default when editing
* Command line commands optimized
* Payouts can now be made more conveniently in the administration area
* Different URL parameters for affiliate links can now be set per sales channel
* Optimization of the credit balance display in the administration area
* The minimum payout amount can now be set per sales channel
* API routes optimized
* Further optimizations

## Version 6.3.0

* Affiliate detail view for administrators
* Statistics for the number of orders per day for administrators
* Optional line chart with orders per day for affiliates
* Optional bar chart with payouts per day for affiliates
* Affiliate links can now be optionally deactivated
* Error correction for net customer groups
* Configurations optimized
* Further optimizations

## Version 6.2.0

* Duration of the assignment of permanent affiliates can now be limited in time\
  \&#xNAN;*(Important: Affiliate assignment dates are only saved since the update)*
* Optimized overviews in the administration area

## Version 6.1.1

* Option to overwrite the affiliate cookie implemented

## Version 6.1.0

* Cookie integration including Consent Manager
* Optional calculation based on net product prices can be activated
* Improvement of hints
* Event for affiliate tracking changed
* Further optimizations

## Version 6.0.1

* Optimization of the credit display

## Version 6.0.0

* Compatibility with Shopware 6.5
* Added promotion filter for searching affiliates
* Implemented credit display in the administration area
* Loading animations implemented
* Added names for flows
* Configuration and hints optimized
* Code optimizations

## Version 5.3.0

*for Shopware 6.4.x*

* Duration of the assignment of permanent affiliates can now be limited in time\
  (Important: Affiliate assignment dates are only saved since the update)

## Version 5.2.1

* Option to overwrite the affiliate cookie implemented

## Version 5.2.0

*for Shopware 6.4.x*

* Cookie integration including Consent Manager
* Optional calculation based on net product prices can be activated
* Improvement of hints
* Event for affiliate tracking changed
* Further optimizations

## Version 5.1.0

* Implementation of payout documents that can be generated for payout requests and automatic payouts\
  (Transactions before the update may be incorrectly listed on documents. Recommendation immediately after update:\
  ``UPDATE `ca_transaction` SET `document_noted` = 1 WHERE `status` = 'completed')``
* Payment requests by affiliates can be deactivated
* Display of order numbers for affiliates can be deactivated
* Bug fixing of product link displays
* Code optimizations

## Version 5.0.1

* Bug fixing in the SEPA XML export
* Affiliate selection in the order process optimized
* Snippets optimized

## Version 5.0.0

* Added command bin/console cogi-affiliate:create-payouts to automatically convert open balances to payouts
* Implemented export of payouts as SEPA XML file
* Implemented automatic sending of SEPA XML file when command is executed
* E-mail notification of new transactions to affiliates can be activated
* E-mail notification of new transactions to store owners can be activated
* Flow Builder trigger extended
* Optimization of e-mail templates
* Fixing a bug in the uninstallation of the extension
* Typo corrected
* Performance optimizations

## Version 4.1.0

* New affiliates can now be accepted automatically after an application if desired
* Enable compatibility with affiliate marketing extensions
* Twig blocks added for better customization
* Custom fields optimized
* Configurations optimized
* Code and performance optimizations

## Version 4.0.0

* Affiliate product groups can now also be assigned to affiliates
* This allows affiliates to be provisioned even more flexible than before
* If a parent product was defined in an affiliate product group, all variants will now be provisioned by default (Caution! Can lead to change of the provisioning and can be changed in the configuration)
* Further optimizations

## Version 3.4.0

* Product names are now specified in the exported CSV file for advertised products
* Extended master data for affiliates can now be stored
* Further optimizations

## Version 3.3.2

* New configuration which allows to provision only the first affiliate order of a customer

## Version 3.3.1

* Creation of affiliates optimized
* New configuration option for displaying affiliate links

## Version 3.3.0

* Implemented email notification for store owners on payout requests from affiliates
* Email templates optimized
* Emails sent with Flow Builder corrected
* Affiliate links encoded with special characters are now also displayed correctly
* Further optimizations

## Version 3.2.0

* Implemented filters for affiliate transactions
* Corrected sorting by number of orders in the list of affiliates
* Transaction assignment optimized
* Display of domain in affiliate area is now always based on currently called domain
* Affiliate links are now displayed if fallback provision is enabled

## Version 3.1.1

* Compatibility with Shopware 6.4.10.0

## Version 3.1.0

* Function for optional consideration of discounts in provision calculation implemented
* Custom Field Set added
* Affiliate template in the administration area adjusted
* For new promoted orders, the advertised products and the itemized provision value are now also saved (to be used exclusively for statistics)
* The data for old orders can be subsequently determined via the console with "bin/console cogi-affiliate:compute-transaction-products"
* Note: When calculating products for old orders, multipliers according to the number of orders are not taken into account - the affiliate product group provision values will be computed according to their current settings
* Export of advertised products with individual provision values as CSV file in the administration area
* Advertised products can also be exported as CSV files by affiliates if desired
* Further optimizations

## **Version** 3.0.0

* Email notifications implemented
* Flow Builder implemented
* Extension configuration reworked
* Documentation included
* Affiliates can now be deleted safely
* Affiliate product groups can now be deleted safely
* Affiliate product groups detail view optimized
* Bugfix when adding products from dynamic product groups
* Various other optimizations

## **Version 2.4.0**

* A minimum amount that an affiliate must reach to receive their own payouts can now be set

## **Version 2.3.0**

* Implemented possibility to manage permissions by using roles in the administration
* Added logger for scheduled tasks
* Code optimisations
* New app icon

## **Version 2.2.1**

* Multiple performance optimisations for larger online shops
* Fixed display error in the affiliates' overview

## **Version 2.2.0**

* Affiliates' commissions can now be automatically increased or decreased according to the number of placed orders&#x20;
* Amount of promoted orders per affiliate can now be displayed and exported
* Implemented option to synchronise the number of advertised orders
* IBAN and BIC of affiliates are now exported to CSV files
* Explanatory texts have been expanded and updated
* Updated translations

## **Version 2.1.2**

* Bug fix for affiliate routes in the storefront

## **Version 2.0.03**

* Bug fix for affiliate routes in the storefront for Shopware 6.3

## **Version 2.1.1**

* Bug fix of a rare error in the transaction overview beginning with Shopware 6.4

## **Version 2.0.02**

* Bug fix of a rare error in the transaction overview in Shopware 6.3

## **Version 2.1.0**

* Individual commission surcharges or deductions for affiliates are now possible
* Optimised editing of affiliates
* It can now be selected whether the selection of an affiliate or the permanent affiliate is prioritised
* Configuration to allow the use of your own affiliate codes
* Notification about commission expiry when using your own affiliate code now takes all configurations into account
* Implemented multiplier in the affiliate export
* Bug fix when exporting affiliate transactions (s. 2.0.01)
* Updated translations
* Code optimisations

## **Version 2.0.01**

* Bug fix for exporting affiliate transactions (for <= Shopware 6.3)

## **Version 2.0.2**

* (Non-critical) bug fix for updates from a previous version

## **Version 2.0.1**

* Compatibility with Shopware 6.4.0

## **Version 2.0.0**

* It is now possible to select the attribute that is displayed when selecting an affiliate during the ordering process
* Code optimisations
* Export functions now support more than 25 entries
* Optimised affiliate overview in the administration area

## **Version 1.9.0**

* Affiliate transactions can now be exported as a CSV file
* Affiliate product groups can now be exported as a CSV file
* Affiliate partners can now be exported as a CSV file
* Added Twig blocks

## **Version 1.8.0**

* The transaction status can now be synchronised automatically every half an hour! To do this, simply go to the app configurations and adjust the desired settings. However, please try out this feature in a test instance first. With older Shopware versions, it may be necessary to activate the *Scheduled Task* in the database table. Please contact us if you have any questions!
* Extended transaction list&#x20;
* Further optimisations

## **Version 1.7.1**

* Partner applications and the affiliate partner area can now be activated and deactivated individually for each sales channel
* Extended help texts

## **Version 1.7.0**

* From now on, the URL scheme for affiliate links can be adjusted
* Minor bug fixes

## **Version 1.6.0**

* Easily add products from dynamic product groups to affiliate product groups!

## **Version 1.5.2**

* Integration of CogiProfessionalFilters
* Minor bug fixes

## **Version 1.5.1**

* Error correction when using voucher codes

## **Version 1.5.0**

* A permanent affiliate function can now be activated in the app configurations
* Fixed bug in the discount distribution

## **Version 1.4.0**

* From now on, products from categories can be added to affiliate product groups simply with one click!

## **Version 1.3.0**

* Affiliates can now be added manually in the backend<br>

## **Version 1.2.0**

* Discount codes can now be assigned to affiliates
* Updated translations&#x20;

## **Version 1.1.0**

* A customer can now select an affiliate in the ordering process
* Added notification when an affiliate places an order with their own affiliate code

## **Version 1.0.0**

First version of the CogiAffiliate-App for Shopware 6


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.codegiganten.de/plugin-documentation/en/apps/affiliate-marketing/changelog.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
