wooguy
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] All orders have same IPAlso to be more clear:
All of the orders have the same IP address and that IP address is that of my hosting server.
(Same Originating IP:)Forum: Plugins
In reply to: [WooCommerce] All orders have same IPForgot to mention:
My main site is running Woocommerce Version 3.5.4.
My staging site was updated to version 3.5.5 and still has the same issue.It really just started with the Apache update from the hosting since I made no site changes during that time.
Thanks
Forum: Plugins
In reply to: [WooCommerce] All orders have same IPI also have the same issue.
I contacted my hosting company and was advised by the systems admin that the issue is with Woocommerce.The fact that the correct IP address is being returned by PHP, indicated that the issue at hand is not directly related to the server environment, but rather the way in which WooCommerce is obtaining the customer’s IP, when an order is placed. Based on reviewing the PHP code, that makes up the function to get the IP address, it appears that the script is checking for the ‘$_SERVER[‘HTTP_X_FORWARDED_FOR’, before the $_SERVER[‘REMOTE_ADDR’], which contains the visitor’s IP address you’re expecting to see. This can be seen in the following section of the plugin file ‘class-wc-geolocation.php’.
Regrettably, there is little more we can do in the way of troubleshooting the issue, without directly altering the code that makes up the WooCommerce plugin, which I’m sorry to say falls short from the scope of support we can provide.This started about 2/21/19 when Hostgator upgraded from EasyApache 3 to EasyApache 4.
Forum: Reviews
In reply to: [Min and Max Purchase for WooCommerce] Fantastic plugin!a
- This reply was modified 6 years ago by wooguy.
Forum: Plugins
In reply to: [Yoast SEO] Latest update Version 7.0.3 problemThank you very much for the information.
It was the media attachment pages.Thanks again.
AlecForum: Plugins
In reply to: [WooCommerce] Checkout page: possible to disable address for downloads only?I have been using this plugin for several years and it does what you need.
https://codecanyon.net/item/woocommerce-checkout-for-digital-goods/5604303
Forum: Plugins
In reply to: [WooCommerce] How to Allow One Item in Cart?I looked at one of my other stores and I am using this:
/*Limits one item per purchase session */
add_filter( ‘woocommerce_add_cart_item_data’, ‘woo_custom_add_to_cart’ );
function woo_custom_add_to_cart( $cart_item_data )
{global $woocommerce;
$woocommerce->cart->empty_cart();
return $cart_item_data;
}This is working with Woocommerce 3.2.6
Let me know if this does not work with Woocommerce 3.3.1 since I will be looking for a fix if that is the case.
ThanksForum: Plugins
In reply to: [WooCommerce] How to Allow One Item in Cart?I have used this code with Woocommerce and it worked great.
https://businessbloomer.com/woocommerce-allow-1-product-cart/
Not sure if I’m allowed to add an outside link but Rodolfo has some great snippits.
Forum: Plugins
In reply to: [SlimStat Analytics] Display changedYour crystal ball is crystal clear.
I never would have figured that one out.Thank you for the fast support ??
Alec
Forum: Themes and Templates
In reply to: [Storefront] Show only one page of productsThanks again for your help.
Forum: Themes and Templates
In reply to: [Storefront] Show only one page of productsHey jameskoster,
Thanks for the 404 information.
I was just trying to list only the featured products on the shop page.
That way the main page is very simple.
I have side navigation that the customer and pick the category.I can see it’s just a function of the Store front theme to list all the products.
Thanks again for the help.
Forum: Themes and Templates
In reply to: [Storefront] Show only one page of productsI figured out a way that works in case anyone else need this.
1) I added the [featured_products per_page=”6″ columns=”3″] to the shop page.
2) Under woocommerce/Settings/Products/Display I have nothing selected “select a page”.
3) Also keep Shop page set to static front page.
Not sure if it’s the right solution but it seems to work so far.
Forum: Themes and Templates
In reply to: [Storefront] Adding items to main page only.jameskoster,
I’m discovering the beauty of this WordPress and Storefront.
I added the text to the widgets. Footer and sidebar in my case since that’s where I want them. I also discovered the widget-logic plugin.
This is great. Now I can add things like the Google adsense only on the pages I want and not on say the checkout page.I’m looking into the plugins for some of the others.
Learning a little everyday.Thank you for the help.