Total : 0.00 €

Before contacting us, please make sure to check our F.A.Q

Please, login or register to our website in order to be able to post a presale question in the forum.

× WooPrice Calculator PRO

[CLOSED]Move Ouput Fields To Below Options

More
7 months 2 weeks ago #1351 by Enrico
Enrico replied the topic: [CLOSED]Move Ouput Fields To Below Options
Hi Michael,

At the moment the Default Theme can't change the output fields position.

But as you said, you can use the custom themes and I can help you do that.

If you want an easy theme similar to the generated Default Theme, you can create the file "michael_theme.php" in your "/wp-content/uploads/woo-price-calculator/themes" path.

The theme file would be like this:
<?php
/* THEME_NAME: Michael Theme */
?>

<div class="wpc-product-form">
    
    <table>
            <?php foreach($this->view['data'] as $key => $data): ?>
                <tr class="awspc-field-row" data-field-id="<?php echo $data['field']->id; ?>" 
						style="<?php echo ($this->view['conditionalLogic'][$data['field']->id] == true)?"":"display:none"; ?>">
                    <td id="<?php echo $data['labelId']; ?>">
                        <?php echo $this->userTrans($data['field']->label); ?>
                    </td>

                    <td id="<?php echo $data['inputId']; ?>">
                        <?php echo $data['widget']; ?>
                    </td>
                </tr>
            <?php endforeach; ?>

    </table>
    
    <div class="awspc-output-product">
        <?php echo $this->view['outputResults']; ?>
    </div>
    
</div>

This theme will move output fields below the input fields. But from what I understand do you need to move output fields below the price?

Kind Regards,
Enrico
AT248

Please Log in or Create an account to join the conversation.

More
7 months 2 weeks ago - 7 months 2 weeks ago #1343 by Michael
Michael created the topic: [CLOSED]Move Ouput Fields To Below Options
Hello.

Is it possible to move the output fields to below the option fields?
Also, can I add text after the price e.g. "excl. VAT"?

Please see attached image.

Thank you in advance.


EDIT
Ok so I found the section of the documentation about using themes.

My question now is:

Can the output fields be moved to below the option fields and text added after the price using the "Default (Autogenereted)" theme?
Attachments:
Last Edit: 7 months 2 weeks ago by Michael.

Please Log in or Create an account to join the conversation.

Moderators: david
Time to create page: 0.281 seconds

Cart

Total : 0.00 €