Change position all output fields

Home – SaaS Forums Presale questions General questions Change position all output fields

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #4310

    Hi there, I have 2 question.

    It is possible to get all output fields down with a javascript (see enclosed examples).

    I would also like to have the text “excluding VAT” behind the amounts.
    I’ve tried this to fit into the funtion.php of the theme, according to your explanation in the blog, but without success… (see enclosed example tekst after price)

    with kind regards
    Casper

    #4314
    Paul
    Participant

    With the PRO version you are able to customize the template of your calculator, so the positions also. Maybe this can help you, take a look here: https://altoswebsolutions.com/manual/woo-price-calculator/using-themes
    So you just need to move this code below your fields:

    view['outputResults']; ?>

    What kind of problem did you found?
    Could you send to us a screenshot of your code?
    Try this:


    function change_product_price_html($price){

    $newPrice = "";
    $newPrice .= $price;
    $newPrice .= " excluding VAT";

    return $newPrice;
    }

    add_filter('woocommerce_get_price_html', 'change_product_price_html');

    We will be waiting for your feedback.

    Best Regards
    Paul
    AT644

    #4313

    Hi Paul,

    Enclosed the functions.php (text) of the theme template for tekst excl. VAT

    and an example (PNG) for all price position (all output) to place under just above shopping cart.
    I had already used a javascript from your blog, but I would like to move all fields down.

    [hr]
    Javascript

    jQuery(document).ready(function( $ ){
    if($(“.wpc_simulator_id”).length){
    $(“.product .price”).hide();
    $( “.wpc-product-form” ).after(‘

    ‘);

    WooPriceCalculator.calculateProductPrice();

    }
    });

    [hr]

    with kind regards
    Casper

    #4312
    Paul
    Participant

    Hello

    We noticed that you moved the price below also. Probably that’s why our code doesn’t work in your case.
    If you prefer we can set it for you as is described in your image .png. This would be an extra cost because actually it’s not possible with the actually resources (plug-in functionalities and documentation). We can make you a quote for you if you agree.

    So, send us an email to https://altoswebsolutions.com/contact-us if you are interested in have a quote for this job.

    Best Regards
    Paul
    AT644

    #4311

    It is true, if I turn off the javascript, the text will appear there.

    Thanks for your response, I will send an email to @https://altoswebsolutions.com/contact-us to move the output cell and the base price down.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.