Jump to content

Custom Out of Stock page


DMN31

Recommended Posts

Hello,

 

I was curious what file(s) would I go about customizing if I wanted to alter the Out of Stock page users get when they try purchasing a product that has no inventory left?

 

I want to add an email sign up option on that page that will notify users via email when we have units back in stock. Not sure if this is possible to be automated, of course it is manually.

 

Thanks!

Link to comment
Share on other sites

I think that page is coded directly in cart.php, so there's no template to modify.

 

what you might be able to do is edit the two language variables, for english in lang/english.php, and perhaps add some html into them.

 

$_LANG['outofstock'] = "Out of Stock";

 

$_LANG['outofstockdescription'] = "We are currently out of stock on this item so orders for it have been suspended until more stock is available. For further information, please contact us.";

Link to comment
Share on other sites

I think that page is coded directly in cart.php, so there's no template to modify.

 

what you might be able to do is edit the two language variables, for english in lang/english.php, and perhaps add some html into them.

 

I suppose that option is better then nothing, appreciate it :)

 

Was hoping there was a way to implement a field to submit an email for automatically (or manually) contacting when inventory was back but that can work for now.

 

Thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated