Search found 99 matches

by khizar
13 Mar 2021, 05:32
Forum: Help
Topic: change direction-right to left
Replies: 6
Views: 4187

Re: change direction-right to left

waitng for reply
by khizar
12 Mar 2021, 11:55
Forum: Help
Topic: change direction-right to left
Replies: 6
Views: 4187

Re: change direction-right to left

waiting for reply
by khizar
12 Mar 2021, 07:16
Forum: Help
Topic: change direction-right to left
Replies: 6
Views: 4187

Re: change direction-right to left

The new Aimeos admin backend is optimized for RTL languages: admin-rtl.png The Aimeos versions 2020.10 and before use Bootstrap 4 which doesn't support RTL languages well. You can try to add the CSS rule direction: rtl to the root HTML element but that will only do half of the job. can you please g...
by khizar
10 Mar 2021, 11:48
Forum: Help
Topic: Implementing Delivery Provider
Replies: 6
Views: 1766

Re: Implementing Delivery Provider

aimeos wrote: 10 Mar 2021, 11:43

Code: Select all

if( $addr = current( $basket->getAddress( 'payment' ) ) )
{
	$firstname = $addr->getFirstname();
	$lastname = $addr->getLastname();
	// ...
	// Alternative:
	$map = $addr->toArray();
}
it worked.Thankyou so much aimeos.
by khizar
10 Mar 2021, 11:39
Forum: Help
Topic: Implementing Delivery Provider
Replies: 6
Views: 1766

Re: Implementing Delivery Provider

It returns the first item of an array: https://www.php.net/manual/en/function.current Alternatively, you can use: $addr = $basket->getAddress( 'payment', 0 ) but it will fail if there's no address at position 0. $addr = $basket->getAddress( 'payment',9 ); info($addr); i tried that to get the first ...
by khizar
10 Mar 2021, 11:33
Forum: Help
Topic: adding new translations:currency translation
Replies: 10
Views: 3708

Re: adding new translations:currency translation

aimeos wrote: 10 Mar 2021, 11:28 Thanks. Can you please upload all other translation files too?
yes i will do it
by khizar
10 Mar 2021, 11:32
Forum: Help
Topic: Implementing Delivery Provider
Replies: 6
Views: 1766

Re: Implementing Delivery Provider

Use $addr = current( $basket->getAddress( 'payment' ) ) Check the order base item interface and the interfaces of the items within to see what methods they implement: https://github.com/aimeos/aimeos-core/blob/master/lib/mshoplib/src/MShop/Order/Item/Base/Iface.php what is the purpose of current me...
by khizar
10 Mar 2021, 11:21
Forum: Help
Topic: adding new translations:currency translation
Replies: 10
Views: 3708

Re: adding new translations:currency translation

aimeos wrote: 10 Mar 2021, 11:11 If you upload your files to Transifex, we will create a new release immediately
i have uploaded the files now.
by khizar
10 Mar 2021, 09:54
Forum: Help
Topic: Implementing Delivery Provider
Replies: 6
Views: 1766

Implementing Delivery Provider

Hi aimeos, i am using laravel 8 and aimeos "~2020.10".I am trying to implement Delivery service provider for which i have generated a file Myprovider.php in the directory ext\moudhah\lib\custom\src\MShop\Service\Provider\Delivery <?php namespace Aimeos\MShop\Service\Provider\Delivery; use ...
by khizar
10 Mar 2021, 05:42
Forum: Help
Topic: Checkout process-update shipping cost
Replies: 11
Views: 4474

Re: Checkout process-update shipping cost

Click on the "+" symbol right of the "Provider" field to add your decorator to the service: https://aimeos.org/docs/latest/manual/service-decorators/#usage Here you can see there is no Costdecorator which i have made(mentioned above).Do i have to add that decorator in configurat...