国际电子商务技术 & Magento开发公司

Maishen technologies

Welcome visitor! You canlogin orcreate an account.

热线:+86-0532-58973093

麦神科技有限公司
Mygod Technologies

官方认证开发工程师

Magento的paypal支付,网关出错

2012年12月3日星期一 Asia/Shanghai下午5:21:13

magento的paypal的支付,在使用的时候会出错,让第一次使用的人感觉不舒服,其实,这是操作和设置的问题:

1.magento支付出现地址错误,这是因为paypal,必须填写正确地址才行,不正确的地址就会报错。

2.快捷支付出错,

 

   PayPal gateway has rejected request. Callback URL is wrong type; you must use the HTTPS (#11813: Callback URL is wrong type)

   贝宝网关拒绝请求。回调网址类型是错误的;你必须使用https(网址:#11813回调是错误的类型)

解决办法如下:

  system -》configuration ->  paypal -> Transfer Shipping Options   :no 将这个选项改成no就可以了。

   发生这个问题的原因,是在后台的paypal选项设置中,设置了。paypal express模式,并且把Transfer Shipping Options = Yes,但是网站又没有一个https 地址。

   解决这个办法1 .获取一个SSL证书  2. 将Transfer Shipping Options = no

OK,搞定!

0 Comments | Posted By terry water

关于bolg初次使用有错的处理 -404错误

2012年12月3日星期一 Asia/Shanghai上午11:35:49

magento的博客,初次使用

点击文章后,会出现404错误。

解决办法:

进入网站后台blog-->posts进入后

点击hello这个文章

然后把Identifier修改一下,不要用大写,然后选择这篇文章所在的分类即可!保存

然后错误就没有了。

0 Comments | Posted By terry water

搜索伪静态和侧栏过滤冲突的问题解决

2012年11月21日星期三 Asia/Shanghai下午3:14:25

搜索rul伪静态和侧栏过滤的功能有冲突,解决方式下:

下载文件:url.php

覆盖到路径:

app\code\local\Amasty\Shopby\Helper\Url.php

0 Comments | Posted By terry water

Contact Us页面添加一个国家选项。

2012年11月19日星期一 Asia/Shanghai下午3:31:41

magento默认的联系我们,contact us页面是没有国家选项的,我们把他加上

步骤如下:

1.找到文件

app/code/core/Mage/contacts/controllers/indexController.php

找到代码:

  if (!Zend_Validate::is(trim($post['name']) , 'NotEmpty')) {
                    $error = true;
                }

                if (!Zend_Validate::is(trim($post['comment']) , 'NotEmpty')) {
                    $error = true;
                }

                if (!Zend_Validate::is(trim($post['email']), 'EmailAddress')) {
                    $error = true;
                }
                
     添加代码:          
                if (!Zend_Validate::is(trim($post['country']), 'NotEmpty')) {
                    $error = true;
                }
 2.找到文件

app/design/frontend/maishen/tidebuy/template/contacts/form.phtml

打开

添加一段代码:

 <li>
                <label for="country"><?php echo Mage::helper('contacts')->__('country') ?></label>
                <div class="input-box">
                    <input name="country" id="country" title="<?php echo Mage::helper('contacts')->__('country') ?>" value="" class="input-text" type="text" />
                </div>
            </li>

文件的编辑完成,下面去后台重新标记邮箱模板

3.system-->transactional email

重新编辑contact form模板

4.system->configuration->contacts

选择刚才新建的模板,然后填写上邮箱地址,然后保存。

5.测试,是否可以发送,发送的邮件中是否有国家选项。

0 Comments | Posted in magento二次开发 By terry water

关于添加海量关键词功能出错的处理!

2012年11月13日星期二 Asia/Shanghai下午5:21:50

下载文件:文件下载

覆盖到目录:

app\code\community\Terrypackage\All\controllers\ResultController.php

即可!

OK!

0 Comments | Posted By terry water
 
  • Mygod Technologies
  • 麦神科技有限公司
  • 香港中路8号
  • 中铁青岛中心大厦A3001
  • 市南区, 青岛, 266000
  • 电话: 0532-5897-3093

订阅我们的最新消息。

我们将严格尊重您的隐私。

关注我们的微信
获取外贸电子商务最新资讯;跨境推广最新策略;电子商务网站技术最新趋势。

2018 Mygod Technologies. 保留所有权. Privacy Policy