eridamega Posted April 15, 2018 Share Posted April 15, 2018 Hola amigos saludos cordiales. Estoy intentando hacer el cambio en la plantilla producto para el campo personalización quede debajo de los atributos, aunque visualmente ya lo logre no lo he podido hacer funcionar ya que cuando alguien intenta guardar la personalización este lo lleva al carrito de compra. de que forma hago que sea funcional Solo edite el código en /themes/classic/templates/catalog/product.tpl <div class="product-information"> {block name='product_description_short'} <div id="product-description-short-{$product.id}" itemprop="description">{$product.description_short nofilter}</div> {/block} {*** >>> Aqui estaba el codigo <<< ***} <div class="product-actions"> {block name='product_buy'} <form action="{$urls.pages.cart}" method="post" id="add-to-cart-or-refresh"> <input type="hidden" name="token" value="{$static_token}"> <input type="hidden" name="id_product" value="{$product.id}" id="product_page_product_id"> <input type="hidden" name="id_customization" value="{$product.id_customization}" id="product_customization_id"> {block name='product_variants'} {include file='catalog/_partials/product-variants.tpl'} {/block} {block name='product_pack'} {if $packItems} <section class="product-pack"> <h3 class="h4">{l s='This pack contains' d='Shop.Theme.Catalog'}</h3> {foreach from=$packItems item="product_pack"} {block name='product_miniature'} {include file='catalog/_partials/miniatures/pack-product.tpl' product=$product_pack} {/block} {/foreach} </section> {/if} {/block} {*** >>> Aqui se inserto el codigo <<< ***} {if $product.is_customizable && count($product.customizations.fields)} {block name='product_customization'} {include file="catalog/_partials/product-customization.tpl" customizations=$product.customizations} {/block} {/if} Agradezco su colaboración. Gracias Info ad. PS 1.7.3 Link to comment Share on other sites More sharing options...
eridamega Posted April 16, 2018 Author Share Posted April 16, 2018 Algún alma piadosa me ayuda?? Link to comment Share on other sites More sharing options...
Sergio Ruiz Posted April 16, 2018 Share Posted April 16, 2018 Comprobado y ocurre lo mismo por aquí a cambiar el bloque de posición. Voy a mirarlo... y si averiguo el problema te cuento. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now