Add favorite products with YITH WooCommerce Wishlist plugin

Tutorials 0 lượt xem
Add favorite products with YITH WooCommerce Wishlist plugin thumbnail

Hello friends!

Adding products to favorites is an essential feature for the sales page. When customers see the product, they want to review it later, but not buy it immediately, they will put it in their favourites. You can add product favorites to WooCommerce using the YITH WooCommerce Wishlist plugin.

Add products to favorites

First, find, install and activate the YITH WooCommerce Wishlist plugin from the plugin repository.

YITH WooCommerce Wishlist plugin

Section  General settings

After activation, at the  YITH  menu in the Dashboard, go to the Wishlist menu .  Then switch to the Add to Wishlist options tab.

Under  General settings , you choose what to display after the product is added to the Wishlist.

Section  Loop settings , you choose whether to display Add to wishlist  in the loop or not. Loop here means pages that display products such as category pages, store pages, product slides, etc.

Then you choose where to display Add to whistlist , such as after the  Add to cart (purchase) button .

favorite product

In the  Product page settings section , you also choose where to display Add to whistlist , such as after the  Add to cart button .

Add to cart

Section Text customization

Go to the  Text customization section , you edit the displayed content for the related text. In other words, translate into Vietnamese.

Text customization

Add to wishlist

Next, you edit the display for the Add to wishlist button , as well as select the display icon.

Then you save the settings.

Add to wishlist

Wishlist page options

Next, go to the Wishlist page options tab

You choose the Wishlist page , which will display the products that have been included in the favorites. Before choosing, you must create a page called “Favorite Products” for example. The content you paste the shortcode provided below into. Then post the page.

Now go back to the Wishlist settings page, remember to refresh again. Now in the Wishlist page , click and select the page you just created.

Add favorite products

Wishlist Detail page item

Next is the Wishlist Detail page section , you choose the content to display. For example, I choose the  Product price  and the  Add to cart  button on each product.

Add favorite products

Product page

Save the settings again. Then you go to the product page. You will see under the Purchase  button there will be an additional  Favorites button . After tapping  Favorite products, you’ll see the message Added! And the View favorites link . Click this link to view the Wishlist page.

Add favorite products

Item Favorites

This is the  Favorite Products  page I created, and the products that have been  Favorited  will appear here.

Add favorite products

summary

So I have successfully added the function of adding favorite products with the YITH WooCommerce Wishlist plugin . Good luck!

Bài viết liên quan