zhenya0007 0 Posted July 23, 2020 Report Share Posted July 23, 2020 Помогите вспомнить, не могу никак. Помогите убрать надпись - "нет в наличии" в товаре Link to post Share on other sites
support 447 Posted July 23, 2020 Report Share Posted July 23, 2020 2 минуты назад, zhenya0007 сказал: Помогите вспомнить, не могу никак. Помогите убрать надпись - "нет в наличии" в товаре В /templates/vamshop4/module/product_info/product_info_v1.html замените: <div class="CartContentLeft"> {if {$PRODUCTS_QUANTITY} > 0} <div class="form-row align-items-center"> <div class="col-auto mt-1"> <label class="sr-only" for="quantity{$PRODUCTS_ID}">{#quantity#}</label> <div class="input-group"> <div class="input-group-prepend"> <span class="btn btn-secondary value-control" data-action="minus" data-target="quantity{$PRODUCTS_ID}"><i class="fa fa-minus"></i></span> </div> {$ADD_QTY} <div class="input-group-append"> <span class="btn btn-secondary value-control" data-action="plus" data-target="quantity{$PRODUCTS_ID}"><i class="fa fa-plus"></i></span> </div> </div> </div> <div class="col-auto mt-1"> <button class="btn btn-inverse checkout btn-block"><i class="fas fa-shopping-cart"></i> {$smarty.const.BOX_HEADING_ADD_PRODUCT_ID}</button> </div> </div> {else} <div class="form-row align-items-center"> <div class="col-auto mt-1"> <span class="btn btn-outline-danger btn-block">{$smarty.const.TEXT_OUT_OF_STOCK}</span> </div> </div> {/if} </div> на: <div class="CartContentLeft"> <div class="form-row align-items-center"> <div class="col-auto mt-1"> <label class="sr-only" for="quantity{$PRODUCTS_ID}">{#quantity#}</label> <div class="input-group"> <div class="input-group-prepend"> <span class="btn btn-secondary value-control" data-action="minus" data-target="quantity{$PRODUCTS_ID}"><i class="fa fa-minus"></i></span> </div> {$ADD_QTY} <div class="input-group-append"> <span class="btn btn-secondary value-control" data-action="plus" data-target="quantity{$PRODUCTS_ID}"><i class="fa fa-plus"></i></span> </div> </div> </div> <div class="col-auto mt-1"> <button class="btn btn-inverse checkout btn-block"><i class="fas fa-shopping-cart"></i> {$smarty.const.BOX_HEADING_ADD_PRODUCT_ID}</button> </div> </div> </div> Link to post Share on other sites
zhenya0007 0 Posted July 23, 2020 Author Report Share Posted July 23, 2020 Премного благодарен Link to post Share on other sites
support 447 Posted July 23, 2020 Report Share Posted July 23, 2020 Не за что Link to post Share on other sites
Recommended Posts