Skip to content

Commit

Permalink
SDK-245 new product status
Browse files Browse the repository at this point in the history
  • Loading branch information
stiegi committed Dec 7, 2023
1 parent 9f35a08 commit db42890
Show file tree
Hide file tree
Showing 11 changed files with 412 additions and 45 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,9 @@
- Add support for Shopware 6.5, drop support for 6.3 and lower
# 1.1.1
- Raised time between virtual PI and add-to-cart request at product lists from 50ms to 500ms
# 1.2.0
- Add additional product events in cart and wishlist (add, del, add-wl, del-wl)
- Add product status 'checkout' on checkout page
- fix calculation of multiple products during order and checkout
- add contenCategory and ContentSubcategory in datalayer for checkout pages

1 change: 1 addition & 0 deletions E2E/cypress/e2e/01_install-plugin.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ describe("MappIntelligencePluginTests: Install and Config", () => {
"MappIntelligence.config.consent": true,
"MappIntelligence.config.required": false,
"MappIntelligence.config.tiId": "136699033798929",
"core.cart.wishlistEnabled": true
},
}).then(() => {
cy.visit("/");
Expand Down
4 changes: 2 additions & 2 deletions E2E/cypress/e2e/09_order.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ describe("Order tracking", () => {

// SW seems to mix the order of line items randomly
if (data.productId.slice(-3) === "Red") {
expect(data.productCost).to.equal("495.95;295.95");
expect(data.productCost).to.equal("2479.75;887.85");
expect(data.productId).to.equal(
"MAPP10001;MappIntelligence-Variant-product-Red"
);
Expand All @@ -84,7 +84,7 @@ describe("Order tracking", () => {
);
expect(data.productQuantity).to.equal("5;3");
} else {
expect(data.productCost).to.equal("295.95;495.95");
expect(data.productCost).to.equal("887.85;2479.75");
expect(data.productId).to.equal(
"MappIntelligence-Variant-product-Red;MAPP10001"
);
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mapp/intelligence",
"description": "Add your Mapp Intelligence account ID and start tracking. The plugin adds the tracking script and data layer for your customer insights dashboard automatically.",
"version": "1.1.1",
"version": "1.2.0",
"type": "shopware-platform-plugin",
"license": "MIT",
"authors": [
Expand Down

Large diffs are not rendered by default.

Loading

0 comments on commit db42890

Please sign in to comment.