Kiran
Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.January 10, 2020 at 11:10 am in reply to: Attempting to upgrade from GV1 to GV2, receive a fatal error. Cannot upgrade PHP #525024This reply has been marked as private.January 10, 2020 at 10:50 am in reply to: Franchise main listing details not updating on other listings #525013This reply has been marked as private.January 10, 2020 at 10:42 am in reply to: Franchise main listing details not updating on other listings #525009
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
This reply has been marked as private.This reply has been marked as private.January 10, 2020 at 10:24 am in reply to: Franchise main listing details not updating on other listings #524996Hi Carl,
What errors it shows to you?
I have enabled error log, can you try one more time so we can track error?
Kiran
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,
KiranThis reply has been marked as private.This reply has been marked as private.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,
KiranIt will not happen again.
Kiran
January 10, 2020 at 8:16 am in reply to: Franchise main listing details not updating on other listings #524970This reply has been marked as private.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,
KiranJanuary 10, 2020 at 6:00 am in reply to: GD Event search is not working for wp default theme( twenty-twenty) #524957Hi Olga,
Issue has been fixed, please check and let us know.
Regards,
Kiran -
AuthorPosts