Hi, I made a lot of modifications and removed the excess code, but I want to ask some things that I do not know what they do and if they are needed in my case.
Can you tell me what this code is used for?
<span id="hikashop_product_id_main" class="hikashop_product_id_main">
<input type="hidden" name="product_id" value="<?php echo $this->element->product_id; ?>" />
</span>
and I know that this code is used by the cart, but do I need if, I use List view for characteristics ?
<input type="hidden" name="cart_type" id="type" value="cart"/>
<input type="hidden" name="add" value="1"/>
<input type="hidden" name="ctrl" value="product"/>
<input type="hidden" name="task" value="updatecart"/>
<input type="hidden" name="return_url" value="<?php echo urlencode(base64_encode(urldecode($this->redirect_url)));?>"/>
In view tabular I left only the code for the title, characteristics and vote.
After all the modifications, there are no problems and errors in the product page and in the cart and wishlist but I still ask.