Page 1 of 2

Do not display payment and shipping in the checkout process

Posted: 04 Apr 2022, 11:17
by maco01
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

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

Posted: 06 Apr 2022, 09:33
by aimeos
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.

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

Posted: 13 Apr 2022, 11:46
by maco01
Thank you - it works!

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

Posted: 11 May 2022, 14:22
by maco01
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

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

Posted: 12 May 2022, 11:19
by aimeos
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.

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

Posted: 16 May 2022, 10:24
by maco01
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".

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

Posted: 17 May 2022, 14:42
by aimeos
Did you configure the target page to the page with the "checkout confirm" plugin in the flexform of the "checkout standard" plugin correctly?

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

Posted: 18 May 2022, 14:21
by maco01
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).

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

Posted: 19 May 2022, 06:52
by aimeos
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?

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

Posted: 25 May 2022, 07:48
by maco01
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?