VS.NET принимает значение по умолчанию версия блока к 1,0.* и использование следующая логика при автопостепенном увеличении: это устанавливает часть сборки на количество дней с 1-го января 2000 и устанавливает часть пересмотра на число секунд с полуночи, местного времени, разделенного на два. Посмотрите этот , версия блока статьи .
MSDN расположена в assemblyinfo.vb или assemblyinfo.cs файле. Из файла:
' Version information for an assembly consists of the following four values:
'
' Major Version
' Minor Version
' Build Number
' Revision
'
' You can specify all the values or you can default the Build and Revision Numbers
' by using the '*' as shown below:
'
I don't know a direct way to add this condition to the collection, I'd be interested in such a solution too. But you can always check inside the loop for each product:
if (empty(Mage::getModel('catalog/product_type_configurable')->getParentIdsByChild($product->getId())))
{
echo $product->getName();
}
В классе продукта есть функция isConfigurable
.
Это может быть вам полезно.
$product->isConfigurable();
// if its the parent object it'll be true, if its the child it'll be false.