Title: Documentation and Setup Guide
Last modified: June 30, 2021

---

# Documentation and Setup Guide

 *  Resolved [scratchmaster](https://wordpress.org/support/users/scratchmaster/)
 * (@scratchmaster)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/documentation-and-setup-guide/)
 * Hello,
 * Where can I find the full documentation and guide for using this plugin?
 * I can’t find the documentation anywhere!
 * Cheers 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Subrata Mal](https://wordpress.org/support/users/subratamal/)
 * (@subratamal)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/documentation-and-setup-guide/#post-14694257)
 * [@scratchmaster](https://wordpress.org/support/users/scratchmaster/) We are creating
   the documentation of our plugin and will share it with you when done.
 *  [arafat24bd](https://wordpress.org/support/users/arafat24bd/)
 * (@arafat24bd)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/documentation-and-setup-guide/#post-15090461)
 * Dear [@subratamal](https://wordpress.org/support/users/subratamal/)
    Please advise
   shortcode to display cashback info in to single product page made by Elementor.
 * Thanks in Advance
 *  Plugin Author [Subrata Mal](https://wordpress.org/support/users/subratamal/)
 * (@subratamal)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/documentation-and-setup-guide/#post-15147478)
 * [@arafat24bd](https://wordpress.org/support/users/arafat24bd/) Please use a shortcode
   to display cashback on the product page.
 *     ```
       add_shortcode('terawallet-cashback', 'terawallet_cashback_callback');
       function terawallet_cashback_callback() {
           $product = wc_get_product(get_the_ID());
           if ($product->has_child()) {
               $product = wc_get_product(current($product->get_children()));
           }
           $cashback_amount = 0;
           if ('product' === woo_wallet()->settings_api->get_option('cashback_rule', '_wallet_settings_credit', 'cart')) {
               $cashback_amount = woo_wallet()->cashback->get_product_cashback_amount($product);
           } else if ('product_cat' === woo_wallet()->settings_api->get_option('cashback_rule', '_wallet_settings_credit', 'cart')) {
               $cashback_amount = woo_wallet()->cashback->get_product_category_wise_cashback_amount($product);
           }
           $cashback_amount = apply_filters('woo_wallet_product_cashback_amount', $cashback_amount, get_the_ID());
           ob_start();
           if ($cashback_amount) {
               echo '<span class="on-woo-wallet-cashback">' . wc_price($cashback_amount, woo_wallet_wc_price_args()) . __(' Cashback', 'woo-wallet') . '</span>';
           } else {
               echo '<span class="on-woo-wallet-cashback" style="display:none;"></span>';
           }
           return ob_get_clean();
       }
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Documentation and Setup Guide’ is closed to new replies.

 * ![](https://ps.w.org/woo-wallet/assets/icon-256x256.png?rev=3360666)
 * [Wallet for WooCommerce](https://wordpress.org/plugins/woo-wallet/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-wallet/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-wallet/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-wallet/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-wallet/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-wallet/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Subrata Mal](https://wordpress.org/support/users/subratamal/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/documentation-and-setup-guide/#post-15147478)
 * Status: resolved