问题标签 [magento-1.7]

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.

0 投票
1 回答
1798 浏览

magento - 在magento中生成愿望清单项目的pdf

谁能指导我如何在magento中生成愿望清单项目(产品)的pdf?

0 投票
3 回答
5474 浏览

php - Magento Community 1.7.0.2 - 导出产品 CSV

相当新的 Magento 安装,产品已设置等,并且正要导出产品 CSV,一旦我提交了正常表单,错误“没有发送有效数据”我开始进行一些调试以查看发生了什么。第一站是 exception.log

导致问题的功能是:

由于某种原因,$categoryId 没有设置为 $rowCategories 不是数组。

我已经重新运行了索引管理以防万一,但在我看来,类别或其他东西有问题。我知道一个快速解决方法是在继续之前检查 $categoryId 是否已设置,但我想首先知道是什么导致了错误。

0 投票
2 回答
10570 浏览

php - Magento: adding pdf invoice to invoice email

I have been searching for examples the last couple of days and have been trying to do it myself, but I'm stuck at the following.

I'm using Magento 1.7.0.2. I want to add the invoice PDF as an attachment to the transactional email when generating the invoice.

I have tried several things including changing /Mage/Sales/Model/Order/Invoice.php, /Mage/Core/Model/Email/Template.php and /Mage/Core/Model/Email/Template/Mailer.php.

I know which files are involved in the process, I know where to add the attachment, I just can't figure out how to actually generate the PDF and attach it to the email.

It also seems that the way emails are generated has been changed with magento 1.7.0.0 and all explanations are for 1.6.x

I'm also aware that there are several extentions (i.e. FOOMAN's), but I prefer to change the files myself (I want to keep my installation clean of extentions as much as possible).

0 投票
1 回答
599 浏览

magento-1.7 - 管理区域内“管理客户”页面上的 Magento 问题

我在一家使用 Magento 的商店工作,遇到了一个大问题,但我不知道出了什么问题。当我在管理区域中单击“管理客户”时,它向我显示以下错误:

该行周围的代码是:

第 516 行是:

这个“getBackend()”函数似乎有问题。在测试过程中,我看到了以下报告错误:

我在 magento db 中进行了搜索,但是没有找到“学校”搜索的任何结果。

有谁知道这个问题并可以帮助我?

谢谢你。

0 投票
2 回答
200 浏览

magento - 在 magento 中实现自定义控制器的问题

基本上,我必须使用http://gorrc.blogspot.in/2012/05/magento-print-whishlist-to-pdf.html中指定的代码块生成愿望清单项目(产品)的 PDF 。现在的问题是,我无法追踪到在哪里以及如何调用上面链接中指定的所有方法。任何人都可以在这方面帮助我或提供任何替代解决方案,我的意思是生成愿望清单项目 PDF 的其他方法。任何帮助将不胜感激!

0 投票
1 回答
1248 浏览

magento - 会话到期时重定向 - [Magento]

在我的商店中,当会话到期时,单击我的帐户,用户将重定向到登录页面,但我想将其更改为主页。

所以,如果有人可以帮助我,我很高兴。我会继续尝试这样做,如果我找到了我会在这里发布的方法。

谢谢。

0 投票
1 回答
2281 浏览

magento - Magento 不向未登录的用户显示产品

使用 Magento CE 1.7,我上传了多个 csv 文件来创建类别,创建大量产品,并将产品分配到正确的类别。我不知道它究竟是什么时候发生的,但大约两周前,我注意到类别列表页面将停止在前端显示产品。我为这个项目花费了近一半的开发时间,试图让类别页面始终如一地展示产品。

今天我再次注意到,类别页面不再显示产品。我再次登录管理部分并仔细检查产品是否处于活动状态、有库存、有数量以及是否刷新了索引(我已关闭缓存,所以这不是问题)。当通常的修复都不起作用时,我继续执行当天的原始任务。我登录了会员区并在那里进行了调整。就在那时,我回到分类页面,发现产品又回来了。通过登录和注销,我可以使类别页面显示/隐藏产品。我一直在通过管理部分寻找一个选项,该选项可能会向未登录的用户隐藏产品但无法找到一个。

为什么我的产品在用户未登录时不显示?

0 投票
1 回答
84 浏览

zend-framework - 将每个新产品分配到一个类别

在 Magento 中,有没有办法让每个新产品创建自动分配到一个类别?

谢谢

0 投票
1 回答
497 浏览

zend-framework - magento中每个主题的自定义电子邮件模板

有没有一种方法可以自定义每个主题(店面)的所有 magento 交易电子邮件(字体颜色、链接颜色等) ,而无需通过管理区域创建每一个?

谢谢

0 投票
1 回答
927 浏览

zend-framework - magento中的图片网址问题

我必须使用 zend_PDF 生成产品图像的 pdf。我试过下面的代码

这不起作用。任何人都可以帮助我如何正确提供产品图片的网址。