Hide delivery cost selection

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
daniel
Posts: 28
Joined: 27 Jul 2020, 13:22

Hide delivery cost selection

Post by daniel » 27 Jul 2020, 13:26

Hi,
i want to hide the step to choose the delivery costs in checkout because i only have one and its for all products the same. If i remove the step "delivery" in "checkout.standard.standard.subparts" it's hidden (step is no more available) but the delivery costs are not set correctly. How can i set them as default for every product? Thanks.

Typo3 10.4.5
Aimeos 20.7.1

User avatar
aimeos
Administrator
Posts: 7866
Joined: 01 Jan 1970, 00:00

Re: Hide delivery cost selection

Post by aimeos » 29 Jul 2020, 06:31

Merge the delivery and payment step using the "onepage" setting (https://aimeos.org/docs/Configuration/C ... rd/onepage) and hide the delivery content per CSS. Then, it's available and used but not shown.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

daniel
Posts: 28
Joined: 27 Jul 2020, 13:22

Re: Hide delivery cost selection

Post by daniel » 29 Jul 2020, 10:56

Thanks, works perfect.
One thing: if i add a product to the basket the delivery costs are not shown. If i go to checkout and make the steps, go back to basket, then the delivery costs are shown. I think this is because there was no delivery cost selected. Is it possible to set them default?

User avatar
aimeos
Administrator
Posts: 7866
Joined: 01 Jan 1970, 00:00

Re: Hide delivery cost selection

Post by aimeos » 29 Jul 2020, 16:43

Have a look at the Autofill plugin, which can add services by default to the basket:
https://aimeos.org/docs/User_Manual/Adm ... t#Autofill
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

daniel
Posts: 28
Joined: 27 Jul 2020, 13:22

Re: Hide delivery cost selection

Post by daniel » 03 Aug 2020, 10:05

Hi,

it ist not working:
I add a new entry in "Plugins": > Provider: "Autofill", in Options i set "delivery" to "yes". Do i have to add something else there or add the created entry in Plugins "AutoFill" somewhere?
Now, if i add a product to the empty basket, no delivery costs shown. Only if i go to the checkout step with delivery it is set after that. But if i remove the product from the basket (basket is empty) the delivery costs shown in the basket, despite the fact there is no product in the basekt.
I would like to have:
- Add a product to the basket > basket shows product AND delivery costs
- Remove all products from the basket > basket shows "basket empty" and NO delivery costs

Thanks for helping

User avatar
aimeos
Administrator
Posts: 7866
Joined: 01 Jan 1970, 00:00

Re: Hide delivery cost selection

Post by aimeos » 04 Aug 2020, 06:03

Can you post a screenshot from the Autofill plugin configuration as shown in the admin backend?
If all products are removed from the basket, the delivery service isn't removed too because there's no plugin that cares about that.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

daniel
Posts: 28
Joined: 27 Jul 2020, 13:22

Post by daniel » 04 Aug 2020, 06:43

Here is the Screenshot.
Bildschirmfoto 2020-08-04 um 08.42.27.png
Bildschirmfoto 2020-08-04 um 08.42.27.png (39.35 KiB) Viewed 1983 times
i also tried to set the "deliverycode", but still the same.

Post Reply