Developer forum

Forum » Ecommerce - Standard features » Reorder when using multiple CartContexts

Reorder when using multiple CartContexts

Adrian Ursu
Reply

Hi Guys,

I have a situation when there are a few OrderContexts defined on the solution.

Before this multiple OrderContext scenario, Reorder (from CustomerCenter) meant just a post to the Cart page with a URL parameter ReorderID=ORDERID

And everything worked like a charm. 

After I have set up multiple contexts, this approach does not work anymore. I assume I have to add an OrderContext to this reorder request. Adding OrderContext=ORDERCONTEXT2 in URL did not solve the problem.

What should I do? Is this a bug or something I am missing?

Thanks,

Adrian


Replies

 
Oleg Rodionov
Reply

Hi Adrian,

I've tested the issue on multilanguage/multicontext solution based on DW8.7.2.2 with site has one regular Cart2 without context applied and two Cart2 with different contexts. Please, refer to http://manual.dynamicweb-cms.com/Default.aspx?ID=7615 and http://manual.dynamicweb-cms.com/Default.aspx?ID=7616 to find out how to use the context feature. Here are steps to test:

1. Login in fronted by an user;

2. Create orders for each of the cards;

3. Using Customer Center with general setup, try to reorder an order from created ones - note that it can be done properly, only the regular cart is filled and order can be done successfully (OK);

4. Perform the step 3 but add the parameter OrderContext=ORDERCONTEXT20 where ORDERCONTEXT20 - ID of target order context (here is my test link for example &CC7332=Orders&ReorderID=ORDER3167&OrderContext=ORDERCONTEXT20);

5. Check the carts - only cart uses context from 4 is filled and order can be done successfully (OK)        

BR, Oleg QA

 

You must be logged in to post in the forum