brasta Posted December 8, 2019 Share Posted December 8, 2019 I tried to add the Up / Down button to the product list. Unfortunately only the first element is with these buttons. With the others this button is missing. <form action="{$urls.pages.cart}" method="post" class="add-to-cart-or-refresh"> <input type="hidden" name="token" value="{$static_token}"> <input type="hidden" name="id_product" value="{$product.id_product}" class="product_page_product_id"> <input type="hidden" name="qty" value="1"> <dl class="data-sheet"> {block name='product_quantity'} <div class="product-quantity clearfix"> <span class="control-label"> <strong>{l s='Quantity' d='Shop.Theme.Catalog'}</strong> </span> {* AngarTheme *} <div class="qty"> <input type="text" name="qty" id="quantity_wanted" value="1" class="input form-control" min="1" height="48" aria-label="{l s='Quantity' d='Shop.Theme.Actions'}"> </div> </div> {* <p style="line-height:1.8;"> </p> *} {* AngarTheme *} {if !$configuration.is_catalog} {if (!isset($product.customization_required) || !$product.customization_required) && ($product.allow_oosp || $product.quantity > 0)} <button class="btn add-to-cart" data-button-action="add-to-cart" type="submit" {if !$product.add_to_cart_url} disabled {/if}> <i class="material-icons shopping-cart"></i> <span>{l s='Add to cart' d='Shop.Theme.Actions'}</span> </button> {else} <button class="btn add-to-cart" data-button-action="add-to-cart" type="submit" disabled> <i class="material-icons shopping-cart"></i> <span>{l s='Add to cart' d='Shop.Theme.Actions'}</span> </button> {/if} {/if} {/block} </dl> </form> Somebody can help me. Many thanks for the help. 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