オンラインショップ|ダンス|スポーツ|専門店

Tag: LIFF

2023] woocommerce order history within Line

Here is an example of displaying a woocommerce order history list in Line's mini-appli "LIFF", a feature briefly introduced in Chapter 1. Retrieving order history with a single Hook You can retrieve the entire order history by executing only the hook "woocommerce_account_orders_endpoint". protected function do_action() { add_filter('woocommerce_my_account_my_orders_query', ); ob_start(); do_action('woocommerce_account_orders_endpoint'); $this->main_contents .= '<h3>注文履歴</h3>'; $this->main_contents .= ob_get_clean(); $this->main_contents .= sprintf( '<h5>直近の注文履歴から最大 %s 件を表示します。</h5>', self::ORDER_NUM_LIMIT ); remove_filter('woocommerce_my_account_my_orders_query', ); return true; } Customizing Order History Retrieval Conditions To display the history of a specific user in Line's mini-application, which has a ...

Read more

LIFF: Mass Inheritance, Therefore, Front Reuse

What is LIFF? Wordpress & Woocommerce incorporates many features such as Line integration (Messaging API, Bot mode...). With Line as the entry point (key), the web page can finally be displayed in a variety of browsers such as safari, chrome, etc. The author is a browserist. The author is a browser-oriented user, and when displaying a web page from Line, the user always transitions to an external browser*1. Every time I switch to an external browser, I think to myself: "Wouldn't eliminating the app switching function reduce user ...

Read more

Newest

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

*By registering on this site, you can use the Terms of Service andPrivacy PolicyYou are deemed to have agreed.

Retrieve your password

Please enter your username or email address to reset your password.

error: Alert: コンテンツは保護されています !!!