Jump to content

Product coming soon or no longer available


Questo Design

Recommended Posts

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">&#xE547;</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>

 

  • Like 1
Link to comment
Share on other sites

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

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...