问题标签 [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 回答
228 浏览

magento - 如何更新产品属性?

我有数千种产品,它们具有一些常见的默认值:

页面布局:无布局更新;可见性:单独不可见;
类别:空的,

现在我想改变这三个属性,如下所示:

页面布局:1列;可见性:目录、搜索 (4);类别:1,

我试图用下面的代码完成它,但它不起作用。

谁能告诉我我的代码有什么问题?

我也尝试在数据库中完成。但是我不知道哪个表可以控制可见性,哪个表可以控制布局或类别。(使用 Magento 1.7)

0 投票
1 回答
13849 浏览

magento - Magento:在结构块“内容”的末尾添加内容块

我正在尝试向 Magento 添加一个内容块,它应该在主要内容下方的每一侧都可见。我想用一个自定义扩展来存档它,所以我可以复制这个扩展,它可以在不触及核心设计文件的情况下工作。我的扩展包括以下布局更新:

我的问题是,该属性after="-"不起作用。该块始终显示在内容块的顶部。似乎beforeafter没有任何后果。如果我将块移动到页脚,属性beforeafter工作正常。

如何将我的块放在块“内容”的底部

0 投票
1 回答
1512 浏览

magento-1.7 - Magento 1.7 - 管理员创建新订单,缺少“自定义价格”复选框

我希望有人可以帮助我,因为我现在很困惑。直到昨天,当我想在管理后端手动创建订单时,我会添加产品,他们会为每个项目设置“自定义价格”复选框,因此您可以根据需要手动更改价格。我有时突然需要这个功能,因为今天那个复选框刚刚消失了。我无法再更改手动添加到订单中的任何产品的价格。即使我之后编辑它,我仍然无法更改商品价格。

那么昨天和今天之间发生了什么......我上传了一个我最终不喜欢的扩展程序并删除了所有上传的文件。我小心翼翼地不删除不属于扩展的任何其他内容。但由于某种奇怪的原因,整个网站崩溃了。无法进入前端或后端。不得不联系托管服务提供商以恢复到今天早上幸运的备份。现在一切都很好,网站又回来了。我今天还通过 MAGMI 进口商更新了我所有的产品价格,并且进展顺利。然后我去手动清除数据库中所有已取消的订单/发票/贷项通知单/发货,这样它们就不会在客户登录时出现在管理后端或前端。仅在数据库中保留已完成/处理/待处理的订单。

所以,我不知道是什么导致“自定义价格”复选框消失了。任何有关如何取回它的帮助将不胜感激。

一些信息:Magento v1.7.0.0。所有产品 = 简单

请帮忙。

谢谢科恩拉德

0 投票
2 回答
3386 浏览

magento - Magento 可配置产品定价

我需要一些帮助来了解如何在 Magento 中使用可配置产品属性。我在餐厅网站上使用 Magento,我需要能够以不同的价格制作不同尺寸的食品,但我想让它们使用相同的产品。例如,它会是这样的。

  • 小比萨 8.95
  • 中号披萨 9.95
  • 大披萨 10.95

但是,我不想拥有三种完全不同的产品,我认为这会让消费者的事情变得非常复杂,我希望拥有一种产品,让用户可以选择什么尺寸并能够看到它的价格。

0 投票
1 回答
2674 浏览

magento - 通配符不起作用的 Magento 1.7 中的表费率运输

当我在“国家”、“地区”、“ZIP”中上传带有“*”通配符的 CSV 时,Magento 1.7 无法正确计算运费。即使购物车小计超过 500,Magento 也总是显示第一个运费。这是一个已知的错误吗?我做错什么了吗?有任何想法吗?

我的 CSV:https ://dl.dropbox.com/u/2499022/TRS-WildCards.png

问候保罗

0 投票
1 回答
1503 浏览

magento - Product description page not shown, error 404

using magento 1.7.0.2 here, having already tested lot of recommended solutions (reindexing, clearing cache, assuring no url rewrite is done, etc) I give up and ask the question.

We are importing a bunch of products (around 150) into the demo store, together with 2 new categories and lot of new attributes (around 200). After some issues we finally managed to get the products shown both on backend and frontend, great.

But when clicking on any newly imported product we get the 404 error page from Magento with the "Whoops, our bad...". After 2 days searching and trying different approaches still haven't found a solution. Reindexing, clearing cache, checking the url rewrite option, changing 'localhost' for '127.0.0.1' on the core_config_data table, and some other solutions that worked for others, no use for us.

Any clue?

Other than the solutions found we have checked that the products are enabled, visibility is set for both catalog and search, there is a website assigned and quantity is bigger than zero. Also we manually created a product with all the correct attributes values and its description page is visible. Comparing (both using backend and database tables/fields) with the imported products averything seems to be exactly the same.

0 投票
5 回答
3189 浏览

magento - 如何找出链接名称以从“我的帐户”页面中删除链接?

我的第一个目标是从帐户仪表板中删除一些链接。我已经搜索过它并找到了一些解决方案。应用此:从我的帐户中删除导航链接

它就像一个魅力,没有问题。

问题是如何找到正确的链接名称?

例如,我需要删除“我的标签”链接。那叫什么名字?尝试了一些变化并且“标签”有效。

但找不到“我的应用程序”的任何解决方案。

有这种链接名称的列表吗?

谢谢,

0 投票
1 回答
753 浏览

magento - Trying to upgrade from Magento 1.6.2.0 to 1.7.0.2 via downloader fails

I've tried to upgrade my existing 1.6.2.0-Installation to 1.7.0.2 via the downloader by the following command:

./mage upgrade http://connect20.magentocommerce.com/community Mage_All_Latest --force

This results in the following message:

Already installed: community/Mage_All_Latest 1.6.2.0, skipping [...] [...]

But if I'm checking "./mage list-upgrades" I can see that there is an update for Mage_All_Latest:

Mage_All_Latest: 1.6.2.0 => 1.7.0.2

Next I tried to install 1.7.0.2 by the following command:

./mage install http://connect20.magentocommerce.com/community Mage_All_Latest --force

but this (re-)installs only the 1.6.2.0-Packages.

I also tried this two commands setting explicit version numbers but is still doesn't work.

Any idea?

0 投票
2 回答
2986 浏览

php - Magento 在顶部菜单中显示非活动类别

在我的 CMS 中,我已经禁用了一堆类别出现在我的导航中(见下面的截图),但这些类别仍然出现在我的顶部菜单块中。

这是我的 page/html/topmenu.phtml 文件中的代码 - 我需要更改哪些内容才能阻止这些类别出现?

我正在使用 Magento CE 1.7


(来源:i.imm.io

[编辑]

当我做

尽管在管理面板中将两个根类别设置为 no,但所有类别都返回 1。

我已关闭并清除缓存,并且多次重新索引我的类别和产品。

我知道该选项已保存到数据库中,因为当我浏览并再次返回时,该选项仍设置为“否”,这表明问题在于类别模型加载或报告选项错误。

0 投票
2 回答
30396 浏览

magento - 如何将 magento 1.4 1.1 升级到 1.7.0.2

我有一个 magento 网站1.4.1.1

现在我想将网站升级到magento 1.7.0.2.

我已经做了以下步骤:

现在我的窗户爆炸了:

在此处输入图像描述

那我接下来怎么办?

那么如何使用 magento 连接管理器进行升级呢?

我如何升级 magento 网站?

有人有解决方案吗?

我在本地服务器中的 magento 站点。

编辑: 在此处输入图像描述