Home Forums Basel support forum Tax toggle

Tax toggle

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #17623

    AllawiT
    Participant

    Hi, is there a possibility to toggle the tax using a button on the shop page where customers can then see the prices with and without tax.
    Thanks!

    #17638

    Eric Watson
    Participant

    Hello,

    Thank you for your question.

    Unfortunately, our theme doesnโ€™t have such feature and you may probably need to find some additional plugin for that. Here is an example that maybe will work for you https://codecanyon.net/item/woocommerce-tax-toggle/7796887

    Kind Regards
    XTemos Studio

    #17667

    AllawiT
    Participant

    Hi again!
    Thanks for your replay. I have purchased the plugin and it seems to work on all of my themes except the basel theme ๐Ÿ™ could you please help me?
    The plugins is basically adds as a widget wherever in the website. But there is something that overrides it and makes it not show.

    #17673

    Eric Watson
    Participant

    Hello,

    Where exactly you want to see the switch button? For example, we added a button to the footer and the plugin works.

    Kind Regards
    XTemos Studio

    #17680

    AllawiT
    Participant

    I would like to add it instead of where the filter button was ๐Ÿ™‚
    Is this possible?

    #17681

    AllawiT
    Participant

    This is the place I would like it to be. Attached in the photo.

    Attachments:
    You must be logged in to view attached files.
    #17683

    AllawiT
    Participant

    I found that the shortcode for the the plugin is shortcode: [wootax]
    how can i add this into my functions.php so that it appears where the filter was?
    add_action(‘woocommerce_before_shop_loop’, ‘what_should_this_function_contain??’)

    #17684

    Eric Watson
    Participant

    Hello,

    Try to add the following code snippet to the functions.php file in the child theme.

    function basel_tax_btn(){
    	echo do_shortcode('[wootax]');
    }
    add_action('woocommerce_before_shop_loop', 'basel_tax_btn');

    Kind Regards
    XTemos Studio

Viewing 8 posts - 1 through 8 (of 8 total)