How to get current cart items

Comments

2 comments

  • Lior Delouya

    Hi Ben,

    It is possible using DY APIs only in case the customer is currently on the cart page. Use DY.recommendationContext.data to access the cart SKU array.

    Hope this is helpful.

     

     

    Comment actions Permalink
  • Kian Issa

    Hi Ben,

    In case you are intending to use the cart's value as a targeting condition, you may find the following post helpful: Targeting by Cart Value/Data.

    Comment actions Permalink

Please sign in to leave a comment.