Commerce Server General - RE: Variant of product in base catalog appears in virtual catalog

This is Interesting: Free IT Magazines  
Home > Archive > Commerce Server General > September 2006 > RE: Variant of product in base catalog appears in virtual catalog





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author RE: Variant of product in base catalog appears in virtual catalog
Step van Schalkwyk

2006-09-06, 7:37 pm

Sudha,
This is what I've got:
Base Catalog "B":
<Product Definition="BPD" ProductId="16894" UseCategoryPricing="0"
PrimaryParentCategory="" listprice="0" lid="Id_2829">
<DisplayName Value="XXX" language="en-GB" />
<ParentCategory rank="0">PRODUCTS CATALOG</ParentCategory>
<ProductVariant VariantId="16894" listprice="0" rank="0"
id="Id_118938">
<DisplayName Value="XXX" language="en-GB" />
</ProductVariant>
</Product>
<Product Definition="BPD" ProductId="102475" listprice="0" id="Id_16309">
<DisplayName Value="YYY" language="en-GB" />
<ParentCategory rank="0">PRODUCTS CATALOG</ParentCategory>
<ProductVariant VariantId="16894" listprice="0" rank="0"
id="Id_70992">
<DisplayName Value="XXX" language="en-GB" />
</ProductVariant>
<ProductVariant VariantId="102475" rank="0" id="Id_70993">
<DisplayName Value="YYY" language="en-GB" />
</ProductVariant>
</Product>

Virtual Catalog:
<VirtualProduct Definition="BPD" ProductId="102475(B)"
lastmodified="2006-09-06T08:50:17.625+01:00" listprice="5.29" id="Id_16309">
<ParentCategory rank="0">300107(B)</ParentCategory>
<VirtualProductVariant VariantId="102475(B)"
lastmodified="2006-09-06T08:50:18.390625+01:00" listprice="5.29"
id="Id_16309" />
</VirtualProduct>

<IncludeRule baseCatalog="B" ProductId="102475" />

Note there is no include rule for ProductId="16894".
Even when I add the <ExcludeRule baseCatalog="B" ProductId="16894"/> and do
a full rebuild,
Product 16894 still shows up as a variant of Product 102475.

Do I have to create a virtual product <VirtualProduct ProductId="16894" />
and then have an <ExcludeRule .... /> to get rid of this variant?

Thanks,
Step van Schalkwyk


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com