Default shipping costs
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 72
- Joined: 22 Mar 2021, 16:56
Default shipping costs
Morning,
When a visitor adds items to their basket, the basket summary displays the shipping amount as 0.00.
Im wondering if its possible to set a default delivery service where it can then inherit the price assigned so there is an indicator of the general cost of delivery?
I have explored the possibility of a plugin, and I know I can get the result I am after by overriding the getCostsDelivery in the following class and by checking on the count of delivery services in the users session/basket.
I just wanted to clarify if either of this approaches is good or there is an alternative I am missing perhaps.
Thanks for your time.
When a visitor adds items to their basket, the basket summary displays the shipping amount as 0.00.
Im wondering if its possible to set a default delivery service where it can then inherit the price assigned so there is an indicator of the general cost of delivery?
I have explored the possibility of a plugin, and I know I can get the result I am after by overriding the getCostsDelivery in the following class and by checking on the count of delivery services in the users session/basket.
Code: Select all
\Aimeos\Client\Html\Common\Client\Summary\Base
Thanks for your time.
Re: Default shipping costs
The "Autofill" plugin is exactly build for this and you can configure it as you need:
https://aimeos.org/docs/latest/manual/plugins/#autofill
https://aimeos.org/docs/latest/manual/plugins/#autofill
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Posts: 72
- Joined: 22 Mar 2021, 16:56
Re: Default shipping costs
Thank you! This does just the job...once I finally worked out my provider was returning false when the plugin checks availability of the service type configured.