Do not display payment and shipping in the checkout process

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!
maco01
Posts: 10
Joined: 16 Mar 2022, 10:37

Do not display payment and shipping in the checkout process

Post by maco01 » 04 Apr 2022, 11:17

Hello,

is it possible not to show the 2nd step 'shipping' and the 3rd step 'payment' in the checkout process? We currently only use aimeos for a pure inquiry option.

We have configured shipping and payment so that no information appears here in the checkout process, but the interested person still has to click twice for these steps. Therefore it would be perfect if we could hide these steps and the customer jumps directly from the 'Billing address' page to the last step with the overview

Thanks & regards

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

Re: Do not display payment and shipping in the checkout process

Post by aimeos » 06 Apr 2022, 09:33

Yes, you can remove that subparts from the checkout standard component using this configuration setting:

Code: Select all

client/html/checkout/subparts = ['address', 'summary', 'process']
You also have to change the config of the ServicesAvailable plugin in the admin backend in "Configuration > Services" and change "delivery" and "payment" to an empty value so they are optional.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

maco01
Posts: 10
Joined: 16 Mar 2022, 10:37

Re: Do not display payment and shipping in the checkout process

Post by maco01 » 13 Apr 2022, 11:46

Thank you - it works!

maco01
Posts: 10
Joined: 16 Mar 2022, 10:37

Re: Do not display payment and shipping in the checkout process

Post by maco01 » 11 May 2022, 14:22

Hi,
sorry after a few tests and an update it's not working.

T3 10.4.12 / aimeos 21.10.4

- under configuration services is all deactivated
- under configuration plugins is only Checks for deleted products, Checks for changed product prices, Coupon update, Checks for required addresses (billing/delivery) and Checks for required services (delivery/payment) active. The last two have the options 'delivery = no' and 'payment = no'.

The typoscript:

Code: Select all

plugin.tx_aimeos.settings.client.html.checkout.subparts {
	0 = address
	1 = summary  
  	2 = process
} 
  
client.html.checkout.standard.address.delivery.disable-new = 1
client.html.checkout.standard.address.billing.disable-new = 1
The payment and shipping steps no longer appear, that is correct. But after sending the last confirmation page the following message appears and the website stops on this page.

"payment You will now be forwarded to our payment provider".

Can you give us a hint how to solve this problem?

Thanks & regards

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

Re: Do not display payment and shipping in the checkout process

Post by aimeos » 12 May 2022, 11:19

The last message is only a standard message in the checkout/standard/process-body template which you can change via translation. Alternatively, you can overwrite the process-body.php template if you want to change the HTML.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

maco01
Posts: 10
Joined: 16 Mar 2022, 10:37

Re: Do not display payment and shipping in the checkout process

Post by maco01 » 16 May 2022, 10:24

Thanks - but this doesn't solve the problem or?
I can change the translation but when I click proceed I get back to the "check your order page", which means I'm in an endless loop and can't get to the page "thank you for your order".

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

Re: Do not display payment and shipping in the checkout process

Post by aimeos » 17 May 2022, 14:42

Did you configure the target page to the page with the "checkout confirm" plugin in the flexform of the "checkout standard" plugin correctly?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

maco01
Posts: 10
Joined: 16 Mar 2022, 10:37

Re: Do not display payment and shipping in the checkout process

Post by maco01 » 18 May 2022, 14:21

After deleting all caches it works - thanks! But after finishing the checkout process the system sends no mail to admin or customer.

The cronjob 'order payment related emails' works but no mails are send. Is that because we have deactivated the payment process? The email function in Typo3 works (system test and forms).

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

Re: Do not display payment and shipping in the checkout process

Post by aimeos » 19 May 2022, 06:52

This is usually the case if the payment status isn't set to "pending", "authorized" or "received" but this should be the case if no payment service items was added to the order:
https://github.com/aimeos/ai-client-htm ... d.php#L288

Can you please check the payment status of your orders and if their status are not "authorized", why that happens?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

maco01
Posts: 10
Joined: 16 Mar 2022, 10:37

Re: Do not display payment and shipping in the checkout process

Post by maco01 » 25 May 2022, 07:48

That's strange in the order list all payments are 'authorized'. However, when I open an order, the payment status is empty. Could that be the reason?

Post Reply