Kiran

Forum Replies Created

Viewing 15 posts - 706 through 720 (of 6,022 total)
  • Author
    Posts
  • in reply to: Different packages frontend/backend #525054

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.

    Kiran
    Moderator
    Post count: 7069

    I just went to page https://www.trade-decorator.co.uk/add-listing/?pid=22361&listing_type=gd_place and clicked “Submit Listing” and it successfully saved.

    Please try again after clearing your browser cache.

    Kiran

    in reply to: Javascript Error "Something Went Wrong" #525007

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Javascript Error "Something Went Wrong" #525002

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.

    Kiran
    Moderator
    Post count: 7069

    Hi Carl,

    What errors it shows to you?

    I have enabled error log, can you try one more time so we can track error?

    Kiran

    in reply to: Javascript Error "Something Went Wrong" #524994

    Kiran
    Moderator
    Post count: 7069

    Hi @riobravomedia

    This issue is already fixed in GeoDirectory Advance Search v2.0.0.14. Your site is running with GeoDirectory Advance Search v2.0.0.13, but due to one of plugin conflict on your site it now showing update notification.

    To fix conflict i have created one mu-plugin (under /mu-plugins/wp_easy_updates_fix.php) as provided solution at here https://wpgeodirectory.com/support/topic/fatal-error-after-updating/#post-469107

    Now update notification is back. Please update Advance Search plugin to fix JavaScript error.

    Regards,
    Kiran

    in reply to: Wrong GD Archive header #524992

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Recent reviews widget #524976

    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: How to track sign-ups in Analytics #524974

    Kiran
    Moderator
    Post count: 7069

    Hello,

    Try following PHP snippet to integrate Google Analytics Ecommerce Tracking with Invoicing. When customer back to the success page this will send data to Google.

    
    
    /**
     * Google Analytics Ecommerce Tracking
     *
     * Google Analytics Ecommerce Tracking allows you to measure the number of transactions 
     * and revenue that your website generates.
     * You must have added regular Google Analytics code to the top of your page and you must 
     * also have enabled 'Ecommerce' on your Google Analytics dashboard.
     */
    function _wpi_custom_ga_ecommerce_tracking( $invoice ) {
        if ( ! wpinv_is_success_page() ) {
            return;
        }
    
        $quantities_enabled = wpinv_item_quantities_enabled();
        $cart_details       = $invoice->get_cart_details();
    
        $transaction = array(
            'id'            => $invoice->get_number(), // The transaction ID. Required.
            'affiliation'   => wpinv_get_business_name(), // The store or affiliation from which this transaction occurred.
            'revenue'       => wpinv_round_amount( $invoice->get_total() ), // Specifies the total revenue or grand total associated with the transaction.
            'tax'           => wpinv_use_taxes() ? wpinv_round_amount( $invoice->get_tax() ) : '0' // Specifies the total tax of the transaction.
        );
    
        $items = array();
    
        foreach ( $cart_details as $key => $cart_item ) {
            $item = array(
                'id'        => $invoice->get_number(), // Transaction ID. Required.
                'name'      => $cart_item['name'], // Product name. Required.
                'sku'       => $cart_item['id'], // Item ID/SKU/code.
                'price'     => isset( $cart_item['custom_price'] ) && $cart_item['custom_price'] !== '' ? wpinv_round_amount( $cart_item['custom_price'] ) : wpinv_round_amount( $cart_item['item_price'] ), // Unit price.
                'currency'  => $invoice->get_currency() // Local currency code.
            );
    
            if ( $quantities_enabled ) {
                $item['quantity'] = !empty( $cart_item['quantity'] ) ? absint( $cart_item['quantity'] ) : 1; // Quantity.
            }
    
            $items[] = $item;
        }
    ?>
    <!-- Invoicing Google Analytics Ecommerce Tracking Code -->
    <script type="text/javascript">
    _wpi_custom_ga_ecommerce_tracking_code();
    function _wpi_custom_ga_ecommerce_tracking_code() {
        if ( typeof ga == 'undefined' ) {
            return;
        }
    
        ga('require', 'ecommerce');
    
        ga('ecommerce:addTransaction', {
    <?php foreach ( $transaction as $key => $value ) { ?>
            '<?php echo $key; ?>': '<?php echo esc_js( $value ); ?>',
    <?php } ?>
        });
    <?php foreach ( $items as $item ) { ?>
        ga('ecommerce:addItem', {
    <?php foreach ( $item as $key => $value ) { ?>
            '<?php echo $key; ?>': '<?php echo esc_js( $value ); ?>',
    <?php } ?>
        });
    <?php } ?>
    
        ga('ecommerce:send');
    }
    </script>
    <?php
    }
    add_action( 'wpinv_after_receipt', '_wpi_custom_ga_ecommerce_tracking', 10, 1 );

    Regards,
    Kiran

    in reply to: No search results #524972

    Kiran
    Moderator
    Post count: 7069

    It will not happen again.

    Kiran


    Kiran
    Moderator
    Post count: 7069
    This reply has been marked as private.
    in reply to: Payment Not working #524959

    Kiran
    Moderator
    Post count: 7069

    Hello,

    I have created one listing with Business Gold package and it took me to PayPal page (see attachment).

    It will charge the user when trial ends, but it must have to complete the subscription process at PayPal.

    It is working as expected.

    Regards,
    Kiran


    Kiran
    Moderator
    Post count: 7069

    Hi Olga,

    Issue has been fixed, please check and let us know.

    Regards,
    Kiran

Viewing 15 posts - 706 through 720 (of 6,022 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount