Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
hf
9 years ago
Commit
d71228a255e14fa742a35acf2842cee2464a5463
1 parent
00735342
code review by fei.hong: do add criteo analysis codes
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
yohobuy/www.yohobuy.com/application/models/Shopping/Cart.php
yohobuy/www.yohobuy.com/application/models/Shopping/Cart.php
View file @
d71228a
...
...
@@ -199,7 +199,7 @@ class CartModel
$result
[
'ids'
]
=
empty
(
$analysisData
[
'ids'
])
?
''
:
implode
(
','
,
$analysisData
[
'ids'
]);
$result
[
'ipinyou'
]
=
empty
(
$analysisData
[
'ipinyou'
])
?
''
:
$analysisData
[
'ipinyou'
];
$result
[
'ipinyouAmount'
]
=
isset
(
$result
[
'productAllA'
])
?
$result
[
'productAllA'
]
:
'0.00'
;
$result
[
'criteo'
]
=
empty
(
$analysisData
[
'criteo'
])
?
''
:
json_encode
(
$analysisData
[
'criteo'
]);
$result
[
'criteo'
]
=
empty
(
$analysisData
[
'criteo'
])
?
"''"
:
json_encode
(
$analysisData
[
'criteo'
]);
return
$result
;
}
...
...
Please
register
or
login
to post a comment