Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect to cart from a different domain #26

Open
arunshan opened this issue Jul 20, 2015 · 1 comment
Open

Redirect to cart from a different domain #26

arunshan opened this issue Jul 20, 2015 · 1 comment

Comments

@arunshan
Copy link

A client added us as a user and assigned a role in Magento backend. I would like to create a cart, add products and redirect to the cart URL from a different origin.

Scenario:
Say we have a simple cart implemented in experience.example.com and have products added to the cart. On checkout button click it should redirect to the client's website (say ippolita.com/checkout/cart) with the products in it. We would like to create a new session and a new cart every time a user clicks on the Checkout button in expereince.fuiszmedia.com.

Progress:

  1. We can create a cart with a server side session
  2. Adding products to the cart is done
  3. But I am unable to redirect to the clients cart with products in it.

How would I get the link to the client's checkout page with cart and products in it?

@ajith-github
Copy link

The moveToCustomerQuote function in cart product adds the cart products to customer's cart. Is this the functionality you are trying to get?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants