Reference Post: Einstein localized recommendations not working

Extract from the reference post:

Update; We fixed it by copying the exact Einstein attribute names as our column names in > the productfeed. Also you need both the Display prices in String datatype and the non-Display prices in float datatype.

I was trying to implement the localized recommendations. In the document, it mentions that the original price fields (SalePrice and RegularPrice) should be in float and the display prices (SalesPriceDisplay and RegularPriceDislay) need to be in String.

I wish to understand, where do we define the data type? When I add the custom attributes in the Einstein setup, it does not ask for a data type.

1 Answer 1


Simple Answer: You cannot define the data type.

Internally salesforce may have set SalesPrice and RegularPrice as floats / Decimal (19,2) or whatever but you can regard everything you customize into einstein as String.

  • Thank you. The question came since the document mentioned it specifically. Anyways....Thank you.
    – PSB
    Jun 1, 2020 at 10:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.