Skip to content

Commit 53563ed

Browse files
author
Henrique Almeida
committed
[fix/site-2566] Improvements to the datalayer view_item
1 parent 6fab893 commit 53563ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sourei/sections/Analytics/Sourei.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ const snippet = () => {
3434
...rest,
3535
quantity,
3636
discount: rounded(discount),
37-
price: rounded(price + discount),
37+
price: rounded(price),
3838
});
39-
const fixIndex = ({ index, ...rest }: any) => ({ ...rest, index: index + 1 });
39+
const fixIndex = ({ index, ...rest }: any) => ({ ...rest, index: index });
4040
globalThis.window.DECO.events.subscribe((event) => {
4141
if (!event) {
4242
return;

0 commit comments

Comments
 (0)