Jump to content

Desconfigurado el carrito en la hoja del producto


Recommended Posts

Hola!

Modificando la hoja de producto, ya que quería eliminar el botón de cantidad de la hoja de producto, se me ha desconfigurado el carrito en éste. Lo único que he hecho ha sido eliminar los siguientes datos en el product.tpl del tema:

<!-- quantity wanted -->

                        {if !$PS_CATALOG_MODE}

                        <p id="quantity_wanted_p"{if (!$allow_oosp && $product->quantity <= 0) || !$product->available_for_order || $PS_CATALOG_MODE} style="display: none;"{/if}>

                            <label for="quantity_wanted">{l s='Quantity'}</label>

                            <input type="number" min="1" name="qty" id="quantity_wanted" class="text form-control" value="{if isset($quantityBackup)}{$quantityBackup|intval}{else}{if $product->minimal_quantity > 1}{$product->minimal_quantity}{else}1{/if}{/if}" />

                            <a href="#" data-field-qty="qty" class="btn btn-outline status-enable button-minus btn-sm product_quantity_down">

                                <span><i class="fa fa-minus"></i></span>

                            </a>

                            <a href="#" data-field-qty="qty" class="btn btn-outline status-enable button-plus btn-sm product_quantity_up">

                                <span><i class="fa fa-plus"></i></span>

                            </a>

                            <span class="clearfix"></span>

                        </p>

                        {/if}

                        <!-- minimal quantity wanted -->

                        <p id="minimal_quantity_wanted_p"{if $product->minimal_quantity <= 1 || !$product->available_for_order || $PS_CATALOG_MODE} style="display: none;"{/if}>

                            {l s='The minimum purchase order quantity for the product is'} <b id="minimal_quantity_label">{$product->minimal_quantity}</b>

                        </p>

   ¿Podríais decirme qué he hecho mal? Es que he vuelto a subir el product.tpl sin modificar pero sigue desconfigurado. Gracias!!

error1.png

error2.png

Edited by elvestidordelena (see edit history)
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...