Product Options

Broadleaf Commerce Discussion Forum

Moderator: jocanas

rajfnu
Newbie
Newbie
Posts: 11
Joined: Sun Sep 29, 2013 9:56 pm

Product Options

Postby rajfnu » Thu Jun 18, 2015 11:39 pm

I am creating all possible "product option values" for colors (are more than 100) in BLC_PRODUCT_OPTION_VALUE. But not all products would have SKUs for all colors. And thats why I have put only selected colors (Product option value) for SKUs in BLC_SKU_OPTION_VALUE_XREF.
But when I see the product detail page, It shows 100 plus swatches (for all colors). I was expecting it to show only those colors which are linked with the SKUs for that product. Moreover just Active SKUs colors.

Having similar issues with other Product Option (Size) - some of our products have sizes like XS, S, M, L, XL, XXL while some products have sizes as 6, 8, 10, 12, 14...

I have 2 rows in BLC_PRODUCT_OPTION (one for color and one for size) but I have hundreds of rows in BLC_PRODUCT_OPTION_VALUE for all possible product option values.

But my BLC_SKU_OPTION_VALUE_XREF has only applicable (related sizes and colors) relation between SKU and Product option values.

I tried to understand how ProductOptionsProcessor works. But apparently it picks all product option values based on BLC_PRODUCT_OPTION_XREF.

My client requirement is just to show those swatches which has ACTIVE SKUs under a selected product.

Thanks for your help.

phillipuniverse
Team Member
Team Member
Posts: 1563
Joined: Tue Dec 20, 2011 12:11 pm

Re: Product Options

Postby phillipuniverse » Sun Jun 21, 2015 8:24 pm

Unfortunately that processor isn't currently built for that case; you're right it currently does not only look at only active Sku options. Feel free to open a feature request/pull request at https://github.com/BroadleafCommerce/Br ... rce/issues.

aclark
Newbie
Newbie
Posts: 4
Joined: Thu Jan 26, 2017 10:41 am

Re: Product Options

Postby aclark » Wed Feb 08, 2017 3:12 pm

Has this been added yet?


Return to “Broadleaf Commerce”

Who is online

Users browsing this forum: No registered users and 2 guests