Buttons disappear

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Maksim
Posts: 4
Joined: 30 Oct 2023, 20:46

Buttons disappear

Post by Maksim » 30 Oct 2023, 20:58

I don't have any buttons like submit button or previous button during checkout session. I tried to enable/disable all basket plugins but it didn't lead to any changes at all. And one interesting detail. I can see buttons code through code inspector in my browser.
And one more thing. When I clicked on checkout button I got in payment page immediately. It's a bit strange behavior I think so..
Thanks in advance!
I use
Windows 11.
Php 8.
Laravel 10.19.0

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

Re: Buttons disappear

Post by aimeos » 31 Oct 2023, 08:54

Check if your own CSS rules or those from another package hide the buttons.

If you are logged in, the Autofill basket plugin adds the address and previously used delivery/payment services automatically to the basket, so the checkout process skips these steps.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Maksim
Posts: 4
Joined: 30 Oct 2023, 20:46

Re: Buttons disappear

Post by Maksim » 31 Oct 2023, 21:21

I found that problem in ..myextension/themes/client/html/myextensionname/checkout-standard.css
was set

.checkout-standard .button-group {
display: none;
}

I deleted that but nothing changed. I tried to clear cache, clear history of my browser, open my site in other browser but nothing changes. Buttons are hidden. Help me please! What should I do?

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

Re: Buttons disappear

Post by aimeos » 01 Nov 2023, 07:40

Those files need to be published to ./public/vendor/shop/themes/ using:

Code: Select all

php artisan vendor:publish
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Maksim
Posts: 4
Joined: 30 Oct 2023, 20:46

Re: Buttons disappear

Post by Maksim » 01 Nov 2023, 20:19

Thanks! You led me to that folder. I published there files but it published with the same css property

.checkout-standard .button-group {
display: none;
}

I deleted this and everything is working correctly. Although I don't know the right structure of my application. I added so much files in the project and I don't know will it be correct? Can you specify the right structure of the site with one extension?

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

Re: Buttons disappear

Post by aimeos » 03 Nov 2023, 07:25

The ./packages/myextension/ folder consists by default of these files:
https://github.com/aimeos/aimeos-core/t ... t-template
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Maksim
Posts: 4
Joined: 30 Oct 2023, 20:46

Re: Buttons disappear

Post by Maksim » 03 Nov 2023, 20:39

Thanks a lot!

Post Reply