glynthinkglynthink Member Posts: 7
edited August 4 in Development

In the library, there is a function

LSLoyalty.addProductDiscount(discountProductPLU, discountedReceiptItemId, successHandler, failureHandler)

Does anyone know what I should pass for discountProductPlu and discountedRedeiptItemId ?

Post edited by Yorick on

1 comment

  • LucienVersendaalLucienVersendaal Moderator, Lightspeed Staff Posts: 940 moderator

    Hi @glynthink,

    Thank you for contacting us.

    The discountProductPLU was just the PLU/SKU of the discount item to be added to the receipt

    And discountedReceiptItemID would be the ID of the item you want to apply a specific discount to.

    I hope this helps.

Sign In or Register to comment.