【发布时间】:2015-01-31 09:24:58
【问题描述】:
我们喜欢显示网站网址,来自电子邮件中的联系表格。
我们使用shopify表单模板
<div class="contactform">
<input type="text" name="contact[name]" value="" size="22" tabindex="1" placeholder="Vor- und Nachname">
<input type="email" name="contact[email]" value="" size="22" tabindex="1" required="required" placeholder="Mailadresse">
<input type="text" name="contact[firma]" value="" size="22" tabindex="1" placeholder="Firma">
<input type="text" name="contact[auflage]" value="" size="22" tabindex="1" placeholder="Auflage">
<textarea rows="8" cols="75" name="contact[nachricht]" placeholder="Nachricht"></textarea>
<input type="submit" id="contactFormSubmit" value="Angebot anfragen" />
</div>
【问题讨论】:
-
@john-conde 旧线程,但 Shopify 不允许在其主题系统中的任何位置解析 PHP,此问题在 Shopify 中有效,stackoverflow.com/questions/6768793/get-the-full-url-in-php 的答案将不起作用。相反,它将注释掉 php 标签并将其转换为内联注释。
标签: javascript html shopify