{% extends "AppBundle::layout_backend.html.twig" %} {% block title 'Editar Producto Mercado Libre'|trans %} {% block stylesheets %} {% endblock %} {% block headercontent %} {% trans %}Productos Mercado Libre{% endtrans %} {% endblock %} {% block content %}

{% trans %}Editar Producto Mercado Libre{% endtrans %}

{{ form_start(form) }}
{{ form_label(form.codprodmarket,'Codigo:'|trans) }} {{ form_widget(form.codprodmarket, {'attr':{'class':'form-control','placeholder':'Código'} }) }} {{ form_errors(form.codprodmarket, {'attr':{'class':'form-control'} }) }}
{{ producto.sku }}
{{ producto.nombre }}
{{ producto.descripcion }}
{{ producto.peso }}
{{ producto.ancho }}
{{ producto.profundidad }}
{{ form_label(form.precio,'Precio:'|trans) }} {{ form_widget(form.precio, {'attr':{'class':'form-control','placeholder':'Precio Base'} }) }} {{ form_errors(form.precio, {'attr':{'class':'form-control'} }) }}
{{ form_label(form.precioneto,'Precio Neto:'|trans) }} {{ form_widget(form.precioneto, {'attr':{'class':'form-control','placeholder':'Precio Neto'} }) }} {{ form_errors(form.precioneto, {'attr':{'class':'form-control'} }) }}
{{ form_label(form.cuotas,'Cuotas:'|trans) }} {{ form_widget(form.cuotas, {'attr':{'class':'form-control','placeholder':'Cuotas'} }) }} {{ form_errors(form.cuotas, {'attr':{'class':'form-control'} }) }}
{{ form_label(form.preciolista,'Precio Lista:'|trans) }} {{ form_widget(form.preciolista, {'attr':{'class':'form-control','placeholder':'Precio Lista'} }) }} {{ form_errors(form.preciolista, {'attr':{'class':'form-control'} }) }}
{{ form_label(form.precioredondeo,'Precio Redondeo:'|trans) }} {{ form_widget(form.precioredondeo, {'attr':{'class':'form-control','placeholder':'Precio Redondeo'} }) }} {{ form_errors(form.precioredondeo, {'attr':{'class':'form-control'} }) }}
{{ form_label(form.preciofinal,'Precio Final:'|trans) }} {{ form_widget(form.preciofinal, {'attr':{'class':'form-control','placeholder':'precio final'} }) }} {{ form_errors(form.preciofinal, {'attr':{'class':'form-control'} }) }}
{{ form_label(form.preciomarkup,'Precio Markup:'|trans) }} {{ form_widget(form.preciomarkup, {'attr':{'class':'form-control','placeholder':'Precio Markup'} }) }} {{ form_errors(form.preciomarkup, {'attr':{'class':'form-control'} }) }}
{{ form_label(form.descuento,'Descuento:'|trans) }} {{ form_widget(form.descuento, {'attr':{'class':'form-control','placeholder':'Descuento'} }) }} {{ form_errors(form.descuento, {'attr':{'class':'form-control'} }) }}
{{ form_label(form.stockinfinito,'Stock Infinito') }}
{{ form_widget(form.stockinfinito, {'attr':{'class':'onoffswitch-checkbox '} }) }}
{{ form_label(form.fechainicio,'Fecha Inicio:'|trans) }} {{ form_widget(form.fechainicio, {'attr':{'class':'form-control','placeholder':'Fecha Inicio'} }) }} {{ form_errors(form.fechainicio, {'attr':{'class':'form-control'} }) }}
{{ form_label(form.fechafinal,'Fecha Final:'|trans) }} {{ form_widget(form.fechafinal, {'attr':{'class':'form-control','placeholder':'Fecha Final'} }) }} {{ form_errors(form.fechafinal, {'attr':{'class':'form-control'} }) }}
{{ form_label(form.alicuota,'Alicuota:') }} {{ form_widget(form.alicuota, {'attr':{'class':'form-control'} }) }} {{ form_errors(form.alicuota, {'attr':{'class':'form-control'} }) }}
{{ form_label(form.publicado,'Producto Publicado') }}
{{ form_widget(form.publicado, {'attr':{'class':'onoffswitch-checkbox '} }) }}
{{ form_label(form.markupdesactivar,'No marcar en base a regla General') }}
{{ form_widget(form.markupdesactivar, {'attr':{'class':'onoffswitch-checkbox '} }) }}

Markup Regla Global : {{ markupglobal~'%' }}

{{ form_label(form.markup,'Markup:') }} {{ form_widget(form.markup, {'attr':{'class':'form-control'} }) }} {{ form_errors(form.markup, {'attr':{'class':'form-control'} }) }}

Fotos del Producto


{% for d in fotos %} {#{dump(d)}#}
{% if (d.nombre) %} {% set foto1=asset(d.nombre,'directoriofotosbanco') %} {% else %} {% endif %}
{% else %}
{% if (producto.tumbnail) %} {% else %} {% endif %}
{% endfor %}
{{ form_errors(form) }} {{ form_rest(form) }} {{ form_end(form) }}
{% endblock %} {% block javascripts %} {% endblock %}