I have several websites on domain access and products setup and am trying to redirect to my primary domain checkout after adding to cart as all payments would be going through my main website as SSL certificate setup etc.
So if someone is viewing a product on http://www.website1.com or http://www.website2.com and clicks add to cart, it redirects to my primary domain https://www.primarydomain.com/checkout with that product added to it.
I have experimented with rules, however this is very complex as far as I can see - any help would be really appreciated.
Comments
Comment #1
jeremymcminn commentedAnyone?
Comment #2
yenidem commentedI am not sure but .htaccess may find to solve.
Comment #3
rszrama commentedThis seems beyond the scope of this issue queue, particularly as the issue submission guidelines indicate we don't provide support in here. You may just have to use code here, adding a custom submit handler to the Add to Cart form to perform the redirect. Not sure what sharing carts across domains will look like, though.
Comment #4
jeremymcminn commentedCool thanks, wasnt aware there was no support in here - apologies.
Comment #5
rszrama commentedNo sweat; you can find more answers at http://www.drupalcommerce.org/questions, but a solid Domain Access integration has yet to be attempted and documented as far as I know. If you use IRC, there are typically folks in #drupal-commerce; googletorp is pitching a Domain Access project right now, so you may be able to collaborate.
Comment #6
summit commentedHi,
Referring to: "googletorp is pitching a Domain Access project right now". Any news from this please?
Greetings, Martijn