Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/opengl/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Text 在凭证代码输入Prestashop中添加占位符文本_Text_Prestashop 1.6_Placeholder_Inputbox - Fatal编程技术网

Text 在凭证代码输入Prestashop中添加占位符文本

Text 在凭证代码输入Prestashop中添加占位符文本,text,prestashop-1.6,placeholder,inputbox,Text,Prestashop 1.6,Placeholder,Inputbox,我很难在凭证输入框中添加占位符文本 可通过以下链接找到该页面: 该网站是用Prestashop 1.6.17构建的 我想将“在此处输入凭证代码”添加到图像下方的白色输入框中 我使用chrome inspect函数在html中添加了一个字符串(占位符文本): <input type="text" class="discount_name form-control" id="discount_name" name="discount_name" value="" placeholder="i

我很难在凭证输入框中添加占位符文本

可通过以下链接找到该页面:

该网站是用Prestashop 1.6.17构建的

我想将“在此处输入凭证代码”添加到图像下方的白色输入框中

我使用chrome inspect函数在html中添加了一个字符串(占位符文本):

<input type="text" class="discount_name form-control" id="discount_name" name="discount_name" value="" placeholder="insert voucher code here">

然而,我不知道在Prestashop中哪里可以修改,因为没有这样的html页面可供查找。有人有主意吗


非常感谢

您需要编辑
主题/您的主题/购物车.tpl
并编辑凭证输入。 如果启用了缓存,请确保随后清除缓存

是默认主题的凭证输入。根据默认主题中的税收和价格设置,有一个以上的输入


你的主题可能不同,但应该在同一个文件中。

@fran00然后接受答案,如果它解决了你的问题。对不起,我不知道(我是新的)-我现在已经接受了!再次感谢你!