Jump to content

Confusing Inventory Management


HAIRWEBSHOP

Recommended Posts

Hello,

 

We do not have an active inventory management.

However, for outlet products, we would like to set number of products in stock manually.

I sort of managed to do this, but:

  • In stock notice is all colored red, except for products whom I have set up manually (those are green)
  • The product filter thinks that nothing is in stock, except for products whom I have set up manually

Can someone please help me figure this out?
Thank you in advance!

Link to comment
Share on other sites

I think you have to manually set quantity for all products if you want to make it available for sale.

if the product does not need stock management, you can set a very large number (such as 99999999), so you do not bother to set it again but it will be available for sale.

Link to comment
Share on other sites

Hello shokinro, and thank you kindly for your reply!

 

Customers are able to purchase items, as all products are set to Allow Orders by default.

However, prestashop treats all products as "out of stock" unless I specify available quantities manually, which is needed for some of the outlet products.

 

Also, if I were to specify available quantities manually, it will be displayed.
However, if choose to hide it using CSS, the outlet products that do need to display quantity, will not be outputted.

 

It's a difficult situation.

Link to comment
Share on other sites

You may consider use a workaround as following:

check the quantity of product and use this to hide the number of items available or anything else you want to hide.

 

{if $product->quantity < 100000000} show something {/if}

 

And set quantity those product does not need stock to a number great the above number, for example double of above number. The number should be bigger enough that it never reaches.

It is not a very good solution, but I think it should solve your problem.

It is not a very good solution, but I think it should solve your problem.

Link to comment
Share on other sites

It is product page, the file should be as following

 

/themes/YourThemeFolder/product.tpl

 

But be noted, the code is posted in previous message is not tested, you have to test that by your self.

 

For mass update, You may have to use sql statement via database tool such as phpmyadmin, you may be look for a 3rd party module.

Link to comment
Share on other sites

Thank you kindly for your support.
I think this may be the solution to our problem.

 

I have two questions, though:

  1. In which file exactly do I need to paste the code?
  2. Is it possible to mass set quantity to 200000000?
    We have over 5000+ products, it's very time consuming to make changes like that.

Thank you.

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