Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

Determine if catalogentry is a product or variant by code

$
0
0

Hi,

What's the best way to determine if an entrycode belongs to a product or variant? 
I have a renderer that has different behaviour for variants and products. 
Using only code as a parameter, is it possible to find out if that code belongs to a product, variant or even perhaps a bundle?


Thanks in advance


Viewing all articles
Browse latest Browse all 9076

Trending Articles