pheye / wepy-mall Goto Github PK
View Code? Open in Web Editor NEWThis project forked from dyq086/wepy-mall
微信小程序--基于wepy 商城(微店)微信小程序
License: MIT License
This project forked from dyq086/wepy-mall
微信小程序--基于wepy 商城(微店)微信小程序
License: MIT License
如题
特别是库存不足时的处理不正确。
售后订单状态为refunded
如题
查看 #33 的修改情况
在有优惠的情况下,下面功能应该能实现:
搜索历史-改用storage去保存
产品列表里面,如果是变量产品,点击“立即抢购”时,应该弹出类似的产品选项以供选择,就像在产品详情页点添加购物车类似的效果。
开发上需要注意的是:获取产品列表时,是没有产品变量的信息的,所以在点击时,是需要发出一次API请求的。
产品的详情页,在库存相关的显示上,不论是否有做库存管理,都会显示库存数量。
应像产品列表一样,有库存数量才显示库存数量,没库存数量只显示有库存和没库存两种状态。
产品详情页所有显示库存的地方都要修改,不要遗漏。
未选和已选在价格上计算有BUG
点击区域欠缺考虑,用户需要多次尝试才能点击到。
需求:
当用户A分享商品时,分享页面联盟会员ID(示例:?ref=5
,见订单确认页),用户B打开该页面时,就会记录它是A的下线,以后B下单时,A就会自动得到分佣。
具体实现:
1.A用户目前获取用户信息时,已经可以得到affiliate_id(联盟会员ID),该信息保存在Storage中。在分享时,首页、产品列表页、搜索页、产品详情页,均需要带上该联盟ID。
2.�新用户B通过A的链接进入小程序后,会被导到授权页,发起"/wp-json/w2w/v1/customers/login"请求,应带上参数ref=<affiliate_id>
,后台识别到ref,会将新注册的用户的介绍人设置为,新注册的用户可在管理后台编辑他的个人信息时查看到介绍人信息:
3.新用户B在下单时,如果选择的是邮寄,需要带上?ref=<用户的ref值>
在订单确认页,如果是本地自提,选择邮寄,然后输入优惠券并应用,下单后配送方式变成本地自提。
1.了解统计平台的作用
2.然后集成到小程序中
3.你在测试时如果未勾选 “不检查域名。。。”那个项,会发现域名被阻塞,将域名告诉我,我来添加
统计平台:
https://tj.aldwx.com/
我已经给你的手机号发送邀请,项目我已经建好,不要重复创建。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.