Add a wishlist (WooCommerce Wishlist block)
Build Your App · AppPresser 文件
Add a wishlist (WooCommerce Wishlist block)
本文尚未翻譯,因此以英文顯示。
Your app journey: step 4 of 9, Add pages and features. New here? Read Start here: build your app with AppPresser first.
What you'll do: Add a wishlist page that shows the products a shopper has saved for later. Shoppers save a product by tapping the heart on the product page.
Before you start
- Install and activate the WooCommerce plugin on your WordPress website, with some published products. WooCommerce is the WordPress plugin for running an online shop.
- Install and activate the AppCommerce plugin, AppPresser's add-on for WooCommerce, on your WordPress website.
- Connect your app to your WordPress website. See Connect your WordPress site and turn on Features.
Add the block
This block has no settings.
- In the left menu, under Customization, click Custom Pages.
- Click the name of the page you want to change. To make a new page instead, click Add New Page, type a title, keep Page Builder selected and click Create Page.
- Below the last block on the page, click Add Block.
- In Search blocks…, type WooCommerce Wishlist, then click the block. It is added to the bottom of the page.
- Click Save Changes at the top of the editor.
- To see a new page in the App Preview, add it to a menu. See Add a page to your app menu.
What you see in the app
When nothing is saved yet, the block says "Click 'Add to list' on any product to add to your wishlist." A "No items to show." message can also appear at the bottom.
Save a product to the wishlist
Shoppers do not need to be logged in.
- Open the shop and tap a product.
- Tap the heart on the product picture. A message says the product was added to the list.
- Open the Wishlist page. The product is there with ADD TO CART and REMOVE buttons.
The heart is only on the product page, not on the product cards in the shop list.
Tips
Tips
- To move a block, drag it by its handle (the dots on the left). Click the arrow to fold it closed.
- To copy a block, click the Duplicate icon.
- To turn a setting on or off, click the switch itself, not the words next to it.
- After you save, open the page in the App Preview and check your changes.
Careful: The trash icon removes a block right away. Check before you click.
You're done when the block shows on your page in the App Preview.
Next step
Show orders and account details (WooCommerce Account block)
Related articles
這篇文章對您有幫助嗎?
輸入時結果會即時更新。按斜槓鍵(/)可跳轉到搜尋。
沒有找到?
我們的支援團隊可協助解決設定、建置和應用程式商店相關問題。




