Jump to content

Problem with product.tpl


cronotempo

Recommended Posts

he realizado una modificación de código del archivo product.tpl para integrar en los campos customizables (TAG personalización de producto) un campo 'date' y un campo 'time'

 <input type="time" name="textField{$field.id_customization_field}" id="textField{$customizationField}" class="customization_block_input" value="{if isset($textFields.$key)}{$textFields.$key|stripslashes}{/if}"/>
                           </li>

El problema es que al intentar grabar los datos para proceder a añadirlo al carro de compra, al no ser un campo 'textarea' y ser un 'input' no me los graba.

¿Alguien sabe como solucionarlo?

------------------------------------------------------------------

I made a change product.tpl file code to integrate customizable fields (product customization TAG) field 'date' and 'Time' field

 <input type="time" name="textField{$field.id_customization_field}" id="textField{$customizationField}" class="customization_block_input" value="{if isset($textFields.$key)}{$textFields.$key|stripslashes}{/if}"/>
                           </li>

The problem is that when trying to burn data to proceed to add to cart, not being a field 'textarea' and being an 'input' I do not burn them.

Does anyone know how to fix it?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...