Answer the question
In order to leave comments, you need to log in
How to add a new description field to a product in OpenCart 2.3?
I'm trying to add a new product description field myself in the OpenCart 2.3 engine. Everything was simple in the old versions, but I can’t figure it out in the latest one.
I used this instruction
https://www.youtube.com/watch?v=HeW0g5sf2DA
But, I get an error, not even an error, but a remark. but the output from the database still does not work, and a new one is not entered
<b>Notice</b>: Undefined index: equipment in <b>.../admin/view/template/catalog/product_form.tpl</b> on line <b>71</b>
<div class="form-group">
<label class="col-sm-2 control-label" for="input-equipment<?php echo $language['language_id']; ?>"><?php echo $entry_equipment; ?></label>
<div class="col-sm-10">
<textarea name="product_description[<?php echo $language['language_id']; ?>][equipment]" rows="5" placeholder="<?php echo $entry_equipment; ?>" id="input-equipment<?php echo $language['language_id']; ?>" class="form-control"><?php echo isset($product_description[$language['language_id']]) ? $product_description[$language['language_id']]['equipment'] : ''; ?></textarea>
</div>
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question