Hi everybody,

I have noticed in uc_product_stock table that you store stock levels based on SKU and nid. However, this can't work with multilanguage site as the SKU for the same product in different languages is the same, but the nid is different. Example:

Slovak vesion of product has nid = 13, english version has nid = 14. When I update stock levels of this product (does not matter which language I am currently using) only the record with nid = 14 in uc_product_stock gets updated.

So - my first question is - what is a workaround for this? I need to display products with stock level higher than 0 via Views and it seems to be undoable. There must be some workaround as multilanguage shop with stock seems not to be an unusual scenario.

My second question is - when are you going to fix this?

Comments

petiar’s picture

Allright, let's call it an attitude...

longwave’s picture

Status: Active » Closed (duplicate)

#1092322: Primary key on uc_product_stock is wrong has more discussion on this.

As for "when are you going to fix this", there are three possible answers:
- when you or someone else posts a patch
- when you or someone else offers to pay a maintainer to fix it
- otherwise, when a maintainer has enough free time and feels like fixing it