Search found 72 matches

by Ahmad
06 Jul 2020, 07:50
Forum: Laravel package
Topic: how to add payment from credit for customers?
Replies: 2
Views: 1556

Re: how to add payment from credit for customers?

i want to pay from credit not from online payment gateway,
@aimeos please read my request and help me.
by Ahmad
04 Jul 2020, 08:28
Forum: Laravel package
Topic: how to add payment from credit for customers?
Replies: 2
Views: 1556

how to add payment from credit for customers?

hi, i use aimeos laravel version 2020.04 i want to add a payment way for some customers to pay the order from credit wallet i want to able charge the customer wallet from admin or customer can charge the wallet from profile. after that when customer goes to checkout the basket can choose Pay From Cr...
by Ahmad
04 Jul 2020, 08:21
Forum: Laravel package
Topic: how to get total weight of basket products in own custom delivery provider?
Replies: 6
Views: 2990

Re: how to get total weight of basket products in own custom delivery provider?

thanks the final fixed code is: $weight = 0; $ids = $basket->getProducts()->getProductId(); $manager = \Aimeos\MShop::create( $this->getContext(), 'product' ); $filter = $manager->createSearch()->setSlice( 0, count( $ids ) ); $filter->setConditions( $filter->compare( '==', 'product.id', $ids->toArra...
by Ahmad
03 Jul 2020, 19:21
Forum: Laravel package
Topic: how to get total weight of basket products in own custom delivery provider?
Replies: 6
Views: 2990

Re: how to get total weight of basket products in own custom delivery provider?

it's not work yet, i get the following error:

Code: Select all

Call to a member function toArray() on array
by Ahmad
03 Jul 2020, 16:27
Forum: Laravel package
Topic: how to get total weight of basket products in own custom delivery provider?
Replies: 6
Views: 2990

Re: how to get total weight of basket products in own custom delivery provider?

i use Aimeos version 2020.04, i copy your code and use it in my provider but i get this error Object of class Aimeos\Map could not be converted to string in vendor\aimeos\aimeos-core\lib\mwlib\src\MW\Criteria\Expression\Compare\SQL.php:164 i check it and when i change the following line: $filter->se...
by Ahmad
01 Jul 2020, 13:59
Forum: Laravel package
Topic: how to get total weight of basket products in own custom delivery provider?
Replies: 6
Views: 2990

how to get total weight of basket products in own custom delivery provider?

hello, i need to get total weight (product physical package weight that we set in admin) of basket products in my delivery provider to calculate delivery price based on total weight, how can i get it?
by Ahmad
09 Apr 2020, 08:50
Forum: Laravel package
Topic: how to add my custom fields to billing/delivery address?
Replies: 7
Views: 3370

Re: how to add my custom fields to billing/delivery address?

For the state selection, you can change the address partial and add your states there: https://github.com/aimeos/ai-client-html/blob/2019.10/client/html/templates/checkout/standard/address-partial-standard.php#L209-L236 Maybe its best if you do what you want to do in your own Laravel controller and...
by Ahmad
08 Apr 2020, 11:14
Forum: Laravel package
Topic: how to add my custom fields to billing/delivery address?
Replies: 7
Views: 3370

Re: how to add my custom fields to billing/delivery address?

i'm waiting for your answer official aimeos.
by Ahmad
06 Apr 2020, 10:17
Forum: Laravel package
Topic: how to add packing cost (service) to order?
Replies: 2
Views: 1350

Re: how to add packing cost (service) to order?

aimeos wrote: 06 Apr 2020, 06:47 If you want to display the two prices separately, you can add the packaging cost as price value instead of costs of the price item in calcPrice(). These are displayed separately.
i don't understand, what you mean?what is price value?calcPrice are in the service, packaging price is not choosable.
by Ahmad
06 Apr 2020, 10:14
Forum: Laravel package
Topic: how to add my custom fields to billing/delivery address?
Replies: 7
Views: 3370

Re: how to add my custom fields to billing/delivery address?

You can add fields in the delivery step dynamically by implementing a service decorator you configure on top of the delivery service: - https://aimeos.org/docs/Developers/Library/Service - https://aimeos.org/docs/Developers/Library/Service/Implement_service_decorator You can define the countries an...