Prices are showing different when logged in or logged out of the site
-
We have 5 products on this site to have a sales price for the next two weeks. For some reason this looks correct when logged in to the backend and viewing the site, with the correct products showing the sales price. But when logged out we see all the products showing prices with 20% off regular price. Example the Elephant diffuser is regular price 449NOK it shows up when logged out with 359NOK. The 5 products on sale has the original price with a line thru it and then the sales price, the rest of the products has just changed the price with 20%. This was not our intention. Any ideas on how to rectify this? In backend the price is correct. And when I view the site when I am logged in the price is correct. When I logg out the price is again 20% off.
Anyone know what is going on here. I am scratching my head.- This topic was modified 2 years, 7 months ago by ninasaether.
- This topic was modified 2 years, 7 months ago by ninasaether.
The page I need help with: [log in to see the link]
-
Hi @ninasaether,
From what you describe it could be that it has something to do with the browser cache so I’d suggest clearing the cache or using another browser or incognito/private mode and checking again.
If this doesn’t help it could be due to a conflict with WooCommerce and your theme or a plugin. Read more about plugin and theme conflicts in our Self-Service Guide.
Please let us know how that goes.
I have tried different browsers, still the same. Emptying cache, still the same. Deactivated all other plugins but WooCommerce, still the same. incognito browsing, still the same.
We are running the latest version of WP and all plugins are up du date.
I also have removed all the sales prices and dates but now all the products are showing 20% off regular price. The sales price and tag is gone and there is no line thru previous price and the the new price. But still showing wrong prices, when I log in the price is correct and it shows correct in the browser, but when I log out we are back to 20% off. Just confusing to me and I really don’t know where to start fixing this.Hello,
Sorry to hear about this, to check the setup of the site much better, please provide the following:
* Could you please share a copy of your site’s
System Status
? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.* Error Log: Share a copy of any fatal
error log
found under WooCommerce > System Status > Logs (if available).Once you’ve done that, paste it here in your response.
Here is the system report. No error log available. Thanks for looking through it.
### WordPress Environment ### WordPress address (URL): https://mother-nature.no Site address (URL): https://mother-nature.no WC Version: 6.1.1 REST API Version: ✔ 6.1.1 WC Blocks Version: ✔ 6.5.2 Action Scheduler Version: ✔ 3.4.0 WC Admin Version: ✔ 3.0.3 Log Directory Writable: ✔ WP Version: 5.9 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ✔ Language: nb_NO External object cache: – ### Server Environment ### Server Info: Apache/2.4.18 (Ubuntu) PHP Version: 7.4.18 PHP Post Max Size: 128 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.47.0 OpenSSL/1.0.2g SUHOSIN Installed: – MySQL Version: 8.0.28-0ubuntu0.20.04.3 Max Upload Size: 128 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 6.1.1 WC Database Prefix: wp_ Total database størrelse: 43.78MB Database data størrelse: 37.04MB Database indeks størrelse: 6.74MB wp_woocommerce_sessions: Data: 0.27MB + indeks: 0.02MB + motor InnoDB wp_woocommerce_api_keys: Data: 0.02MB + indeks: 0.03MB + motor InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + indeks: 0.02MB + motor InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + indeks: 0.06MB + motor InnoDB wp_woocommerce_order_items: Data: 0.02MB + indeks: 0.02MB + motor InnoDB wp_woocommerce_order_itemmeta: Data: 0.02MB + indeks: 0.03MB + motor InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + indeks: 0.06MB + motor InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + indeks: 0.03MB + motor InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + indeks: 0.00MB + motor InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + indeks: 0.03MB + motor InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + indeks: 0.00MB + motor InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + indeks: 0.02MB + motor InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + indeks: 0.03MB + motor InnoDB wp_woocommerce_log: Data: 0.02MB + indeks: 0.02MB + motor InnoDB wp_actionscheduler_actions: Data: 0.06MB + indeks: 0.13MB + motor InnoDB wp_actionscheduler_claims: Data: 0.02MB + indeks: 0.02MB + motor InnoDB wp_actionscheduler_groups: Data: 0.02MB + indeks: 0.02MB + motor InnoDB wp_actionscheduler_logs: Data: 0.02MB + indeks: 0.03MB + motor InnoDB wp_commentmeta: Data: 0.02MB + indeks: 0.03MB + motor InnoDB wp_comments: Data: 0.02MB + indeks: 0.09MB + motor InnoDB wp_gla_budget_recommendations: Data: 0.22MB + indeks: 0.14MB + motor InnoDB wp_gla_merchant_issues: Data: 0.02MB + indeks: 0.00MB + motor InnoDB wp_gla_shipping_rates: Data: 0.02MB + indeks: 0.03MB + motor InnoDB wp_gla_shipping_times: Data: 0.02MB + indeks: 0.02MB + motor InnoDB wp_itsec_bans: Data: 0.02MB + indeks: 0.03MB + motor InnoDB wp_itsec_dashboard_events: Data: 0.08MB + indeks: 0.08MB + motor InnoDB wp_itsec_distributed_storage: Data: 0.02MB + indeks: 0.02MB + motor InnoDB wp_itsec_fingerprints: Data: 0.02MB + indeks: 0.03MB + motor InnoDB wp_itsec_geolocation_cache: Data: 0.02MB + indeks: 0.03MB + motor InnoDB wp_itsec_lockouts: Data: 0.02MB + indeks: 0.08MB + motor InnoDB wp_itsec_logs: Data: 15.52MB + indeks: 1.73MB + motor InnoDB wp_itsec_mutexes: Data: 0.02MB + indeks: 0.02MB + motor InnoDB wp_itsec_opaque_tokens: Data: 0.08MB + indeks: 0.05MB + motor InnoDB wp_itsec_temp: Data: 1.52MB + indeks: 1.61MB + motor InnoDB wp_itsec_user_groups: Data: 0.02MB + indeks: 0.00MB + motor InnoDB wp_layerslider: Data: 0.02MB + indeks: 0.00MB + motor InnoDB wp_layerslider_revisions: Data: 0.02MB + indeks: 0.00MB + motor InnoDB wp_links: Data: 0.02MB + indeks: 0.02MB + motor InnoDB wp_mailpoet_custom_fields: Data: 0.02MB + indeks: 0.02MB + motor InnoDB wp_mailpoet_dynamic_segment_filters: Data: 0.02MB + indeks: 0.02MB + motor InnoDB wp_mailpoet_feature_flags: Data: 0.02MB + indeks: 0.02MB + motor InnoDB wp_mailpoet_forms: Data: 0.02MB + indeks: 0.00MB + motor InnoDB wp_mailpoet_log: Data: 0.02MB + indeks: 0.00MB + motor InnoDB wp_mailpoet_mapping_to_external_entities: Data: 0.02MB + indeks: 0.02MB + motor InnoDB wp_mailpoet_newsletter_links: Data: 0.02MB + indeks: 0.05MB + motor InnoDB wp_mailpoet_newsletter_option: Data: 0.02MB + indeks: 0.02MB + motor InnoDB wp_mailpoet_newsletter_option_fields: Data: 0.02MB + indeks: 0.02MB + motor InnoDB wp_mailpoet_newsletter_posts: Data: 0.02MB + indeks: 0.02MB + motor InnoDB wp_mailpoet_newsletter_segment: Data: 0.02MB + indeks: 0.02MB + motor InnoDB wp_mailpoet_newsletter_templates: Data: 2.52MB + indeks: 0.00MB + motor InnoDB wp_mailpoet_newsletters: Data: 0.02MB + indeks: 0.03MB + motor InnoDB wp_mailpoet_scheduled_task_subscribers: Data: 0.02MB + indeks: 0.02MB + motor InnoDB wp_mailpoet_scheduled_tasks: Data: 0.02MB + indeks: 0.03MB + motor InnoDB wp_mailpoet_segments: Data: 0.02MB + indeks: 0.03MB + motor InnoDB wp_mailpoet_sending_queues: Data: 0.02MB + indeks: 0.03MB + motor InnoDB wp_mailpoet_settings: Data: 0.02MB + indeks: 0.02MB + motor InnoDB wp_mailpoet_statistics_bounces: Data: 0.02MB + indeks: 0.00MB + motor InnoDB wp_mailpoet_statistics_clicks: Data: 0.02MB + indeks: 0.05MB + motor InnoDB wp_mailpoet_statistics_forms: Data: 0.02MB + indeks: 0.02MB + motor InnoDB wp_mailpoet_statistics_newsletters: Data: 0.02MB + indeks: 0.03MB + motor InnoDB wp_mailpoet_statistics_opens: Data: 0.02MB + indeks: 0.08MB + motor InnoDB wp_mailpoet_statistics_unsubscribes: Data: 0.02MB + indeks: 0.05MB + motor InnoDB wp_mailpoet_statistics_woocommerce_purchases: Data: 0.02MB + indeks: 0.06MB + motor InnoDB wp_mailpoet_stats_notifications: Data: 0.02MB + indeks: 0.03MB + motor InnoDB wp_mailpoet_subscriber_custom_field: Data: 0.02MB + indeks: 0.02MB + motor InnoDB wp_mailpoet_subscriber_ips: Data: 0.02MB + indeks: 0.02MB + motor InnoDB wp_mailpoet_subscriber_segment: Data: 0.02MB + indeks: 0.03MB + motor InnoDB wp_mailpoet_subscribers: Data: 0.02MB + indeks: 0.13MB + motor InnoDB wp_mailpoet_user_agents: Data: 0.02MB + indeks: 0.02MB + motor InnoDB wp_mailpoet_user_flags: Data: 0.02MB + indeks: 0.02MB + motor InnoDB wp_options: Data: 7.05MB + indeks: 0.08MB + motor InnoDB wp_postmeta: Data: 4.28MB + indeks: 0.28MB + motor InnoDB wp_posts: Data: 3.44MB + indeks: 0.06MB + motor InnoDB wp_term_relationships: Data: 0.02MB + indeks: 0.02MB + motor InnoDB wp_term_taxonomy: Data: 0.02MB + indeks: 0.03MB + motor InnoDB wp_termmeta: Data: 0.02MB + indeks: 0.03MB + motor InnoDB wp_terms: Data: 0.02MB + indeks: 0.03MB + motor InnoDB wp_usermeta: Data: 0.08MB + indeks: 0.03MB + motor InnoDB wp_users: Data: 0.02MB + indeks: 0.05MB + motor InnoDB wp_wc_admin_note_actions: Data: 0.02MB + indeks: 0.02MB + motor InnoDB wp_wc_admin_notes: Data: 0.06MB + indeks: 0.00MB + motor InnoDB wp_wc_category_lookup: Data: 0.02MB + indeks: 0.00MB + motor InnoDB wp_wc_customer_lookup: Data: 0.02MB + indeks: 0.03MB + motor InnoDB wp_wc_download_log: Data: 0.02MB + indeks: 0.03MB + motor InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + indeks: 0.03MB + motor InnoDB wp_wc_order_product_lookup: Data: 0.02MB + indeks: 0.06MB + motor InnoDB wp_wc_order_stats: Data: 0.02MB + indeks: 0.05MB + motor InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + indeks: 0.03MB + motor InnoDB wp_wc_product_meta_lookup: Data: 0.02MB + indeks: 0.09MB + motor InnoDB wp_wc_rate_limits: Data: 0.02MB + indeks: 0.02MB + motor InnoDB wp_wc_reserved_stock: Data: 0.02MB + indeks: 0.00MB + motor InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + indeks: 0.02MB + motor InnoDB wp_wc_webhooks: Data: 0.02MB + indeks: 0.02MB + motor InnoDB wp_yoast_indexable: Data: 0.14MB + indeks: 0.09MB + motor InnoDB wp_yoast_indexable_hierarchy: Data: 0.02MB + indeks: 0.05MB + motor InnoDB wp_yoast_migrations: Data: 0.02MB + indeks: 0.02MB + motor InnoDB wp_yoast_primary_term: Data: 0.02MB + indeks: 0.03MB + motor InnoDB wp_yoast_seo_links: Data: 0.06MB + indeks: 0.03MB + motor InnoDB ### Post Type Counts ### attachment: 89 avia_framework_post: 42 itsec-dash-card: 8 itsec-dashboard: 1 mailpoet_page: 1 nav_menu_item: 18 page: 10 portfolio: 10 post: 30 product: 26 product_variation: 5 revision: 136 shop_order: 14 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (11) ### Comet Cache: av WP Sharks – 170220 Disable Gutenberg: av Jeff Starr – 2.6 Google Listings and Ads: av WooCommerce – 1.11.0 iThemes Security Pro: av iThemes – 7.0.3 Log cleaner for iThemes Security: av Michael Ott – 1.3.5 SSL Insecure Content Fixer: av WebAware – 2.7.2 Tracking Code Manager: av IntellyWP – 2.0.4 Betal med Vipps for WooCommerce: av WP Hosting – 1.7.24 WooCommerce PayPal Payments: av WooCommerce – 1.6.5 WooCommerce: av Automattic – 6.1.1 Yoast SEO: av Vi i Yoast – 18.0 ### Inactive Plugins (0) ### ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### Settings ### API Enabled: – Force SSL: ✔ Currency: NOK (kr) Currency Position: left_space Thousand Separator: Decimal Separator: , Number of Decimals: 0 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – ### WC Pages ### Butikkbase: #432 - /butikk Handlekurv: #434 - /cart Til kassen: #436 - /checkout Min konto: #438 - /my-account Vilkår og betingelser: #478 - /returpolicy ### Theme ### Name: Mother Nature Version: 1.0 Author URL: http://www.landdesign.no Child Theme: ✔ Parent Theme Name: Enfold Parent Theme Version: 4.8.3 Parent Theme Author URL: https://kriesi.at WooCommerce Support: ✔ ### Templates ### Overrides: mother-nature/woocommerce/emails/admin-new-order.php ### WooCommerce PayPal Payments ### Onboarded: ✔ Shop country code: NO WooCommerce currency supported: ✔ PayPal card processing available in country: – Pay Later messaging available in country: – Webhook status: – Vault enabled: ✔ Logging enabled: – Reference Transactions: – Used PayPal Checkout plugin: – ### Action Scheduler ### Fullført: 119 Oldest: 2022-01-05 09:16:37 +0000 Newest: 2022-02-04 09:44:10 +0000 På vent: 1 Oldest: 2022-02-05 08:55:36 +0000 Newest: 2022-02-05 08:55:36 +0000 ### Status report information ### Generated at: 2022-02-04 11:19:53 +00:00
Hi @ninasaether,
Thanks for sharing your system status.
If you haven’t already, I recommend changing the theme to Storefront along with disabling all plugins except WooCommerce.
Duplicate your site to a staging environment and perform tests without modifying your live site or impacting customers. Many hosts provide staging facilities, so it’s worth checking in with them. It’s also possible to do it using the free WP Staging plugin – https://wordpress.org/plugins/wp-staging/.
Let us know how it goes.
Thanks for your reply, I will do some more testing and let you know how it goes. I am considering just installing a backup from a week ago and see how that goes. This is really anoying.
I’ll let you know.
Sounds good! Keep us posted on your findings.
We haven’t heard back from you in a while, so I’m going to mark this thread as resolved – we’ll be here if and/or when you are ready to continue.
I never figured out what went wrong here. I have asked install a backup from before the problems occured. Hope that works out. If anyone is experiencing this, I would really like to know if you where able to solve it.
Hi @ninasaether!
I am sorry that you are still having this issue.
Sometimes, a conflict with your theme could affect the normal functioning of your site or other plugins.
I know you already tried disabling all plugins, but did you try deactivating them and changing your theme back to Storefront as well?
If not, we highly suggest you perform a full conflict test to discard any conflicts that might be occurring. To do this, please temporarily switch your theme back to Storefront, disable all plugins except WooCommerce and then check again if the issue persists. If that solves it, then re-enable all plugins one-by-one, until you find the one creating the conflict.
As recommended by @rainfallnixfig, if you cannot perform a conflict test on your live site, we recommend creating a staging site using the WP Staging plugin.
You can find a more detailed explanation on how to do a conflict test here: https://docs.woocommerce.com/document/how-to-test-for-conflicts/.
Let us know how that goes for you!
I downloaded the site locally and tested with Storefront. Still the same problem. I also deactivated all the plugins when storefront was the active theme. Still the same. And installing a backup from two weeks ago did not solve the problem either.
Really confused here.Hi @ninasaether
Have you set your products to be inclusive of tax, and is tax calculated based on customer’s address?
Link to image: https://snipboard.io/CfYrh7.jpg
If yes, please check if the Default customer location is set to Shop location or Geolocate under WooCommerce > Settings > General.
- This reply was modified 2 years, 6 months ago by MayKato.
Yes to both of your questions. The customer location was set to no location and when i changed it to Shop base address the prices are showing correctly. Thank you so much. I really was confused by this. Specially since the problem was not been there from the start. The site went live in middle of november and this pricing issue startet in the beginning of februar according to my client. That was when she was trying out having a few of her products on offer and everthing just went wrong. I really cant thank you enough.
Hi @ninasaether
You’re welcome! Glad to hear it works now 🙂 If you have any further questions, feel free to start a new topic.
- The topic ‘Prices are showing different when logged in or logged out of the site’ is closed to new replies.