Define parent node category id in Magento Plugin
Hi!
I'm customizing Magento Integration Plugin in jiwa,
in this we need to add category 4 as sub-category of Magento main category, we change it's code, it works properly, but the problem when we create/update product into that category it will create one more sub-category of same name in Main category,
we find out the problem for this, and
// Find the category which matches the Jiwa category 4
MagentoServiceReference.catalogCategoryEntity category4_Catalog = MagentoIntegration.GetMagentoCategoryFromDescription(category1_Catalog, inventory.Category4.Description);
if (category4_Catalog == null)
{
here in the above code,
we need to define parent node id means we need to define category1_Catalog id,
can you please tell us how we can define it's id, or is their is any other way to do that.
Thank you in Advance!
I'm customizing Magento Integration Plugin in jiwa,
in this we need to add category 4 as sub-category of Magento main category, we change it's code, it works properly, but the problem when we create/update product into that category it will create one more sub-category of same name in Main category,
we find out the problem for this, and
// Find the category which matches the Jiwa category 4
MagentoServiceReference.catalogCategoryEntity category4_Catalog = MagentoIntegration.GetMagentoCategoryFromDescription(category1_Catalog, inventory.Category4.Description);
if (category4_Catalog == null)
{
here in the above code,
we need to define parent node id means we need to define category1_Catalog id,
can you please tell us how we can define it's id, or is their is any other way to do that.
Thank you in Advance!