Post by ianhaney50 » Fri May 30, 2025 5:09 pm

Hi

I wondered if could help or if anyone had any idea if it’s possible to do

I’m looking to add a product filter in on the category page and was thinking it would be good if could create filter options/values based on the product name

For example if product A is HP Pro 290 G9 SFF PC, i5-13500, 8GB, 512GB SSD, Windows 11 Pro, 1 Year On-site and product B is MATX Tower PC, Fractal Core 1100 Case, i5-12400, 16GB 3200MHz, 512GB SSD, Bequiet 550W, No Optical, KB & Mouse, Windows 11 Pro

It would be good if the product filter could have heading that is called Installed RAM and the options/values with a checkbox would be 8GB, 16GB and then another heading called CPU and it would display values with it’s own checkbox that would be i3, i5

I guess it would be like pulling information from the product name and displaying them as values in a product filter on the left hand side onb the category page

Is there any extension that could do that or would it need to be custom made

Active Member

Posts

Joined
Fri Apr 29, 2016 4:21 am

Post by paulfeakins » Fri May 30, 2025 7:34 pm

ianhaney50 wrote:
Fri May 30, 2025 5:09 pm
thinking it would be good if could create filter options/values based on the product name
No it would not be good, you need to take some database design classes.

The way to do this would be to make sure your products have the attributes added correctly in the first place.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by ianhaney50 » Fri May 30, 2025 7:40 pm

paulfeakins wrote:
Fri May 30, 2025 7:34 pm
ianhaney50 wrote:
Fri May 30, 2025 5:09 pm
thinking it would be good if could create filter options/values based on the product name
No it would not be good, you need to take some database design classes.

The way to do this would be to make sure your products have the attributes added correctly in the first place.
No worries, I import products from a suppliers feed, they don't have any attributes unfortunately within the feed, think I'll need to add the filters manually to each product

Active Member

Posts

Joined
Fri Apr 29, 2016 4:21 am

Post by halfhope » Sat May 31, 2025 3:00 am

Hi!

I think you can use Neural networks to generate product attributes from name. Some of them can do this.

My FREE extensions in marketplace. [ security | flexibility | speedup ]


User avatar
Active Member

Posts

Joined
Tue Dec 10, 2013 9:44 pm
Location - San Diego

Post by ianhaney50 » Sat May 31, 2025 3:15 am

halfhope wrote:
Sat May 31, 2025 3:00 am
Hi!

I think you can use Neural networks to generate product attributes from name. Some of them can do this.
Thank you but I'm unsure how to do that as not heard of that before

Active Member

Posts

Joined
Fri Apr 29, 2016 4:21 am

Post by khnaz35 » Sat May 31, 2025 4:18 am

https://aws.amazon.com/what-is/neural-network/
Might help to understand what is neural network.

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by halfhope » Sat May 31, 2025 6:39 am

You can use prompt like this (see attachments) to ask Grok/Chat gpt/deepseek/etc to generate product attributes from string. Output format can be any.

This will not able you to add attributes automatically, but at least your product data will be typed. With typed data you can copy/paste it into your import/export extension. It's faster.

If you know programming, you can write a script which adds your typed product data to each product.

Attachments

???
Screenshot_20250530-152731.png

My FREE extensions in marketplace. [ security | flexibility | speedup ]


User avatar
Active Member

Posts

Joined
Tue Dec 10, 2013 9:44 pm
Location - San Diego

Post by ianhaney50 » Sat May 31, 2025 3:07 pm

halfhope wrote:
Sat May 31, 2025 6:39 am
You can use prompt like this (see attachments) to ask Grok/Chat gpt/deepseek/etc to generate product attributes from string. Output format can be any.

This will not able you to add attributes automatically, but at least your product data will be typed. With typed data you can copy/paste it into your import/export extension. It's faster.

If you know programming, you can write a script which adds your typed product data to each product.
I thought about using AI or chatgpt to create the script and I had a go yesterday and it created a extension but didn't work properly but I'll have another go now and use it create attributes from the string of the product name

Active Member

Posts

Joined
Fri Apr 29, 2016 4:21 am

Post by ianhaney50 » Sat May 31, 2025 4:01 pm

halfhope wrote:
Sat May 31, 2025 6:39 am
You can use prompt like this (see attachments) to ask Grok/Chat gpt/deepseek/etc to generate product attributes from string. Output format can be any.

This will not able you to add attributes automatically, but at least your product data will be typed. With typed data you can copy/paste it into your import/export extension. It's faster.

If you know programming, you can write a script which adds your typed product data to each product.
I had a go using chatgpt but got too confusing for me as don't use it often. I typed in "Generate opencart product attributes from strings of product name and display them as a product filter on the category page as checkboxes and that I can manage from the admin side in opencart 3.0.3.8. Generate the file as a easy to use ocmod file extension that I can just install from the extension installer in opencart 3.0.3.8" but I still had to edit each product manually but there are thousands of products so I can't do that, it would take me forever. It would be good if the attributes could be generated from the product name string and I can manage them from the admin side so I can delete ones I don't need

Active Member

Posts

Joined
Fri Apr 29, 2016 4:21 am

Post by paulfeakins » Mon Jun 02, 2025 6:46 pm

ianhaney50 wrote:
Sat May 31, 2025 4:01 pm
I had a go using chatgpt but got too confusing for me as don't use it often.
Sorry but the developers above have led you down a wrong path, forget using ChatGPT, LLMs, Neural Nets etc. for this task - they're not necessary here.

The way to do this correctly would be to modify the script that imports from the supplier feed to add the attributes to OpenCart correctly.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by ianhaney50 » Mon Jun 02, 2025 8:50 pm

paulfeakins wrote:
Mon Jun 02, 2025 6:46 pm
ianhaney50 wrote:
Sat May 31, 2025 4:01 pm
I had a go using chatgpt but got too confusing for me as don't use it often.
Sorry but the developers above have led you down a wrong path, forget using ChatGPT, LLMs, Neural Nets etc. for this task - they're not necessary here.

The way to do this correctly would be to modify the script that imports from the supplier feed to add the attributes to OpenCart correctly.
Thank you, appreciate the honesty etc. I'll see if I can modify the script or see if the developer of the import extension can help modify it

Active Member

Posts

Joined
Fri Apr 29, 2016 4:21 am

Post by paulfeakins » Tue Jun 03, 2025 6:10 pm

ianhaney50 wrote:
Mon Jun 02, 2025 8:50 pm
Thank you, appreciate the honesty etc. I'll see if I can modify the script or see if the developer of the import extension can help modify it
Yes the feed might have columns for those attributes, and if the script adds those correctly then it will all work nicely.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom
Who is online

Users browsing this forum: No registered users and 25 guests