Help with Config for Checkout Process
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Help with Config for Checkout Process
I intend to modify the checkout process slightly, but wanted to understand it first. I have modified the config expecting only a subset of the checkout stages to be displayed, and/or a one-page checkout process, but my config changes have made no difference and I still have a 5-step (Basket, Address, Delivery, Payment, Summary) checkout process. Any help would be appreciated. The relevant parts of my config/shop.php are below. Whilst this config is a bit of a nonsense, I was simply trying to prove then changes.
Code: Select all
return array(
...
'client' => array(
'html' => array(
...
'checkout' => array(
'standard' => array(
'default' => array(
'subparts' => array( 'address', 'summary', 'order', 'process' ),
),
'onepage' => array('address', 'summary'),
),
),
...
Re: Help with Config for Checkout Process
Your configuration is correct but for the 1.x/2015.x package.
The documentation has not yet been updated for 2016.x (that will happen in the next days). The main difference is that all "default" substrings have to be replaced with "standard". That's a side effect caused by the move to PSR-4.
The documentation has not yet been updated for 2016.x (that will happen in the next days). The main difference is that all "default" substrings have to be replaced with "standard". That's a side effect caused by the move to PSR-4.
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: Help with Config for Checkout Process
Sorry, I should have made it clear which version I'm using. I believe it's version 2015.10.2 (as per composer.lock) with Laravel 5.1 on xampp.
I believe my config is correct as in src/Client/Checkout/Standard/Default.php, lines 546 - 550 are:
and the value in $this->_subPartPath is client/html/checkout/standard/default/subparts
I don't know what else to check and would be grateful of some ideas.
Regards
WYGIGS
I believe my config is correct as in src/Client/Checkout/Standard/Default.php, lines 546 - 550 are:
Code: Select all
$onepage = $view->config( 'client/html/checkout/standard/onepage', array() );
$onestep = array_shift( $onepage ); // keep the first one page step
$steps = (array) $context->getConfig()->get($this->_subPartPath, $this->_subPartNames );
$steps = array_diff( $steps, $onepage ); // remove all remaining steps in $onepage
I don't know what else to check and would be grateful of some ideas.
Regards
WYGIGS
Re: Help with Config for Checkout Process
Your configuration is correct for Aimeos Core 2015.x / Aimeos Laravel 1.x.
Is 'client' the only key in your "./config/shop.php" file or is it available twice to the first one gets overwritten?
Is 'client' the only key in your "./config/shop.php" file or is it available twice to the first one gets overwritten?
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: Help with Config for Checkout Process
Thank you!
Client appears only once, but checkout appears twice - Doh!
Regards
WYGIGS
Client appears only once, but checkout appears twice - Doh!
Regards
WYGIGS