Search found 27 matches

by brunojti
06 Sep 2016, 18:52
Forum: Laravel package
Topic: Populate users table during checkout
Replies: 1
Views: 449

Populate users table during checkout

When the user clicks on the ""BUY NOW" button at the end of the checkout steps, a new customer is created (in laravel's users table). I've added a migration to add my custom fields to users table: public function up() { Schema::table('users', function (Blueprint $table) { $table->string('address4', ...
by brunojti
06 Sep 2016, 17:27
Forum: Help
Topic: Undefined property: $prefix
Replies: 11
Views: 2048

Re: Undefined property: $prefix

Now my Item class looks like this: <?php /** * @copyright Metaways Infosystems GmbH, 2011 * @license LGPLv3, http://opensource.org/licenses/LGPL-3.0 * @copyright Aimeos (aimeos.org), 2015 * @package MShop * @subpackage Common */ namespace Aimeos\MShop\Order\Item\Base\Address; class MarchioAddressIte...
by brunojti
06 Sep 2016, 13:13
Forum: Help
Topic: Undefined property: $prefix
Replies: 11
Views: 2048

Re: Undefined property: $prefix

Code: Select all

vagrant@vagrant-ubuntu-trusty-64:~$ php -v
PHP 5.5.36-1+donate.sury.org~trusty+1 (cli) (built: May 26 2016 13:10:45)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
by brunojti
06 Sep 2016, 12:54
Forum: Help
Topic: Undefined property: $prefix
Replies: 11
Views: 2048

Re: Undefined property: $prefix

Just edited my last post ;)
by brunojti
06 Sep 2016, 12:36
Forum: Help
Topic: Undefined property: $prefix
Replies: 11
Views: 2048

Re: Undefined property: $prefix

Hi! Here it is... Manager: http://pastebin.com/r6vPsQ8P Item: http://pastebin.com/hZPQRXXT I was able to bypass the error commenting the line 282 here: https://github.com/aimeos/aimeos-core/blob/master/lib/mshoplib/src/MShop/Order/Item/Base/Base.php#L282 The id was null anyways... :) But we need to ...
by brunojti
06 Sep 2016, 00:27
Forum: Help
Topic: Undefined property: $prefix
Replies: 11
Views: 2048

Re: Undefined property: $prefix

I haven't overwritten the constructor... I tried to overwrite it (calling the parent constructor but the error is the same). I have debugged and the code goes all way up to `Common/Item/Base.php` setting the value for $prefix value correctly. https://github.com/aimeos/aimeos-core/blob/master/lib/msh...
by brunojti
05 Sep 2016, 19:32
Forum: Help
Topic: Undefined property: $prefix
Replies: 11
Views: 2048

Undefined property: $prefix

I made a little of progress trying to add custom fields to address part in checkout. Now I am getting the following error: Undefined property: Aimeos\MShop\Order\Item\Base\Address\MyExt::$prefix (even if I use the Standard manager): Undefined property: Aimeos\MShop\Order\Item\Base\Address\Standard::...
by brunojti
05 Sep 2016, 19:01
Forum: Laravel package
Topic: user gets account creation email but cannot login
Replies: 10
Views: 1764

Re: user gets account creation email but cannot login

I was missing the manager... config/shop.php: 'mshop' => array( 'order' => array( 'manager' => array( 'base' => array( 'address' => array( 'name' => 'MyManager' ) ) ) ), Now my custom manager and item is getting called. The address object here ( https://github.com/aimeos/ai-controller-frontend/blob/...
by brunojti
05 Sep 2016, 14:15
Forum: Laravel package
Topic: user gets account creation email but cannot login
Replies: 10
Views: 1764

Re: user gets account creation email but cannot login

I've changed my files but the core's `fromArray` method is still called in `vendor/aimeos/aimeos-core/lib/mshoplib/src/MShop/Order/Item/Base/Address/Standard.php`... `ext/my/myext/lib/custom/src/Mshop/Order/Item/Base/Address/CustomAddress.php` namespace Aimeos\MShop\Order\Item\Base\Address; class Cu...
by brunojti
03 Sep 2016, 00:00
Forum: Laravel package
Topic: user gets account creation email but cannot login
Replies: 10
Views: 1764

Re: user gets account creation email but cannot login

I'll be glad to help here in the Forums ;) I was able to extend `Standard.php` using https://aimeos.org/docs/Configuration/Core/client/html/checkout/standard/address/billing/name Now my problem is extending Items and Managers, I just re-read the docs about this and found no reference on how to exten...