问题标签 [magento-1.9]
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 - 如何从 Magento 删除已完成订单的已保存信用卡号?
我们正在为我们的网站使用已保存的 cc。我们想刷新已完成订单的已保存信用卡信息。有人可以帮忙吗?
footer - 在哪里编辑页脚链接 Magento 1.9
我试图找出在 magento 1.9 中编辑页脚链接的位置,但我找不到任何东西,我将搜索它近 3 个小时但没有成功。对不起,我只是 magento 的新手。我想编辑“快速链接”“帐户”下的链接我在公司下找到了链接,它位于静态块下的 magento 后端,但两者都没有成功。
谢谢
php - Magento中压倒一切的价格模型
我在 Magento 中覆盖 product-> type -> price.php 模型时遇到问题。
这是我的app/etc/config.xml
这是
现在 Price.php 路径是app/code/local/Softweb/Catalog/Model/Product/Type/Price.php
我不知道我错过了什么......
PS我正在使用magento 1.9.0.1
magento - 如何在 magento 的 magento 版本 1.9.0.1 的主页上显示产品?
我想在主页中显示一个类别的所有产品。为此,我在 cms->homepage 中添加了代码
但它显示错误
list.phtml 页面中的代码
我认为在 magento v1.9.0.1 中将有任何其他方法来展示产品。如果有人知道这一点,请帮助我。谢谢!
magento - 付款方式在管理员配置中可见,但在 Magento 的前端不可见
我在我的网站上包含了付款方式模块。该付款方式在管理配置中可见,但在付款步骤的前端不可见。
我有一个名为的配置文件config.xml
,其代码是
并且system.xml
是
模型文件Finanzierung.php
名为
布局设计文件是
请帮忙。
magento - Magento 1.9.0.1 - Email Issue
I have an interesting issue that I'm hoping someone else has run into before. This is with Magento 1.9.0.1 CE.
Order/Sales emails are sending out fine but the emails are getting "www." appended to the domain portion of the emails of the site. For example, if the sales contact email is johnsmith@domain.com, the system is changing the from email to johnsmith@www.domain.com.
I have no clue why its doing this. I did recently change the site from www.domain.com to domain.com, I'm not sure if this had anything to do it with?
Thanks.
magento - Magento 页面分页排序方式丢失(突然消失)
我看不到任何按(最佳匹配等)或页码排序它已经消失了,我不知道为什么或如何检查所有 .xml 文件它们都是正确的,这不是问题。我可以检查什么来解决这个问题?Html 文件似乎也很好,我什么都没有重新索引!
magento - 升级到 Magento 1.9 后的致命错误
通过 Magento Connect Manager 将 Magento Community 从 1.7 更新到 1.9 后,我的网站现在出现了致命错误。前端此刻显示这个错误:
致命错误:在第 75 行的 /home/sinks/public_html/app/code/core/Mage/Paypal/Block/Bml/Banners.php 中调用未定义的方法 Mage_Paypal_Model_Config::getBmlPublisherId()
后端允许我登录并在任何选项卡下显示此致命错误:
致命错误:第 175 行 /home/sinks/public_html/app/code/core/Mage/Tax/Block/Adminhtml/Notifications.php 中未定义的类常量“XML_PATH_TAX_NOTIFICATION_URL”
我尝试从最近的备份中恢复 app & var 目录,但并没有解决问题。我是否必须完全恢复所有目录才能解决问题?如果可能的话,我可以将整个平台恢复到 1.7。
magento - Magento 名义项目矩阵费率
我正在使用 magento,并且我有矩阵费率来处理运输,我刚刚设置了一个具有重复配置文件的产品,magento 的知识库说这适用于重复配置文件“购物车结帐期间可用运输方式的列表仅限于仅限固定(固定、表费率和免费)。” 但是我想知道是否有人成功地使矩阵费率与重复配置文件一起使用?我目前正在研究这个但还没有走得太远 https://magento.stackexchange.com/questions/10302/how-to-enable-more-shipping-methods-for-nominal-items-recurring-profile-prodcuts
php - 捕获已付款订单的正确 magento 观察者事件是什么?
我正在尝试在订单已支付且现在已设置为“处理中”状态之后且仅在此之后将订单发送给第三方。什么是最好的观察者来设置它以适用于所有支付类型?
在阅读了几个来源之后,它看起来像:
应该适用于所有付款方式,但它似乎已在 Magento 1.9 上被删除:http ://rabee.me/codes/magento/cheatsheet/1.9/ (此列表不完整,请查看下面的更新)
另一种选择是:
但是当我测试它将付款方式设置为“支票/汇票”时,在我使用 Order > Invoice > Submit Invoice 在后端生成发票后,它不会被触发
此方法是否仅与其他付款方式一起调用?(贝宝/authorize.net)
更新:
阅读后:this other question似乎保证我在付款(在线或离线)后导出订单的唯一方法是在创建发票时捕获,而对于Magento 1.9,正确的观察者是:
通过在线方式 paypal/authorize.net 付款后是否会自动创建和发送发票?在沙盒/测试模式下使用它们时这仍然是真的吗?
更新 2:
经过大量测试,这似乎'sales_order_invoice_pay'
是实现我所需要的正确方法。