Post by talentive » Fri Nov 01, 2024 11:29 pm

Hi,

In a clothing store, sizes of articles are marked as S, M, L, XL etc. Opencart options are used for different sizes. Is there any extension or way available so that all the available options of a product are displayed on category listing? So that user does not have to open a product to see if it is available in a specific size. Please be clear that it is not necessary that a customer can also select an option from there. Just display of available options would be enough.

New member

Posts

Joined
Tue Nov 10, 2020 2:04 am

User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by softmonke » Sat Nov 02, 2024 2:12 am

You can just use the getProductOptions function from "catalog/model/product.php" to pull the available options for each product, and process it from there to be displayed in your product listing. Do also note that you will also need to add this modification into other pages/modules that display product listings, such as search, manufacturer info, special, featured module, latest module, etc.

Or like what @JNeuhoff suggested, you can try looking for an extension that helps you achieve what you need.

Check out our ever-growing list of extensions for OpenCart here.
Some useful extensions for a better admin experience: Image File Manager ProDrag & Drop Sort Order

Reach out to us at hello@softmonke.com for your OpenCart web development needs or feedback for our extensions.


User avatar
Active Member

Posts

Joined
Tue May 23, 2023 4:42 am


Post by halfhope » Sat Nov 02, 2024 11:44 am

Hi!

If you will have issues with performance after this modifications, check this out. Fast OpenCart catalog functions getProductAttributes and getProductOptions in catalog/model/catalog/product.php.

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


User avatar
Active Member

Posts

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

Users browsing this forum: No registered users and 15 guests