Property does not exist in NopCommerce version 4.3

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
3 года назад
In the Nopcommerce 4.3 version there is no ProductManufacturers property, in the NopCommerce 4.2 version the ProductManufacturers property is found in the Nop.Core.Domain.Catalog Component in the Product class.
Is there a field guide for obsolete methods where I can place the changes? Thanks for your help Support Team
3 года назад
In most cases the new structure requires you to call a service to get the property information
So in the case of ProductManufacturers you can call the routine
var productManufacturers =_manufacturerService.GetProductManufacturersByProductId(...)

Likewise for say something like Customer addresses
Which used to be Customer.BillingAddress now you can call
var address = _customerService.GetCustomerAddress(_workContext.CurrentCustomer.Id, addressId);
With the address Id from the Customer - etiher ShippingAddressId or BillingAddressId
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.