小编tim*_*hka的帖子

Magento:价格,格式但没有货币符号

我想得到一个格式化的价格,但没有货币符号,我想只使用magento的标准功能!

$product->getFinalPrice(); => 19.9900

Mage::helper('core')->formatPrice($product->getFinalPrice(), false); => 19,99 €

Mage::helper('mymodul')->foobar($product->getFinalPrice()); => 19,99
Run Code Online (Sandbox Code Playgroud)

怎么可能?(我不想使用str_replace()...)

magento

10
推荐指数
2
解决办法
2万
查看次数

Magento:缩小HTML输出?

magento中是否有任何文件输出所有html?

我想缩小所有html输出.

html templates minify magento

9
推荐指数
3
解决办法
4533
查看次数

Magento:组合eq并在addAttributeToFilter中为null

我想结合OR"is null"和"eq"=> array()

$collection->addAttributeToFilter('attributename', array('is' => null));
$collection->addAttributeToFilter('attributename', array(115,116));
Run Code Online (Sandbox Code Playgroud)

但这不起作用.

magento

6
推荐指数
1
解决办法
1万
查看次数

Magento cms页面呈现{{}}个变量

在magento的哪个地方是{{}} - 变量正好被取代了?文件?

variables templates render magento content-management-system

4
推荐指数
1
解决办法
4433
查看次数

我可以使用 JavaScript 打开选择框吗?

可能的重复:
在 jQuery 中显示选择下拉列表?

是否可以使用 JavaScript 打开选择框?或者使用 jQuery?

javascript jquery jquery-events

2
推荐指数
1
解决办法
3万
查看次数