joemosaic
Forum Replies Created
-
Forum: Plugins
In reply to: [Google Analytics for WooCommerce] Conversions no longer trackingI believe I resolved the issue – we are using a paid plug-in that customizes check-out and have had to modify it over and over again because it wasn’t well written. I went through it and found some more newbie javascript mistakes written into it and corrected them. Now I’m (tentatively) seeing transactions in analytics. I’m not sure what the connection is, but clearly it was stopping it somehow.
Thanks for your help!
Forum: Plugins
In reply to: [Google Analytics for WooCommerce] Conversions no longer trackingHello again!
There is one error I get when checking out:
/checkout/order-received/43250/?key=wc_order_5b294b016f55f&utm_nooverride=1:1 Failed to set referrer policy: The value '' is not one of 'no-referrer', 'no-referrer-when-downgrade', 'origin', 'origin-when-cross-origin', 'same-origin', 'strict-origin', 'strict-origin-when-cross-origin', or 'unsafe-url'. The referrer policy has been left unchanged.
Let me know what you think!
Apologies, I just realized that the issue is with Analytics, not Adwords. Probably unrelated to this plug-in.
Thanks for your time!
Where would I make a purchase and of what?
WP Version 4.9.6
WooCommerce 3.4.2Thanks!
Forum: Themes and Templates
In reply to: Storefront mobile view menu problemI have a main menu with dropdown menus, and I have cloned this main menu to be my handheld menu. On the desktop, this main menu displays only the top level pages. On handheld, the menu is exploded to display all the submenus. How do I configure my handheld clone menu to display only the top-level menu entries instead of all the submenus?
ThanksThis was solved easily by my employee.
She just modified:
/themes/storefront/woocommerce/templates/content-product.php// replaced: // <a href="<?php the_permalink(); ?>"> // with the following: <a href="<?php global $product; if ( !method_exists($product, get_product_url) ) { echo the_permalink(); } else { echo($product->get_product_url()); } // --end modification--
I thought this was going to be more complicated. I didn’t think about the get_product_url() function being only for external products. I also thought it would return the url for the product and not the external URL from which it was built. It pays to read the API instead of assuming things at a glance.