Changing MOS

Question for the community:

Looking for advice on the best way to handle the following situation over the web:

Customer adds item to cart as anonymous.

Customer logs in and is member.

We want existing item in cart top to reflect member price (in this case we have a Member MOS and Member pricetype and use ranking to swicth to Member MOS upon login).

 

Here is what we are currently doing but receiving an error:

After Login, We perform a getlogininfo method and we see that MOS has changed from default (5) to our Member MOS (7).

We do a transfer cart method to move from anonymous to logged in user.

We then try and perform an update_pricetype method and we receive an error that tells us that the pricetype we are trying to update is not available in the MOS.

However, we can clearly see that the pricetype we are trying to use is available in the Member MOS.Strange right? This is not a price type issue. The price type is there and is available under the member MOS.

What are we doing wrong? Do we need to perform a ChangeMOS method? It looks like we moved over MOS after login. Not sure what MOS the  update pricetype method is trying to work under. I assume the member MOS.

Any advice on troubleshooting the above scenario or advice on a better way to do this would be appreciated.

Christian @ THE TECH MUSEUM

 

 

Parents
  • You have likely resolved this by now, but my understanding (and that's not saying much) is that once an item is carted, it is carted at the mode of sale that carted it, even if the session has transferred. You might need to save the cart items in memory, clear the cart, and re-add each item to a new cart once the session MOS has been transferred. I haven't tried to do this exactly, but the issue that you describe is something we encounter as well.

    Chris

Reply
  • You have likely resolved this by now, but my understanding (and that's not saying much) is that once an item is carted, it is carted at the mode of sale that carted it, even if the session has transferred. You might need to save the cart items in memory, clear the cart, and re-add each item to a new cart once the session MOS has been transferred. I haven't tried to do this exactly, but the issue that you describe is something we encounter as well.

    Chris

Children
No Data