You have no items in your shopping cart.

Friday, May 20, 2022 8:41:20 PM

Can't update property - Input string was not in a correct format.

Avatar

Posted: 1 year ago

#11341 Quote

ChrisFAV

Posted: 1 year ago

#11341 Quote

Hi
I get this message when trying to do an import when trying to import certain properties. I copy and paste the properties that are exported from the nop database.
These are the ones I've run across so far and I cannot find a reference or way to find the correct input string.

Can't update property=TaxCategoryId-Input string was not in a correct format.

Can't update property=DeliveryDateId-Input string was not in a correct format.

Can't update property=ProductTypeId-Input string was not in a correct format.

Thanks, Chris
Avatar

Posted: 1 year ago

#11344 Quote

Support

Posted: 1 year ago

#11344 Quote

Do you use integer value?
These parameters
TaxCategoryId
DeliveryDateId
ProductTypeId
have only integer values.
Avatar

Posted: 1 year ago

#11346 Quote

ChrisFAV

Posted: 1 year ago

#11346 Quote

Hi,
For Delivery Date when I go to edit a date range I do see a number listed.
Admin/Shipping/EditDeliveryDate/4  in the browser address bar so will try that.

On the tax categories or product templates page, I do not see any indication for an integer number to use. Display order is the only number on the page.

Thanks Chris



Support wrote:
Do you use integer value?
These parameters
TaxCategoryId
DeliveryDateId
ProductTypeId
have only integer values.
Avatar

Posted: 1 year ago

#11347 Quote

Support

Posted: 1 year ago

#11347 Quote

SimpleProduct = 5,
    GroupedProduct = 10,


TaxCategoryId
This SQL command will show you ID and Name
select * from TaxCategory
But I'll add the new token 'TaxCategory' in the next release and you will be able to use TaxCategory Name or TaxCategory ID for mapping values
Avatar

Posted: 1 year ago

#11348 Quote

ChrisFAV

Posted: 1 year ago

#11348 Quote

HI,
Great thank you. Look forward to the new version with the tax category change. I am currently using 4.0 so hopefully, it will be available for that version.

Chris
Avatar

Posted: 1 year ago

#11349 Quote

Support

Posted: 1 year ago

#11349 Quote

Download the new release and try it
I added the new token TaxCategory.
But you can use the old field name TaxCategoryId and  DeliveryDateId.
The plugin checks the value.
If this value is integer than the plugin will look for ID.
If this value is integer than the plugin will look for Name.

Powered by nopCommerce

Copyright © 2019 FoxNetSoft. All rights reserved