News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

After registering, says registration complete but doesn't carry on to cart

Started by Andrew, October 10, 2018, 02:53:33 AM

Previous topic - Next topic

Andrew

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

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

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

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

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 https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation