Questo Design Posted June 6, 2020 Share Posted June 6, 2020 Is it possible in Prestashop 1.7.6.4 to replace the add to cart button bu coming soon or no longer available? Any module that might be able to this for us? Hans Link to comment Share on other sites More sharing options...
JBW Posted June 7, 2020 Share Posted June 7, 2020 If you only want to change the text on the button, for 1.7. classic theme edit file line 43ff in \themes\classic\templates\catalog\_partials\product-add-to-cart.tpl and clear cache afterwards. <div class="add"> <button class="btn btn-primary 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> {if !$product.add_to_cart_url} {l s='Coming soon...' d='Shop.Theme.Actions'} {else} {l s='Add to cart' d='Shop.Theme.Actions'} {/if} </button> </div> 1 Link to comment Share on other sites More sharing options...
jeanluc.12 Posted June 10, 2020 Share Posted June 10, 2020 On 6/6/2020 at 7:00 PM, Questo Design said: Is it possible in Prestashop 1.7.6.4 to replace the add to cart button bu coming soon or no longer available? Any module that might be able to this for us? Hans You can use the back in stock alert module to add a subscription box on the product page so that customers can opt-in for the stock alert email. https://addons.prestashop.com/en/search?search_query=stocke alert 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