BasketItem_Update_Pricing() Not Working After Precision Pricing Update

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • alphabet
    replied
    Thank you, I was able to get it working.

    I used the v10_BasketItem_Update_Pricing() function passing in the l.settings:original_basketitem and the l.settings:basketitem varables directly.

    I could not understand how to pass the l.settings:original_basketitem variable to the backward compatible BasketItem_Update_Pricing() function.

    It works, thank you for the quick response!

    Leave a comment:


  • Nick
    replied
    alphabet Here is the link to the updates regarding BasketItem_Update:

    https://docs.miva.com/developer/deve...deritem_update

    You can also find those functions in the LSK here:

    BasketItem_Update_Pricing: https://github.com/mivaecommerce/miv...240C21-L240C46

    BasketItem_Update: https://github.com/mivaecommerce/miv...214C21-L214C38

    Leave a comment:


  • alphabet
    replied

    I noticed the Improvement Notes MM-14852 Database Layer: BasketItem_Update.

    Is there a BasketItems table structure update that requires the item object schema to be updated?

    Leave a comment:


  • BasketItem_Update_Pricing() Not Working After Precision Pricing Update

    mvt:do BasketItem_Update_Pricing() function not working after update 10.11.

    I tried formatting pricing to 8 decimal points but that did not correct the price, retail, base_price update issue.

    I added a string '000000' to the updated_price value and expect it to be converted to a number.

    Function returns '0'.

    What else could it be?

Working...
X