Jump to content

How to split orders


Presta Beginner

Recommended Posts

Dear members, i am in a bit trouble and i couldnt solve it.  The scenario is below.

 

A customer ordered 10 qty item A and 20 qty item B (all items are based on production, not stock)

 

But i can produce 5 of item A and 10 of item B. 

 

I want to send them and e mail customer estimated time. Just like 

 

"5 of your product A is ready and i can produce reamining on xxxxx date."

 

And ship as soon as i produced remaining qty, 

 

Briefly i want to split product orders based on my production department. Send what i have and send the remaining later.

 

How can i do that?

 

Presta 1.6.1.3 

 

Payment is not important, I will solve payment issue manully.I just wnat to send products based on my capacity and delay remaining quantity.

 

I have seached a lot but coulndt find a way. Can you please help me and save my life? 

 

Thanks.

Link to comment
Share on other sites

I do not think there is an easy way to do that without doing custom coding.

 

you may consider to do following as workaround. 

- create a order from back office for the same customer with the products ship separately.

- remove those product from original order

Link to comment
Share on other sites

Thank you for reply shokinro,

I have considered making new order with same customer but in reality it is impossible.

Because customer can order hundereds of products (wholesaler)

So i have to automate it. 

It is really sad to hear that can not be done easyly. I searched addons also, in order to ship half of the order and ship other half when ready. but can not find. 

 

I am not bad ad php but the smarty template and other thinks make it hard.

 

Can you or anybody else suggest me a way or example?

 

Thanks again. 

Edited by Presta Beginner (see edit history)
Link to comment
Share on other sites

but why do you have to split them into multiple orders? you can just keep them in one order and ship products separately.

 

You may consider to add new column "status" to product details (order line items) so that you can mark it as "shipped".

It might be more easier to do than split the order.

Link to comment
Share on other sites

but why do you have to split them into multiple orders? you can just keep them in one order and ship products separately.

 

 

Thats exactly what i want. How can i ship seperately?

 

But note that, not just split products, also want split one product to two shipping etc.

Link to comment
Share on other sites

I think it is just for your own management purpose and sharing the information with customers.

 

so you can just add new fields "items_shipped" for each line of products, you can show this new column beside the Quantity column.

it will be something like this

 

product name    quantity   items_shipped   ....

iPhone 6               3              3

iPhone case          5               2

 

You said you know about PHP coding, I think you should be able to figure out how to do that now.

  • Like 1
Link to comment
Share on other sites

Thank you very much. I will add new statuse and column. 

But in which file i can use 

 

product name    quantity   items_shipped   ....

iPhone 6               3              3

iPhone case          5               2

 

 

This new list at BO?

Edited by Presta Beginner (see edit history)
Link to comment
Share on other sites

I think as one column is enough?

 

You will need to add column to database ps_order_detail table and then add add the field to related entity class.

 

For back office admin page changes you need modify controller and related theme files.

 

/controllers/admin/AdminOrdersControllers.php

 

/adminfolder/themes/template/default/controllers/orders/

  • Like 1
Link to comment
Share on other sites

Thank you again..

 

I have added items_shipped field and show it on BO order details.

 

But i can not change or update it. How to make it editable and update on order form update?

 

It shows true value from database. (I have manually add some values on items_shipped field on database )

 

But i can not change or edit or update this filed. 

 

Which file updates the order? 

post-1217427-0-11618700-1466397942_thumb.png

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