问题标签 [magento-2.0]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
php - php_xsl azure extension not working
Im trying to install magento 2 as a web app on the azure platform
My issue is when i do it complains that it needs the php_xsl extension to complete the installation
I have found a few guides on the net on how to enable this by adding a key and value in the app settings and uploading the .dll to a bin folder on the server.
but no matter what i do with this i cant get this extension working to install magento
I have tried moving this folder to above the root and into other folders, adding a line in the user.ini
The dll is for the correct version of php
magento - 如何在 Magento 2.0 上安装免费主题?
我从 AWS Market place 调用了一个 Magento 2.0 实例,它由 Ubuntu 14-04-3-lts 上的 Bitnami-2-0-2-2-r04 提供支持。
我需要在其中安装一个免费主题,例如时尚商店/电子产品商店。请帮助我如何在 Magento 2.0 中使用管理控制台安装主题。任何帮助将不胜感激。
在我的小谷歌搜索之后,我发现了一些免费主题并下载了它们,并且按照步骤主题 zip 文件已经app
并且skins
应该替换为服务器上的目录app
。skins
但问题是服务器上没有名为“skins”的目录。
任何帮助将不胜感激。
干杯! 雷布
php - 从源代码编译:无法在 magento2 中为超级工艺主题的静态内容部署读取文件中的内容
我已经安装了 magento2 并尝试配置 ubercraft 主题,但是当我尝试运行磁命令来部署静态内容时。它显示新主题的错误,而默认主题它没有显示错误。错误如下。
我正在执行以下命令
C:\xampp\htdocs\Magento>php bin/magento setup:static-content:deploy
magento - 如何在 Magento 2 中编辑自定义 CSS 或更少?
我已经安装magento 2.0.2
并覆盖了模板,我被困在我css
为自己的样式编写我的地方。我如何更改css
现有模板的。
magento-2.0 - 如何消除此错误?
处理您的请求时出错
请升级您的数据库:"bin/magento setup:upgrade"
从 Magento 根目录运行。以下模块已过时:
我的代码是 module.xml
magento-2.0 - 如何在自定义模块的magento 2中获取订单数组?
我需要自定义模块控制器中的订单数组。怎么得到?
试过这个,但没有奏效:
错误:
“致命错误:第 76 行的 C:\wamp\www\magento_test\app\code\WebHive\SPS\Controller\Index\Index.php 中找不到类 'WebHive\SPS\Controller\Index\Mage'”
所有建议将不胜感激......
css - 我的 css 在 magento 2 中不起作用
我已经安装Magento 2.0.2
并覆盖了模板,我被困在我为自己的样式编写 css 的地方。如何更改现有模板的 css。
我已经完成了这些步骤
创造_theme.less
并通过使用部署内容
还将前端开发工作流程更改为客户端少编译,我发现styles.css
后端包含的文件是哪个源
如果我进行更改,styles.css
那么它将同时适用于前端和后端。
现在我想编写自己的 CSS 来应用我自己创建的主题,我该怎么做?
多谢!
magento - 带有 XML 数据的 Magento2 REST API 在库存上传期间不起作用
我正在构建一个应用程序,它使用 Magento REST API 来交换数据,我正在使用 XML 来传输数据。但是在以 XML 格式发布数据期间,我收到一个错误“需要库存项目字段”。对于库存上传,我使用 PUT 方法和 URL 来访问 API 是这样的。
http://myhost.com/Individual/XXX/magento2/index.php/rest/V1/products/Stock/stockItems/2
我发送的 XML 数据如下
请建议我在哪里犯错。
谢谢并恭祝安康
乌特帕尔梅蒂
magento - Magento 2.0 覆盖核心 CofigurableProduct 模块块
我想更改定价计算,为此我尝试通过首选项覆盖可配置块,但它不起作用
这是我的 di.xml
可配置的.php: