Okay
  Public Ticket #3497527
Price visibility issue
Closed

Comments

  •  4
    Dylan started the conversation

    Hi there,

    Guest users visible prices ob my one item available to them is showing excluding tax, when I have set all WooCommerce tax settings to show price including tax (I have entered prices including tax). 

    I have a B2BKing tax exemption rule to only show b2b users prices without tax until checkout.

    The reason I want guests to be able to see prices with tax is because I have a hybrid store and don't want guests to be seeing their product excluding tax obvioulsy.

    Please help. Cheers!

  •  2,218
    WebWizards replied

    Hi Dylan,

    Thank you for purchasing our plugin,


    I understand you are saying you entered prices including tax, but guest users see it without tax? even though your tax exemption rule is only set to apply to B2B users?

    I cannot really explain what would cause this, it's quite strange. I'm sure it must be some kind of configuration issue.


    Is it possible to share a backend login to your site, or a staging clone site with us? I can look into this directly to troubleshoot, and try to resolve this for you as soon as possible.

    Kind regards,

    Stefan

  •   Dylan replied privately
  •  2,218
    WebWizards replied

    Thank you for the details,

    I deactivated the B2BKing plugin and I was still seeing the issue, so I looked further into tax settings. It seems ultimately it was related to this Woo setting:

    5259433411.png

    It was set to 'customer billing address' which apparently needs the user to enter their address first before determining the tax rate (so the rate was 0 at first). I set it to 'shop base address', which I believe fixes it.


    Let me know if you see any further issues or anything I can help with,


    Kind regards,

    Stefan

  •  4
    Dylan replied

    Hey Stefan,


    Yup seems to be looking much better now! Thanks for that.

    I was hoping to be able to show the "login to view wholesale pricing" underneath the visible price so guests are shown that there are better wholesale pricing options available for the product too. Are you able to help with this whilst I have you here?


    Cheers and appreciate all the help. Plugin rocks.

    Cheers,

    Dylan

  •  2,218
    WebWizards replied

    I believe I can help write a code snippet that does that.

    Should that show under all products for guest users, or specific products only?

  •  4
    Dylan replied

    Amazing that'd be great! 

    It should only show for the sugarcane straw products. 

    Cheers

    Dylan

  •  2,218
    WebWizards replied

    I added a code snippet here that adds an extra "Login to view prices" text, to the sugarcane straw category, for logged out users:

    https://bambu.co.nz/wp-admin/admin.php?page=edit-snippet&id=5


    However, the price is already hidden for that category using this rule:

    5335816797.png

    So currently that "login to view prices" text shows twice.


    Maybe I misunderstood, let me know and I can modify that snippet to show for a different category, for logged in or logged out users.

  •  4
    Dylan replied

    Hey Stefan that works well for now! Appreciate the support. If I want to edit what the link text says I can simply do that within the snippet right?

    Thanks for all your help.

  •  2,218
    WebWizards replied

    Glad to hear that's working!

    Yes, you can just edit the text within the snippet.