首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >开放接受条款和收货单添加交货信息

开放接受条款和收货单添加交货信息
EN

Stack Overflow用户
提问于 2014-09-21 22:10:33
回答 1查看 90关注 0票数 0

我正在尝试向您必须接受的信息中添加送货信息,然后再签出OpenCart。

语言文件中的代码如下:

代码语言:javascript
复制
$_['text_agree']                     = 'I have read and agree to the <a class="colorbox" href="%s" alt="%s"><b>%s</b></a>';

我曾尝试加入以下的交货条款:

代码语言:javascript
复制
$_['text_agree']                     = 'I have read and agree to the <a class="colorbox" href="%s" alt="%s"><b>%s</b></a> and <a class="colorbox" href="https://****/delivery-information">Delivery Terms</a>';

但是打开的框会加载整个页面,而不仅仅是文本,就像术语一样。

有什么想法吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-09-22 10:14:00

看看catalog/controller/information/information.php::info() --这是只返回信息文本,而不呈现整个页面。您的https://****/delivery-information should do the same -但只用于彩色盒模态窗口的目的。

为此,我认为最好是像https://****/index.php?route=information/information/info&information_id=<DELIVERY‌​_INFO_ID>这样的用户URL -用正确的ID号替换<DELIVERY_INFO_ID>

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/25964394

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档