Jump to content

Edit History

ps8modules

ps8modules

Hi.

For Prestashop 1.7

./classes/checkout/CheckoutAddressesStep.php

1. find function handleRequest

2. almost finally add functions

$this->logged_in = $this
            ->getCheckoutProcess()
            ->getCheckoutSession()
            ->customerHasLoggedIn();

if ($this->logged_in && !$this->getCheckoutSession()->getCustomer()->is_guest) {
            $this->setComplete(true);
}

3. result:

obrazek.thumb.png.3b400c4fcbf5350d8ec6fb62799799de.png

ps8modules

ps8modules

Hi.

./classes/checkout/CheckoutAddressesStep.php

1. find function handleRequest

2. almost finally add functions

$this->logged_in = $this
            ->getCheckoutProcess()
            ->getCheckoutSession()
            ->customerHasLoggedIn();

if ($this->logged_in && !$this->getCheckoutSession()->getCustomer()->is_guest) {
            $this->setComplete(true);
}

3. result:

obrazek.thumb.png.3b400c4fcbf5350d8ec6fb62799799de.png

×
×
  • Create New...