Author Topic: After registering, says registration complete but doesn't carry on to cart  (Read 271 times)

Andrew

  • Jr. Member
  • **
  • Posts: 124
    • Shriek Design
Hi There. I have a site at https://livebrew.co.nz/index.php Joomla 3.8.13 and virtuemart 3.4.2 Using protostar template
When I add to cart and go to checkout, then register, I expect the page to carry on back to the cart after registration to complete the order but it just says 'Registration Complete'
Any ideas what I am doing wrong? Sorry, can't find anything in search.
Thanks
Andrew

hellorain

  • Jr. Member
  • **
  • Posts: 105
    • Raincreatives - Virtuemart & Mobile Commerce Experts
  • Skype Name: support.raincreatives
Hello,

Need to set registration redirect in joomla that it will redirect to checkout page after registration.

Best Regards,
hellorain.

Raincreatives - Virtuemart & Mobile Commerce Experts

Andrew

  • Jr. Member
  • **
  • Posts: 124
    • Shriek Design
Thanks for your reply. Where do I set that? Can't find anywhere except in the standard joomla login module and that doesn't work.
Andrew

Andrew

  • Jr. Member
  • **
  • Posts: 124
    • Shriek Design
I've worked out that it works if I turn off Search Engine Friendly URLs. But since its best with that on I'd like to keep it. Any ideas what's going on?
Thanks
Andrew

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8561
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Stumped on this one

the site above is very clean and standard . no over rides,  Siteground hosted, forced https and no www , correct menus set for VM home, cart and account

std url :   https://livebrew.co.nz/store/my-account/editaddresscartBT

With SEF off the registration of a new user from the cart redirects to the cart when successful

with SEF on it stays on the VM reg page

the var $cart->_fromCart in the cntrl. saveUser() is empty and this is why it stays on the page

In the session  \"_fromCart\":true,

complete std code

   function saveUser(){
      $cart = VirtueMartCart::getCart();

vmdebug('saveUser _fromCart',(int)$cart->_fromCart,(int)$msg);

true,true with no SEF,    false,true with SEF

in the edit template $this->cart->_fromCart  is true so cancel buttons etc go back to cart etc

temp fix in user ctrl

$cart->_fromCart = true;
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation