Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 589 Bytes

cart_content.md

File metadata and controls

29 lines (21 loc) · 589 Bytes

Cart Content with an instance

       req.cart.content('shop').forEach((item)=>{
       
          return (
           <table>
              <tr>
                <th> name </th>
                <th> price </th>
                <th> preview </th>
                <th> description </th>
              </tr>
              <tr>
                <td> {item.name} </td>
                <td> {item.price} </td>
                <td> {item.preview} </td>
                <td> {item.attributes.description} </td>
              </tr>
          </table>
           )

       });