Post by Cerle » Thu Jun 25, 2020 11:26 pm

Hello,
I can't delete a manufacturer even if it's not used in products.
I've always got the message "can't delete manufacturer because being used in xx products"
I'm on OC 3.0.2.
Thanks in advance for your help.
Last edited by Cerle on Fri Jun 26, 2020 3:05 pm, edited 1 time in total.

Newbie

Posts

Joined
Thu Nov 21, 2019 5:19 am

Post by straightlight » Thu Jun 25, 2020 11:46 pm

This topic has now been moved to the OpenCart 3.0 Support > General Support section of the forum.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by letxobnav » Fri Jun 26, 2020 12:03 am

I can't delete a manufacturer even if it's not used in products.
It is assigned to a product trust me, that error is only shown when there is one or more products which have that manufacturer id assigned.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by OSWorX » Fri Jun 26, 2020 12:10 am

Simply open your database (e.g. phpMyAdmin) goto table product and check the column manufacturer_id
Then you will see which manufacturers are associated.
You can delete these entries then there directly or editing the product itself.

Custom Development | Individuelle Entwicklung | Support & Bugfixes

Image Image Image


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by straightlight » Fri Jun 26, 2020 1:58 am

An alternative way would be to use an extension from the Marketplace to use manufacturer filters to ease the tracking points where products are still being associated with manufacturers.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Cerle » Fri Jun 26, 2020 4:22 am

Thanks to your help, I found it. Thank you so much.
In fact all the products of the demo of "Journal3" are present in the table but invisible in OC admin.
This must be due to the installation of an extension but I don't know which one.
So I must delete these demo products directly from the table, but how do I proceed please ?
Can I remove them from the products table?
Simply without any changes in other table ?

Newbie

Posts

Joined
Thu Nov 21, 2019 5:19 am

Post by Cerle » Fri Jun 26, 2020 3:14 pm

My topics was in solved status but i always have several products to delete from database so i do this little up because i don't know how to do that ... just delete products from the table products, without any other task ?
Thanks in advance.

Newbie

Posts

Joined
Thu Nov 21, 2019 5:19 am

Post by OSWorX » Fri Jun 26, 2020 4:56 pm

As already written: open the database table and click into the field with the manufacturer id.
Replace that value with a 0 and save.
If you are not able to do this simple task, hire a developer.

p.s.: and next time write ALL what you have done and what your are using in the 1st post!

Custom Development | Individuelle Entwicklung | Support & Bugfixes

Image Image Image


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by Cerle » Fri Jun 26, 2020 5:43 pm

It's ghost/hidden products that i need to delete now ...

Newbie

Posts

Joined
Thu Nov 21, 2019 5:19 am

Post by paulfeakins » Fri Jun 26, 2020 6:56 pm

Cerle wrote:
Fri Jun 26, 2020 5:43 pm
It's ghost/hidden products that i need to delete now ...
Why delete them?

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - Reigate, Surrey, United Kingdom

Post by OSWorX » Fri Jun 26, 2020 6:58 pm

Cerle wrote:
Fri Jun 26, 2020 5:43 pm
It's ghost/hidden products that i need to delete now ...
1. if it's a "ghots/hidden" product, why delete it?
2. if you want to delete them, simply do what I have written

Don't make it complicated where it is not.

Custom Development | Individuelle Entwicklung | Support & Bugfixes

Image Image Image


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria
Who is online

Users browsing this forum: No registered users and 27 guests