Page 1 of 1

Opencart 4 does not delete products

Posted: Tue Jul 05, 2022 6:08 am
by gilberto_sj
I'm trying to delete products from the page
http://localhost/admin/index.php?route= ... ken=123456

But I'm not getting it.


I know that it is possible to delete from the database, but I don't want to do it via SQL

When clicking, on the product and clicking on the trash, nothing happens

How do I debug?

Default installation, I didn't add any extensions.

I'm currently using docker to run the application.

docker image
php:8.1-rc-apache-buster


I can delete the categories normally.

So it is not database user permission


Dockerfile

Code: Select all

FROM php:8.1-rc-apache-buster
RUN apt-get update; apt-get install libpng-dev libjpeg-dev libxpm-dev zlib1g-dev libzip-dev libwebp-dev libjpeg62-turbo-dev -y
RUN docker-php-ext-install zip pdo pdo_mysql
RUN docker-php-ext-configure gd --with-jpeg=/usr/include/
RUN docker-php-ext-install gd
COPY . /var/www/html/
RUN chown -R www-data:www-data /var/www/html

Re: Opencart 4 does not delete products

Posted: Tue Jul 05, 2022 9:03 am
by by mona
have you tried searching the forum ?
viewtopic.php?t=228811

Re: Opencart 4 does not delete products

Posted: Tue Jul 05, 2022 9:43 am
by straightlight
I believe this issue has been rectified on the master branch today.

Re: Opencart 4 does not delete products

Posted: Tue Jul 05, 2022 5:31 pm
by JNeuhoff
straightlight wrote:
Tue Jul 05, 2022 9:43 am
I believe this issue has been rectified on the master branch today.
I can confirm this. Deleting products works just fine now when using the latest master branch.

Re: Opencart 4 does not delete products

Posted: Tue Jul 05, 2022 8:09 pm
by by mona
Thanking you both.

Re: Opencart 4 does not delete products

Posted: Fri Jul 08, 2022 8:08 am
by straightlight
by mona wrote:
Tue Jul 05, 2022 8:09 pm
Thanking you both.
Now that the issue has been solved, please add: [SOLVED] at the beginning of the subject line on your first post.