Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • for the code you provided above this is what I got after I tried to update the functions.php file

    Your PHP code changes were rolled back due to an error on line 88 of file wp-content/themes/lapa/functions.php. Please fix and try saving again.

    Uncaught Error: Call to a member function get_total() on string in wp-content/themes/lapa/functions.php:88
    Stack trace:
    #0 wp-includes/class-wp-hook.php(286): woo_wallet_partial_payment_amount_callback(‘279.00’, ‘NULL’)
    #1 wp-includes/plugin.php(203): WP_Hook->apply_filters(‘279.00’, Array)
    #2 wp-content/plugins/woo-wallet/includes/class-woo-wallet-frontend.php(444): apply_filters(‘woo_wallet_part…’, ‘279.00’, ‘NULL’)
    #3 wp-includes/class-wp-hook.php(286): Woo_Wallet_Frontend->woo_wallet_add_partial_payment_fee(Object(WC_Cart))
    #4 wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
    #5 wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #6 /home/admin/web/the-originals.in/public

    I am setting up my e-commerce website with your plugin. However, I plan to give 100% cashback to users in their wallet on their first buy on whichever product they buy and from then onwards product based cashback. Also I want to limit the wallet usage by a certain percentage of the product value.

    Will I be able to realize this??

    Thanks for your help in advance

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