How to add Wishlist buttons to Cart Page?

Smart Wishlist supports Wishlist button on Shopping Cart Page also. The cart page is located in your store at the relative URL of (/cart) . It can be accessed at

If you want to add wishlist button on Cart page, please follow the below steps:

1. Open the template which is used to display the Cart Page. On most themes, it is templates/cart.liquid

2. Identify the location where you want to add the Wishlist button and add the following code

<span class="smartwishlist cartwishlist" data-product="{{ item.product_id }}" data-variant="{{ item.variant_id }}"></span>

Once added, the Wishlist button shall start appearing on Cart page also.

Note that this code is slightly different from the code for collection page. The ‘product’ variable has been replaced by ‘item’.

Leave a Reply

Your email address will not be published. Required fields are marked *