2012-07-18 47 views
0

里面我已经表明使用下面Magento的“给朋友”重定向到404页标签

<block type="catalog/product_view_tabs" name="product.info.tabs" as="info_tabs" template="catalog/product/view/tabs.phtml" > 
      <action method="addTab" translate="title" module="catalog"> 
    <alias>send-friend</alias> 
    <title>Send Friends</title> 
    <block>sendfriend/send</block> 
    <template>sendfriend/send.phtml</template> 
      </action>  
    </block> 

代码“给朋友”的标签形式商品详细页上,我已经启用允许客人“是“从后端。但在提交表单时,它将重定向到404页面。发送电子邮件的默认方式在标签外工作正常,但在标签内部不起作用。我错过了什么吗?

回答

1

如果它发送给你正确的网址,无论你是否来自一个标签,你应该期望它以相同的方式工作。

我只是

  • 启用发送给朋友配置>系统内解决了我的404错误>高级
  • 设置“已启用”,“默认模板”,“让客人”,“曲奇(不安全) “配置>目录里面>发邮件给朋友

的URL我送送是http://www.example.com/sendfriend/product/send/id/14530/

我的猜测是,它是在一个问题你的模板,在某个地方。