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
Rock Zhang
9 years ago
Commit
a4d78e362d8b7023dcb12afc9528bbd72c0af159
1 parent
6eb009f9
修改加价购或者赠品详情的尺码与颜色的数据结构
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
library/Plugin/Helpers.php
yohobuy/m.yohobuy.com/application/models/Index/Cart.php
library/Plugin/Helpers.php
View file @
a4d78e3
...
...
@@ -570,6 +570,7 @@ class Helpers
$oneGoods
=
array
();
foreach
(
$cartGoods
as
$key
=>
$value
)
{
$oneGoods
=
array
();
$oneGoods
[
'id'
]
=
$value
[
'product_sku'
];
$oneGoods
[
'skn'
]
=
$value
[
'product_skn'
];
$oneGoods
[
'name'
]
=
$value
[
'product_name'
];
...
...
yohobuy/m.yohobuy.com/application/models/Index/Cart.php
View file @
a4d78e3
...
...
@@ -662,9 +662,9 @@ class CartModel
$colorNum
+=
$one
[
'storage_number'
];
$sizeStorageStr
.=
$one
[
'storage_number'
]
.
'/'
;
$sizeList
[
$val
[
'
color_id
'
]][]
=
$oneSize
;
$sizeList
[
$val
[
'
product_skc
'
]][]
=
$oneSize
;
$colorStorageGroup
[
$
one
[
'productSkc'
]][
$val
[
'sizeName'
]]
=
$val
[
'storage_number'
];
$colorStorageGroup
[
$
val
[
'product_skc'
]][
$one
[
'size_name'
]]
=
$one
[
'storage_number'
];
}
// 颜色
...
...
Please
register
or
login
to post a comment