Hi,
yes, now it works fine. Thanl you, Jerome.
So for the other user (Narciso) the final code is:
<input type="hidden" name="task" value="" />
<input type="hidden" name="ctrl" value="product" />
<input type="hidden" name="redirect_url" value="<?php $redirect_url = JRequest::getString('redirect_url', ''); echo $this->escape($redirect_url); ?>" />
<?php if(JRequest::getVar('tmpl', '') == 'component') { ?>
<input type="hidden" name="tmpl" value="component" />
<?php } ?>
<?php echo JHTML::_( 'form.token' ); ?>
</form>
</div>
It's just for my curiosity, but what is that line? because even without it, the site is the same.