Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/84.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
Php 管理员中的Virtuemart预设产品字段_Php_Html_Virtuemart - Fatal编程技术网

Php 管理员中的Virtuemart预设产品字段

Php 管理员中的Virtuemart预设产品字段,php,html,virtuemart,Php,Html,Virtuemart,如果您需要在virtuemart中添加产品,我只使用25%的产品字段。我希望预设输入字段,这样就不必填写所有字段。问题是输入的值是一个php代码,用于将其插入数据库 <input type="text" class="inputbox" name="product_name" value="<?php echo shopMakeHtmlSafe( $db->sf("product_name")); ?>" size="32" maxlength="255" />

如果您需要在virtuemart中添加产品,我只使用25%的产品字段。我希望预设输入字段,这样就不必填写所有字段。问题是输入的值是一个php代码,用于将其插入数据库

<input type="text" class="inputbox"  name="product_name" value="<?php echo shopMakeHtmlSafe( $db->sf("product_name")); ?>" size="32" maxlength="255" />

您是否可以手动创建一个产品,将其设置为“模板产品”(即根据需要预先填充字段),然后使用克隆产品功能

在Virtuemart后端,转到产品->列出产品,查看垃圾桶图标旁边,您应该会看到一个“克隆产品”图标