我正在尝试向您必须接受的信息中添加送货信息,然后再签出OpenCart。
语言文件中的代码如下:
$_['text_agree'] = 'I have read and agree to the <a class="colorbox" href="%s" alt="%s"><b>%s</b></a>';我曾尝试加入以下的交货条款:
$_['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>';但是打开的框会加载整个页面,而不仅仅是文本,就像术语一样。
有什么想法吗?
发布于 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>。
https://stackoverflow.com/questions/25964394
复制相似问题