Jump to content

Enabling or not stock on single article


Recommended Posts

Good morning,

I have a shop where stock quantities must be handles in two ways:

- articles always available, in any size and colour, in any quantity. No stock control required.

- articles available according to colour, size and number of pieces available in the warehouse. Precise stock control required.

In order to handle this, I am considering following this procedure:

- Articles where precise stock control is required follow the normal procedure

- Articles where no stock control is required get quantity "0" in the Combination section of the product catalogue, and I have enabled for the single product the possibility of accepting order even if the stock quantity is "0".

The only disadvantage here is that the product page shows the message "Let me know when this product is available" and a box to insert the e-mail address for the notification. Obviously this would discourage the customer to order.

I have solved this problem by removing a line of code in the product.php page, the line which shows the message above and the e-mail box:

// ’HOOK_PRODUCT_OOS’ => Hook::productOutOfStock($product),

Do you have a better way of solving this question?

Thank you everybody.

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