Magento2在帐户仪表板中管理导航链接
简短指南将帮助您了解如何在Magento 2的前端客户帐户仪表板中管理导航链接。 在下面的示例中,您将学习如何 添加新的自定义链接 删除现有链接 重新排列链接 更改链接标签 在客户的帐户信息中心中。 首先,在您的主题中创建一个名为customer_account.xml的新XML文件,例如下面的文件…
Magento2 view.xml
在Magento2 中view.xml来配置前端产品图片的属性(高度宽度什么的)。本篇主要归纳总结view.xml相关的内容。 文件位置<theme_dir>/etc/view.xml 例如:/app/design/frontend/SunTheme/Yang/etc/view.xml 我们来…
Magento 2中的图片
Magento 2 中的产品图片和素材图片 产品图片的存储位置在pub/media/catalog/product位置下,该目录下的原始图片按照一定的目录索引存储,子目录cache存放各种调整过大小的图片。 素材图片存储位置在pub/media/wysiwyg,Luma主题首页的一些展示图片就在该目…
为mysql数据库中某一列值批量添加前缀或者后缀
给user表的name列,统一加一个”_”前缀 给user表的name列,统一加一个”_”后缀
Magento2.3 批量修改产品名称
一次性需要批量修改商品名称,比如在商品名称前面添加品牌前缀(YDN) 单个Magento后台修改比较费劲,重新导入数据有很浪费时间,那么,进数据库修改吧!进而实现批量修改Magento产品名称方法 , 你要先看表eav_attribute`,字段attribute_code值为“name”,对应的a…
Mageplaza smtp can not activate
Mageplaza smtp can not activate or remove smtp or other moudle 不能激活smtp或者其它的扩展。 解决办法: 1.查看Core 扩展和其它的模块扩展(smtp)是不是最新版本,不是的话,需要进行升级. 2. 升级解决办法,删除原来扩展代码…
Magento2.3数据库迁移inventory_stock_1这个视图的不存在或者错误的解决方法
在导出magento2.3.0的数据库,然后再导入到其他服务器,出现inventory_stock_1 视图表不存在的解决办办法。 登录数据库服务器, 在Mysql的命令行中执行下面代码即可。
Magento2 Sitemap.xml 显示为404 Nginx
在Magento2 上面创建了sitemap.xml .生成了文件,但是在浏览器上不能访问。google 也抓取不到。解决办法如下: 在nginx.conf.sample 里面添加下面代码 然后检查nginx配置,重新启动nginx 即可解决问题。
Magento2 Shopping Cart PayPal gateway has rejected request. Billing address request is not enabled for merchant (#11601: Request for billing address failed).
在Magento2 中调用Paypal出现下面问他。 Shopping Cart PayPal gateway has rejected request. Billing address request is not enabled for merchant (#11601: Request for…
memory-limit-error For more info on how to handle out of memory errors. magento-2.3 cli command
在Mac 下使用命令行运行magento的相关命令出现下面错误代码。 Commands giving this error.Please check this, https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-…