在我的自定义模块中,我有一个带有单选按钮的表单.
当我单击提交按钮时,它不会验证单选按钮.
如何使用Magento默认验证类进行验证.
谢谢
我想在Magento中更改客户登录的URL.
从URL,
www.mydomain.com/customer/account/login/
Run Code Online (Sandbox Code Playgroud)
对于这样的事情:
www.mydomain.com/login
Run Code Online (Sandbox Code Playgroud)
我怎样才能做到这一点?
如何从Magento中的URL中删除index.php.
例如,主页URL是: www.mydomain.com/index.php
我想表明: www.mydomain.com
那么在Magento管理面板中有没有办法做到这一点.
我想在Magento系统配置中添加WYSIWYG编辑器.
并且还可以从中获取值来执行此操作.
干杯.
我正在使用西班牙语的magento 1.7.0.导出CSV文件时表单销售订单.更改西班牙语字符.我找到了原因.在出口到csv期间,charset将被设置为西欧.所以现在我需要将其更改为UTF-8.
如何改变.
我需要在管理系统配置中获取自定义电子邮件模板.
的system.xml
这是我的电子邮件模板字段代码.
<email_template>
<label>Email Template</label>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<sort_order>5</sort_order>
<frontend_type>select</frontend_type>
<source_model>adminhtml/system_config_source_email_template</source_model>
</email_template>
Run Code Online (Sandbox Code Playgroud)
config.xml中
<template>
<email>
<custom_email_template translate="label" module="mymodule">
<label>Custom Email Template</label>
<file>mymodule/custom_email.html</file>
<type>html</type>
</custom_email_template>
</email>
</template>
<default>
<mymodulesettings>
<email>
<email_template>custom_email_template</email_template>
</email>
</mymodulesettings>
</default>
Run Code Online (Sandbox Code Playgroud)
我已经在locale/en_US/template/email/mymodule/path中添加了email.html文件现在我得到了像这样的输出

但我需要在该下拉列表中显示我的自定义电子邮件名称.喜欢:
我有Magento Multi商店.我已经使用Font-face工具包加载了字体系列.Font face系列在firefox和IE中不起作用.
码:
@font-face {
font-family: 'zrnicregular';
src: url('../fonts/zrnic_rg-webfont.eot');
src: url('../fonts/zrnic_rg-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/zrnic_rg-webfont.woff') format('woff'),
url('../fonts/zrnic_rg-webfont.ttf') format('truetype'),
url('../fonts/zrnic_rg-webfont.svg#zrnicregular') format('svg');
font-weight: normal;
font-style: normal;
}
Main Store URL : firststore.com
Secondary store URL : secondstore.com.
Run Code Online (Sandbox Code Playgroud)
这个font-face在我的主商店中在所有浏览器中都能正常工作.但在辅助存储中字体未在Firefox和IE中正确加载 我对两个商店都使用相同的主题.
帮助解决此问题.
magento ×7
magento-1.7 ×6
css ×1
email ×1
firefox ×1
font-face ×1
radio-button ×1
validation ×1
wysiwyg ×1