How to Let Customers Never Skip to Fill Information
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
How to Let Customers Never Skip to Fill Information
Hello Aimeos,
I am not sure if I can ask you about this..
but I just don't want my customers to skip to fill in the information when they make a purchase.
For example, my website has Shopping Cart, Address, Delivery, Payment, and Summary section.
Once a customer goes through all steps, he doesn't need to go through Address, Delivery, and Payment steps next time.
I think it happens because of Cache, but I don't know where to edit this..
Please help me
Thank you
I am not sure if I can ask you about this..
but I just don't want my customers to skip to fill in the information when they make a purchase.
For example, my website has Shopping Cart, Address, Delivery, Payment, and Summary section.
Once a customer goes through all steps, he doesn't need to go through Address, Delivery, and Payment steps next time.
I think it happens because of Cache, but I don't know where to edit this..
Please help me
Thank you
Re: How to Let Customers Never Skip to Fill Information
There's currently no way to reconfigure this behavior because the checkout subparts check if there's the required data available or not and stop at that point or let it pass to the next step:
https://github.com/aimeos/ai-client-htm ... #L265-L270
You can change that only be extending the subparts and overwrite the process() methods.
https://github.com/aimeos/ai-client-htm ... #L265-L270
You can change that only be extending the subparts and overwrite the process() methods.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: How to Let Customers Never Skip to Fill Information
Perfect, thanks. Will start developing this way.
Re: How to Let Customers Never Skip to Fill Information
In latest dev-master and the upcoming 2022.01, you can overwrite the behavior by adding a isAvailable() macro:
https://github.com/aimeos/ai-client-htm ... d.php#L264
For example:
Same for all other checkout/standard subparts.
https://github.com/aimeos/ai-client-htm ... d.php#L264
For example:
Code: Select all
\Aimeos\Client\Html\Checkout\Standard\Address\Standard::macro( 'isAvailable', function( $basket ) {
return false;
}
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star