购物车列表-new
GET
route=checkout/cart_info/getHomePickCartList
响应参数说明
参数名
类型
描述
必填
code
int
示例:200
必填
msg
string
示例:Successfully.
必填
id
int
店铺id 用于生成店铺链接以及发送信息的链接
必填
name
string
店铺名称 ,,示例:jintangli&&*
必填
code
string
店铺code ,,示例:W206
必填
is_available
boolean
店铺是否可用,,示例:true
必填
is_connect
boolean
当前buyer是否和seller建立了联系 ,,,示例:true
必填
id
int
/index.php?route=account/marketing_time_limit/sellerOnSale&id={id},max_discount字段存在的时候用这个url,,,示例:529
必填
name
string
示例:端午限购5个
必填
max_discount
int
示例:30
必填
low_qty
int
示例:5
必填
transaction_type
string
示例:0
必填
tranactionTypeMsg
string
示例: Applied when Purchase Qty >=5 Pcs in Normal transactions only
必填
transaction_type_format
string
示例:Normal
必填
effective_status_name
string
示例:Expired
必填
effective_status
int
示例:6
必填
color_status_name
string
示例:oris-bg-info
必填
cart_id
int
示例:1719950
必填
id
int
产品id,示例:3334221
必填
sku
string
产品sku,示例:W206S00063
必填
product_name
string
产品名称,示例:TEST_REPEAT_COM01<1
必填
icon
string
图标地址,,示例:/image/product/combo-img.png
必填
description
string
描述,,,示例:Combo Item
必填
product_image
string
产品图片,,,示例:https://btbfile.oss-cn-hongkong.aliyuncs.com/image/wkseller/33/20211205_afbd91c5364510380c9b0f49d702d835.jpg
必填
product_type
int
product_type产品类型 0-常规 1-现货保证金 2-期货保证金 3 补运费
必填
product_thumb
string
缩略图
必填
is_available
boolean
后端根据该字段用来分组的,前端可以忽略,,,示例:true
必填
has_contact
boolean
是否和seller建立了联系,用于不可见物品的提示判断,详情参考最下方的说明
必填
transaction_type
int
交易方式,0-普通 1-返点 2-现货 3-期货 4-议价
必填
transaction_type_name
string
交易类型 格式化后的 如"Normal Transaction"
必填
stock_type
int|null
采购方式 1随机,2指定
必填
stock_type_str
string
采购方式格式化的文本,
必填
stock_distribution
数组对象 | N/A
仓库分布信息,,,示例:N/A 或者 返回[{"warehouse_code":"CA1", "qty":20, "wh_id":1},{"warehouse_code":"CA1", "qty":20, "wh_id":1}]
必填
warehouse_code
仓库code ,,示例:CA1
必填
qty
库存数量 ,示例: 20
必填
wh_id
仓库id
必填
is_exception
bool
该仓库分布是否异常了
必填
qty_type_str
string
库存类型
必填
qty
int
商品合计QTY
必填
saleable_qty
可售库存qty
必填
default_price
float
商品原价(打折前),,,示例:56.5
必填
price
float
产品价格,,,示例:56.5
必填
is_custom
boolean
是否精细化价,,,示例:false
必填
service_fee
float
服务费(欧洲需要展示这个),,,示例:56.5
必填
product_value
int
货值(欧洲需要展示这个),,,,示例:0
必填
use_tired_price_id
int
阶梯价id,如果没有阶梯价,use_tired_price_id= 0,,,,示例:0
必填
id
id = 0时,是普通价,
必填
price
需要展示的价格
必填
min_quantity
必填
max_quantity
必填
msg
后端格式化的展示,如15 - 24 PCS
必填
selected
bool
是否要选中
必填
use_discount
int/null
产品最大折扣,返回的是null | int
必填
is_use_discount
boolean
是否使用了折扣,true / false((存在折扣时,需要展示商品原价,划上横线))
必填
show_tiered_pricing
boolean
购物车原有的字段
必填
stock_cloud_fee
int
出云费
必填
code
string
{{ url('marketing_campaign/activity/index', {'code':campaign.code}) }},用于生成URL,,,示例:233344141239342
必填
promotion_content
string
标题和图片内容,,,示例:Save $1 for every $11 spent
必填
seller_id
int
seller的id,用于获取store_info的信息,,,,示例:33
必填
id
int
示例:33
必填
name
string
示例:jintangli&&*
必填
code
string
示例:W206
必填
is_available
boolean
示例:true
必填
is_connect
boolean
示例:true
必填
total_price
float
商品Total
必填
status
必填
add_price
The price will go up by {{ product.priceUp.add_price }}
必填
effect_time
倒计时,之前的代码是用在jq里面
必填
qty_exception
bool
数量异常
必填
stock_exception
bool
仓库分布异常
必填
is_with_drop_ship_performer
bool
自付运费Buyer共同履约,为一件代发Buyer签署的现货协议付尾款
必填
exception_msg
string | null
异常提示, (现货协议待付尾款数量已变化,请重新编辑。/现货协议剩余未支付尾款数量的仓库分布已发生变化,请重新编辑。)
必填
id
int
示例:8425
必填
name
string
示例:LMK-002-8026d4da05eecbb02074c47129195eea
必填
code
string
示例:LMK002
必填
is_available
boolean
示例:true
必填
is_connect
boolean
示例:false
必填
cart_id
int
示例:1719889
必填
id
int
示例:3336572
必填
sku
string
示例:W43435
必填
product_name
string
示例:wfaf
必填
product_tags
array
数据列表
必填
product_image
string
示例:https://btbfile.oss-cn-hongkong.aliyuncs.com/image/wkseller/8425/20220526_b0b2e5b78952b4921771374897701697.jpg
必填
product_type
int
产品类型 0-常规 1-现货保证金 2-期货保证金 3 补运费
必填
product_thumb
string
缩略图
必填
is_available
boolean
示例:false
必填
has_contact
boolean
是否和seller联系,(用在 不可用的产品分组中,,区分不可用类型,true时,You have not established contact with the Seller. You can affiliate with the Seller to get the price and quantity available.当为fasle时, This product is unavailable, and you can contact the Seller for details.)
必填
transaction_type
int
示例:0
必填
transaction_type_name
string
示例:
必填
procurement_method
string
示例:
必填
stock_distribution
string
示例:N/A
必填
qty
int
示例:1
必填
default_price
int
示例:0
必填
price
int
示例:0
必填
is_custom
boolean
示例:false
必填
service_fee
int
示例:0
必填
product_value
int
示例:0
必填
use_tired_price_id
int
示例:0
必填
tiered_prices
array
数据列表
必填
discount
object
示例:null
必填
time_discount_flag
boolean
示例:false
必填
stock_cloud_fee
int|varchar
示例:0|N/A
必填
campaigns
array
数据列表
必填
seller_id
int
示例:8425
必填