Search found 7922 matches

by aimeos
03 Mar 2021, 09:03
Forum: Laravel package
Topic: how to prevent create new order when payment failed
Replies: 8
Views: 3641

Re: how to prevent create new order when payment failed

We are still evaluating how we can prevent creating new orders when customers are reloading the "process" page. Our current idea is to use the getSessionLock/setSessionLock() methods in the order base manager: https://github.com/aimeos/aimeos-core/blob/master/lib/mshoplib/src/MShop/Order/M...
by aimeos
02 Mar 2021, 09:54
Forum: TYPO3 extension
Topic: Class '\Omnipay\quickpay\Gateway' not found
Replies: 5
Views: 2590

Re: Class '\Omnipay\quickpay\Gateway' not found

Seems like the Omnipay driver is incomplete and the send() method of the reponse object isn't implemented.
by aimeos
01 Mar 2021, 11:54
Forum: Help
Topic: CMS extension
Replies: 62
Views: 60906

Re: CMS extension

But why I can't extend mshop_cms page with normal way in my extension? Why do I get the error? You did not add some config for mshop_cms somewhere ? Because I am able to extend users, order, product and other aimeos tables.. You can but then it won't be in the aimeos/ai-cms-grapesjs extension. Inst...
by aimeos
01 Mar 2021, 11:48
Forum: Help
Topic: Checkout process-update shipping cost
Replies: 11
Views: 4484

Re: Checkout process-update shipping cost

You haven't mentioned the Weight decorator and that doesn't fit your needs. Nevertheless, use it as reference for you own decorator esp. the register() method and the calculation of the weight for the products in the basket. In fact, you should extend from the Weight decorator and only add the calcP...
by aimeos
01 Mar 2021, 11:43
Forum: Laravel package
Topic: Change search functionality and override files in vendor
Replies: 3
Views: 1310

Re: Change search functionality and override files in vendor

Always extend the orginal classes in your own extension, never overwrite core files! Otherwise, your changes would be lost if you run "composer update".
by aimeos
01 Mar 2021, 10:58
Forum: Laravel package
Topic: category names in search result
Replies: 3
Views: 1195

Re: category names in search result

Yes, you can use this configuration to add the categories to the products: https://aimeos.org/docs/2020.x/config/client-html/catalog-lists/#domains 'client' => [ 'html' => [ 'catalog' => [ 'lists' => [ 'domains' => ['media', 'price', 'text', 'catalog' => ['text']] ] ] ] ] ) This will include the loc...
by aimeos
01 Mar 2021, 10:51
Forum: Laravel package
Topic: Run Aimeos jobs in Laravel controller
Replies: 5
Views: 2397

Re: Run Aimeos jobs in Laravel controller

Don't know if this is really useful but if you want to have an own, specific command, you can use the aimeos:jobs command as reference:
https://github.com/aimeos/aimeos-larave ... ommand.php
by aimeos
01 Mar 2021, 10:48
Forum: Help
Topic: Checkout process-update shipping cost
Replies: 11
Views: 4484

Re: Checkout process-update shipping cost

There's already a Weight decorator that shows/hides the delivery options based on the product package-weigth properties: https://github.com/aimeos/aimeos-core/blob/master/lib/mshoplib/src/MShop/Service/Provider/Decorator/Weight.php Here's the documentation for the Weight decorator: https://aimeos.or...
by aimeos
27 Feb 2021, 12:53
Forum: Laravel package
Topic: Error: Cannot use a scalar value as an array
Replies: 2
Views: 1756

Re: Error: Cannot use a scalar value as an array

The line seems to be uncritical: https://github.com/aimeos/aimeos-core/blob/2020.10/lib/mshoplib/src/MShop/Index/Manager/Attribute/Standard.php#L79 In the class it's also an array: https://github.com/aimeos/aimeos-core/blob/2020.10/lib/mshoplib/src/MShop/Index/Manager/Attribute/Standard.php#L34-L47 ...
by aimeos
26 Feb 2021, 09:40
Forum: Help
Topic: Calculate Shipping Costs
Replies: 4
Views: 2545

Re: Calculate Shipping Costs

Implement a service decorator and add it to your configuration in the services panel of the admin backend (that's important for using it!):
https://aimeos.org/docs/2020.x/provider ... ecorators/