Search found 72 matches

by Ahmad
08 Sep 2020, 21:31
Forum: Laravel package
Topic: create black lines on the bottom right of the photo after uploading
Replies: 1
Views: 813

create black lines on the bottom right of the photo after uploading

i use aimeos/laravel 2020.04 when i uploud image for product and deliery or payment provider, image was change and save with black lines in right and bottom of that image after uploud (according to the attached image). i check uploaded image in preview folder and find out black lines affected on upl...
by Ahmad
08 Sep 2020, 21:15
Forum: Laravel package
Topic: how can get Bestsellers or Most Popular products?
Replies: 16
Views: 9428

Re: how can get Bestsellers or Most Popular products?

For 2020.x use: $manager = \Aimeos\MShop::create( $context, 'order/base/product' ); $result = $manager->aggregate( $manager->filter(), 'order.base.product.productid', 'order.base.product.quantity', 'sum' ); // find the products which are sold most in $result (product ID is the key, count is the val...
by Ahmad
08 Sep 2020, 07:45
Forum: Laravel package
Topic: not found order after payment redirection
Replies: 7
Views: 3226

Re: not found order after payment redirection

You have to whitelist the checkout confirm route: https://laravel.com/docs/7.x/csrf#csrf-excluding-uris i think you don't understand my mean, please pay attention to this: i change 'same_site' => 'none' in config/session.php file and secure = true, after this change the problem (session of 'aimeos/...
by Ahmad
07 Sep 2020, 16:28
Forum: Laravel package
Topic: how can get Bestsellers or Most Popular products?
Replies: 16
Views: 9428

Re: how can get Bestsellers or Most Popular products?

If you want to evalute the top seller products dynamically, you first have to find out which products are sold most: $manager = \Aimeos\MShop\Factory::createManager( $context, 'order/base/product' ); $filter = $manager->createSearch(); $result = $manager->aggregate( $filter, 'order.base.product.pro...
by Ahmad
07 Sep 2020, 05:48
Forum: Laravel package
Topic: not found order after payment redirection
Replies: 7
Views: 3226

Re: not found order after payment redirection

i still have problem with clearing basket and session when user redirect back from payment gateway. i explain that when i set same_site = None in session config of laravel this problem was solve but the add to basket and other actions in the shop failed because of csrf token mismatch error, @aimeos ...
by Ahmad
03 Sep 2020, 05:07
Forum: Laravel package
Topic: not found order after payment redirection
Replies: 7
Views: 3226

Re: not found order after payment redirection

Is the session cookie not sent by the browser? Google Chrome has introduced a stricter sameSite cookie handling and that causes problems sometimes like the browser doesn't send the cookie to the site even if it should. You can get around that if you send "Set-cookie" explicitely with &quo...
by Ahmad
02 Sep 2020, 21:46
Forum: Laravel package
Topic: not found order after payment redirection
Replies: 7
Views: 3226

Re: not found order after payment redirection

Is the session cookie not sent by the browser? Google Chrome has introduced a stricter sameSite cookie handling and that causes problems sometimes like the browser doesn't send the cookie to the site even if it should. You can get around that if you send "Set-cookie" explicitely with &quo...
by Ahmad
02 Sep 2020, 15:19
Forum: Laravel package
Topic: not found order after payment redirection
Replies: 7
Views: 3226

not found order after payment redirection

i have my custom payment service provider, i successfully send payment request to payment provider but when payment provider redirect customer to payment.url-success i give this error: No order ID available i check it and find that $session->get( 'aimeos/orderid' ) in the Checkout/Confirm/Order/Stan...
by Ahmad
21 Aug 2020, 10:19
Forum: Laravel package
Topic: create own basket type to show basket in another template
Replies: 1
Views: 895

create own basket type to show basket in another template

use aimeos laravel 2020.04:
i want to create my own basket type (template) without change current basket mini, i want to show this basket type in a sidebar with $aibody["basket/sidebar"],
i mean i want to keep basket mini and add my custom basket sidebar
how can i do this?
by Ahmad
21 Aug 2020, 08:03
Forum: Laravel package
Topic: how to use catalog-filter-search singly in header of shop page?
Replies: 6
Views: 2075

how to use catalog-filter-search singly in header of shop page?

i want to use search box (catalog-filter-search) single and without other filters in another place in pages, i mean i want to put search box in header of my pages and set custom styles for it and remove it from catalog filter.
how can i do this?