St055 Posted December 20, 2023 Share Posted December 20, 2023 Salut, Sur PS1.7, quelqu'un sait comment désactiver cette fonctionnalité? Je ne trouve pas dans le BO... Merci Link to comment Share on other sites More sharing options...
ComGrafPL Posted December 20, 2023 Share Posted December 20, 2023 Link to comment Share on other sites More sharing options...
St055 Posted December 21, 2023 Author Share Posted December 21, 2023 Merci. Mais dans mon fichier product-add-to-cart.tpl, je n'ai pas du tout la même structure que ce qui est proposé dans ce post... {strip} <div class="product-add-to-cart"> {if !$configuration.is_catalog} {block name='product_quantity'} <div class="product-quantity"> <span class="control-label">{l s='Quantity : ' d='Shop.Theme.Catalog'}</span> <div class="qty"> <input type="text" name="qty" id="quantity_wanted" value="{$product.quantity_wanted}" class="input-group" min="{$product.minimal_quantity}" aria-label="{l s='Quantity' d='Shop.Theme.Actions'}"> </div> </div> <div class='tvwishlist-compare-wrapper-page add tv-product-page-add-to-cart-wrapper'> <div class="tvcart-btn-model"> <button class="tvall-inner-btn add-to-cart {if !$product.add_to_cart_url} disabled {/if}" data-button-action="add-to-cart" type="submit" {if !$product.add_to_cart_url} disabled {/if}> {if !$product.add_to_cart_url} <i class='material-icons block'></i> <span>{l s='Contact us' d='Shop.Theme.Actions'}</span> {else} <i class="material-icons shopping-cart"></i> <span>{l s='Add to cart' d='Shop.Theme.Actions'}</span> {/if} </button> {* {if $page.page_name == 'product'} <button type="button" class="tvall-inner-btn tvclick-model" data-toggle="modal" data-target="#exampleModalCenter"> <i class="tvcustom-btn"></i> <span>Buy in one click</span> </button> {/if} *} </div> <div class="tvproduct-wishlist-compare"> {hook h='displayWishlistProductPage' product=$product} {hook h='displayProductCompareProductPage' product=$product} </div> <div class="tvproduct-stock-social"> {block name='product_additional_info'} {include file='catalog/_partials/product-additional-info.tpl'} {/block} </div> </div> {/block} {/if} </div> {/strip} Link to comment Share on other sites More sharing options...
St055 Posted January 23 Author Share Posted January 23 Pas d'idée? 😞 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