• Resolved briannie

    (@briannie)


    I have a problem with products showing a different price when I am logged in to the price when I am logged out.
    I want prices to be shown to the visitor to be [incl vat] but regardless of my settings on the tax page, which are currently “No, I will enter prices exclusive of tax” I get excl vat when logged in but excl vat off that price when logged out. It’s all totally incorrect. The suffix when logged out is showing [incl vat] but the figures are [excl vat] TWICE! These are the current tax page settings

    “No, I will enter prices exclusive of tax”

    Display prices in the shop – Including tax

    Display prices during basket and checkout – Including tax

    Price display suffix – [incl tax]

    Display tax totals – [itemised]

    Any help you can give will be much appeciated.

    Status Report:-

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://easterninsulationsupplies.co.uk
    Site address (URL): https://easterninsulationsupplies.co.uk
    WC Version: 4.2.0
    REST API Version: ✔ 1.0.8
    WC Blocks Version: ✔ 2.5.16
    Action Scheduler Version: ✔ 3.1.6
    WC Admin Version: ✔ 1.2.3
    Log Directory Writable: ✔
    WP Version: 5.4.2
    WP Multisite: –
    WP Memory Limit: 77 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_GB
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.3.19
    PHP Post Max Size: 6 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.38.0
    OpenSSL/1.0.1t
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.30-log
    Max Upload Size: 64 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 4.2.0
    WC Database Prefix: q9wgmsj4r5
    Total Database Size: 8.19MB
    Database Data Size: 6.24MB
    Database Index Size: 1.95MB
    q9wgmsj4r5woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    q9wgmsj4r5woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    q9wgmsj4r5woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    q9wgmsj4r5woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    q9wgmsj4r5woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    q9wgmsj4r5woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    q9wgmsj4r5woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    q9wgmsj4r5woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    q9wgmsj4r5woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    q9wgmsj4r5woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    q9wgmsj4r5woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    q9wgmsj4r5woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    q9wgmsj4r5woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    q9wgmsj4r5woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    q9wgmsj4r5actionscheduler_actions: Data: 0.05MB + Index: 0.11MB + Engine InnoDB
    q9wgmsj4r5actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    q9wgmsj4r5actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    q9wgmsj4r5actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    q9wgmsj4r5commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    q9wgmsj4r5comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    q9wgmsj4r5eum_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    q9wgmsj4r5links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    q9wgmsj4r5options: Data: 1.06MB + Index: 0.08MB + Engine InnoDB
    q9wgmsj4r5postmeta: Data: 1.52MB + Index: 0.31MB + Engine InnoDB
    q9wgmsj4r5posts: Data: 2.52MB + Index: 0.13MB + Engine InnoDB
    q9wgmsj4r5termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    q9wgmsj4r5terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    q9wgmsj4r5term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    q9wgmsj4r5term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    q9wgmsj4r5usermeta: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
    q9wgmsj4r5users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    q9wgmsj4r5wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    q9wgmsj4r5wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    q9wgmsj4r5wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    q9wgmsj4r5wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    q9wgmsj4r5wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    q9wgmsj4r5wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    q9wgmsj4r5wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    q9wgmsj4r5wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    q9wgmsj4r5wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    q9wgmsj4r5wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    q9wgmsj4r5wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    q9wgmsj4r5wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    q9wgmsj4r5wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    q9wgmsj4r5yoast_indexable: Data: 0.13MB + Index: 0.05MB + Engine InnoDB
    q9wgmsj4r5yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    q9wgmsj4r5yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    q9wgmsj4r5yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    q9wgmsj4r5yoast_seo_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    q9wgmsj4r5yoast_seo_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 96
    custom_css: 2
    customize_changeset: 34
    et_header_layout: 6
    et_pb_layout: 3
    et_template: 28
    et_theme_builder: 3
    nav_menu_item: 17
    page: 13
    post: 9
    product: 30
    product_variation: 47
    revision: 296
    sa_slider: 2
    shop_order: 8
    wpforms: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (13) ###
    
    GDPR Cookie Consent: by WebToffee – 1.8.8
    Disable XML-RPC: by Philip Erb – 1.0.1
    Limit log in attempts reloaded: by WPChef – 2.13.0
    Official StatCounter Plugin: by Aodhan Cullen – 2.0.6
    Slide Anything - Responsive Content / HTML Slider and Carousel: by Simon Edge – 2.3.18
    Sticky Menu (or Anything!) on Scroll: by WebFactory Ltd – 2.21
    Easy Updates Manager: by Easy Updates Manager Team – 9.0.3
    WooCommerce PDF Invoices: by Bas Elbers – 3.1.0
    WooCommerce - ShipStation Integration: by WooCommerce – 4.1.37
    WooCommerce: by Automattic – 4.2.0
    WooShipping - Hide shipping rates when free shipping is available.: by  –  – Installed version not tested with active version of WooCommerce 4.2.0
    Yoast SEO: by Team Yoast – 14.3
    WPForms Lite: by WPForms – 1.6.0.2
    
    ### Inactive Plugins (3) ###
    
    Alfred, the Assistant: by 1&1 IONOS – 5.5.1
    Champions Uk Plc Library: by Champions uk plc – 1.1.0
    Champions Uk Plc Lloyds Cardnet Payment Gateway: by Champions uk plc – 1.1.0
    
    ### Must Use Plugins (1) ###
    
    1&1 Product Subdomain: by 1&1 – 1.1.0
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: GBP (£)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    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 ###
    
    Shop base: #11 - /shop
    Basket: #12 - /basket
    Checkout: #13 - /checkout
    My account: #14 - /my-account
    Terms and conditions: ❌ Page not set
    
    ### Theme ###
    
    Name: Divi
    Version: 4.4.8
    Author URL: http://www.elegantthemes.com
    Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build
    personally we recommend using a child theme. See: How to create a child theme
    
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –
    
    ### Action Scheduler ###
    
    Complete: 61
    Oldest: 2020-05-30 13:31:19 +0000
    Newest: 2020-06-21 10:54:37 +0000
    
    Pending: 1
    Oldest: 2020-06-22 00:00:00 +0000
    Newest: 2020-06-22 00:00:00 +0000
    
    

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • AJ a11n

    (@amandasjackson)

    Hi @briannie

    I want prices to be shown to the visitor to be [incl vat]

    If you want the prices to include VAT, then you will want to use the setting Yes, I will enter my prices inclusive of tax. Then you will need to adjust all of the product prices to ensure the tax is included in the price listed.

    https://docs.woocommerce.com/document/setting-up-taxes-in-woocommerce/#section-3

    Then, you will want also make sure you have selected the option for Calculate Tax Based on as per your store’s requirements. The options are:

      Customer billing address
      Customer shipping address (default)
      Store base address

    If you use store base address, taxes are always based on your store location and not your customer’s location.

    You can read more about How Taxes Work in WooCommerce here:

    https://github.com/woocommerce/woocommerce/wiki/How-Taxes-Work-in-WooCommerce

    Hope this helps!

    Thread Starter briannie

    (@briannie)

    I’m sorry Amanda but it doesn’t help. I have tried entering prices as you suggest and have all setting correct as well. The problem is that prices shown when logged in are different to prices shown when not logged in. I have all the setting for tax as per your note.

    And I have tried deactivating all plugins as well and still the problem persists.

    Can you help further please?

    Thread Starter briannie

    (@briannie)

    Here is an example:
    Perimeter Expansion Strip
    Back end entry £36.00 incl vat
    When logged in shows as £36.00 incl vat
    When logged out shows as £30.00 incl vat

    It needs to show as £36.00

    Settings are:
    Yes I will enter prices including vat
    Customer shipping address
    All other settings on the tax page are incl vat
    Standard rate is 20% vat for all goods for every customer

    I have also tried deleting WooCommerce and reinstalling it but to no avail.

    Something is very wrong here and I really need assistance.

    • This reply was modified 5 years, 10 months ago by briannie.
    Plugin Support Senff – a11n

    (@senff)

    Hi @briannie

    The reason why users who are logged in see a different price than users who are not logged in, is because WooCommerce already knows the location of the logged-in users (and can add tax based on their shipping address), whereas the system does not know the location of users who are not logged in, so it can’t add tax based on the customer’s shipping address.

    You can either have the tax based on the store address instead (that way, WooCommerce will always know how much tax to apply), or you can enable Geolocation (under WooCommerce → Settings → General → Default Customer Location) – that way, WooCommerce will detect the location of a customer who’s not logged in, and apply tax based on that.

    Thread Starter briannie

    (@briannie)

    Thank you for this. I’ve changed the setting to store address as suggested and now the logged in and logged out prices match and they are both inclusive of tax however I’m having to enter the price in the back end exclusive of tax and yet have the radio button set to Yes, I will enter prices inclusive of tax.

    That surely makes no sense and is going to be confusing for the client.

    Is it possible to resolve this?

    Plugin Support Senff – a11n

    (@senff)

    I’m not entirely sure if I understand the issue exactly.

    Basically, you’d like all prices to be displayed including tax, correct? For example, a product should show as £36.00 (which is made up of £30.00 + 20% tax).

    When you have the setting Yes, I will enter my prices inclusive of tax and also to have all prices in the store and checkout shown including tax, you can enter the price as £36, and it will then show that amount on your site as well.

    Is that not the case on your end?

    Thread Starter briannie

    (@briannie)

    Senff, thanks for coming back to me so promptly.

    Ideally what I want to do is to enter all prices without tax and have all prices show with tax regardless of whether I am logged in or not.

    The position at my end is now as follows and I appreciate this is different to my note last time although why it’s changed I do not know.

    For the following
    /product/osb-sterling-board
    back end entry 12.84 – 20.23
    This is an image of the tax page https://prnt.sc/t4eya2
    Here is an image of the logged in screen https://prnt.sc/t4f4tw and as you will see, no tax has been added. The logged out screen is identical.
    This image shows the standard tax rate https://prnt.sc/t4f26s

    Thanks again for looking at this for me.

    • This reply was modified 5 years, 10 months ago by briannie.
    Thread Starter briannie

    (@briannie)

    Have you given up on me Senff. Three days now since you last responded.

    Plugin Support Senff – a11n

    (@senff)

    From what I can see, the item price is now showing as £15.41 (which is £12.84 + 20%). Does that mean that the VAT is now showing, or did you add it manually in the price?

    Thread Starter briannie

    (@briannie)

    We have now entered all prices manually with tax and they are showing with tax so the problem is resolved but not in an ideal way for us. Something is clearly amiss but for the time being please consider resolved.

    Thank you for your help and assistance.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Logged in/Logged out prices differ’ is closed to new replies.