Jump to content
thirty bees forum
  • 0

Product Customization not handed over to Reorder


gl_ybit

Question

I have a problem with a Product Customization.

It works fine for the Order itself, but when the Order (or rather the Cart) is copied for a Reorder from the Customers orders history, the Customization is lost.

I cannot see the customized text field in the Order overview and thus cannot know how the customer wanted the original product customized, I only see the base product.

Does anyone know a trick, tweak or override that can help me out?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 1

You might consider submitting an error report in Github.

Anyway, to help you a little further: 

The file where this is handled is /controllers/front/ParentOrderController.php

The code handling it start with:

      if (Tools::isSubmit('submitReorder') && $idOrder = (int) Tools::getValue('id_order')) 

In the (older) version where I checked this it was at line 87.

Link to comment
Share on other sites

  • 0
On 1/3/2020 at 10:26 PM, musicmaster said:

You might consider submitting an error report in Github.

Anyway, to help you a little further: 

The file where this is handled is /controllers/front/ParentOrderController.php

The code handling it start with:

      if (Tools::isSubmit('submitReorder') && $idOrder = (int) Tools::getValue('id_order')) 

In the (older) version where I checked this it was at line 87.

 

Thanks. I've checked it out a bit. The Cart->duplicate() method is used to copy the old cart, funnily enough there is code in there to copy the customizations and the customizations themselves are even added to the database, but not the customization_data... this is weird.

 

Edit: I opened a Github issue: https://github.com/thirtybees/thirtybees/issues/1131

Edited by gl_ybit
adding link to a github issue
  • Like 1
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...