Jump to content

Prestashop generates 2 orders with same reference


Recommended Posts

Hello to all,

 

Maybe this has already been answered but i haven't found a solution...

 

I have PS 1.5.3.1 and when i create an order and i indicate a voucher code that adds a free product, and the customer confirms, it creates 2 orders with the same reference, but the invoice number is different, so it creates those 2 oders as linked orders, and i guess it has something to do with carriers but no idea of how to fix this...

 

Can anyone help me? 

 

Thanks in advance.

Link to comment
Share on other sites

Hello bellini13 and thanks for your reply. 

 

I think it has to be with carriers because some weeks ago i read something related to this in the spanish forum but it can be easily wrong. Let me explai the situation:

 

I sell smartphones and accessories, I have some articles that i don't sell directly but i use as gifts (silicon cases) so i have these cases created and activated but visible nowhere, so that unless you have the url of the product you cannot see the product page.

These items are not managed like the other products in terms of stock. For these items i put manually the stock every time i purchase units, and the normal products are managed using the advanced stock management.

 

Besides i have cart rules created for receiving these gifts, so that for each model and colour i have a voucher code that the customer has to put in the cart summary and then the case is added as a free item. Then at the end of the process the customer finishes the order and in the back office i see 2 orders with the same reference but each has a different invoice number, so i have the 2 items separated and it's not what i want...

 

After this the possible causes can be the stock management or having those items as not visible (but activated), but shouldn't be a problem...

 

I think this is all the info i can give to you, all products can be used with any carrier, so i guess it has nothing to do...

 

If you can give me any idea would be appreciated.

 

PD: Sorry for my english.

 

Regards!

Link to comment
Share on other sites

No, this happens with stock funcionalities, i don't have any module that can cause this problem. I just go to Cart Rules and i generate a cart rule for each colour and model (this comes with prestashop). So as it only happens with items associated to cart rules that add a free item to the cart i suppose it has to do with this and i haven't found any clue on the forums...

 

I attach a couple of pics to show what i have done, just created a cart rule with a code that adds the silicon case to the cart.

 

Thank you in advance.

 

cartrules.jpg

 

rule.jpg

Link to comment
Share on other sites

  • 8 months later...
  • 4 months later...

I am using Advanced Stock Managment for products.

My gift was not in Advanced Stock Managment (no need to track it). It caused this problem.

When you set a product which is covered by ASM as a gift then it works OK.

Thank you! This solved my problem

 

I had some products set to manual and some to advanced.

 

When the two were put together in the same order, Prestshop separated them with the same reference number

Edited by 5haun (see edit history)
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...