[英]You have no items in your shopping cart. error using Magento 2
Shopping Cart
购物车
You have no items in your shopping cart.
您的购物车中没有商品。
Click here to continue shopping.
点击这里继续购物。
No items in cart message when place something in cart on my website. 将物品放入购物车中时,购物车中没有物品留言。 My cookie limit is 86400
我的Cookie限制是86400
Remove cache and use indexing 删除缓存并使用索引
php bin/magento indexer:reindex
php bin/magento cache:clean
Then deploy again: 然后再次部署:
rm -rf var/*
rm -rf pub/static/*
php bin/magento setup:static-content:deploy
chmod -R 7777 var pub/static
If it will not work then check your minicart.phtml and also the UI components. 如果不起作用,请检查您的minicart.phtml以及UI组件。
If you are getting checkout page 如果您正在结帐页面
product is not adding to checkout page then use in commandline 产品未添加到结帐页面,然后在命令行中使用
php bin/magento indexer:reindex
php bin / magento索引器:reindex
php bin/magento cache:flush
php bin / magento缓存:刷新
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.