You have no items in your shopping cart.

Thursday, May 9, 2024 12:03:27 PM

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

Posted: 3 years ago

#11341 Quote

ChrisFAV

Posted: 3 years 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

Posted: 3 years ago

#11344 Quote

Support

Posted: 3 years ago

#11344 Quote
Do you use integer value?
These parameters
TaxCategoryId
DeliveryDateId
ProductTypeId
have only integer values.

Posted: 3 years ago

#11346 Quote

ChrisFAV

Posted: 3 years 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.

Posted: 3 years ago

#11347 Quote

Support

Posted: 3 years 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

Posted: 3 years ago

#11348 Quote

ChrisFAV

Posted: 3 years 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

Posted: 3 years ago

#11349 Quote

Support

Posted: 3 years 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 © 2023 FoxNetSoft. All rights reserved