Jump to content

[SOLVED] Allowing backorders


ps2k11

Recommended Posts

I would like to allow customers to order products that are on back order.

 

I know that I can put a message in Displayed text when allowed to be back-ordered:

 

Here's the problem I have.

 

If I choose not to allow back-orders in cart the message 'Out of stock on line' is displayed when browsing a category.

 

If I choose to allow back-orders in cart the message 'Available' is displayed when browsing a category.

The customer doesn't know that the product is back-ordered until the view button is clicked.

 

Is there a way to display back-ordered instead of available when browsing a category ?

Link to comment
Share on other sites

http://www.prestasho...rder-displayed/

 

there is a good tip in there... :)

 

did not solve the problem but put me in the right track

 

If anybody is interested here's what you have to do

 

change product-list.tpl in line 44 from

 

{if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)}<span class="availability">{if ($product.allow_oosp || $product.quantity > 0)}{l s='Available'}{elseif (isset($product.quantity_all_versions) && $product.quantity_all_versions > 0)}{l s='Product available with different options'}{else}{l s='Out of stock'}{/if}</span>{/if}

 

to

 

{if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)}<span class="availability">{if $product.quantity > 0}{l s='Available'}{elseif (isset($product.quantity_all_versions) && $product.quantity_all_versions > 0)}{l s='Product available with different options'}{else}{l s='Backorder'}{/if}</span>{/if}

Link to comment
Share on other sites

  • 2 years later...
  • 3 years later...

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