Favorite Stores (Follow)

Through the Favorite Stores module, customers can follow and stay connected with their favorite sellers.

"Follow" button on the store page
The button shows "Following" when the customer already follows the vendor

Customers can view a list of the stores they follow in their My Account panel -> Favorite Stores:

"Favorite Stores" panel on the user's My Account page

Shortcodes

The page listing all stores a user is following can also be displayed on any page by using the [marketking_favorite_stores] shortcode.

You can also display a page with all products from the user's favorite stores using the shortcode [marketking_favorite_stores_products].

Favorite Stores Products

When this shortcode is added to a page, it allows the buyer to browse products from only their favorite stores.

Add Favorite Stores Products to My Account

You can extend the My Account Favorite Stores tab by adding the following PHP code snippet:

add_action('marketking_before_favorite_stores', function(){
	?>
	<a href="#your_page" style="text-align:center;display:block"><button>Browse products from your favorite stores</button></a>
	<br><br>
	<?php
});

You will need to replace #your_page with the link to the page where you added the Favorite Stores Products shortcode.

Powered by BetterDocs