normal warning price vm-best sales

More
10 years 11 months ago #4540 by Michaela Walter
Hi!

I get a warning message within the module VM Best Sales on the Frontpage.

The message is as follows:

Speichern
Warning: Division by zero in /var/www/web116/html/websites/10042013/templates/ot_fashionpurestyle/html/mod_virtuemart_product/default.php on line 56
0%

I did a backup of the website and installed the backup on the server. Everything went okay yesterday. There war also no warning message within this module. But today it is shown.

Do you know what to do?

Link: backup.waffen-obertreis.de

Thank you.

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

More

Notice: Undefined variable: end_tag_params in /home/omegatheme/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321

Notice: Undefined variable: end_tag_params in /home/omegatheme/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321

Notice: Undefined variable: end_tag_params in /home/omegatheme/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
10 years 11 months ago #4543 by Trung Duong
Cause you disable Base price with Tax, now you can edit that default.php file and replace code
Code:
if (round($product->prices['discountAmount']) != '0' )

by
Code:
if (round($product->prices['discountAmount']) != '0' && $product->prices['basePriceWithTax'] > 0)

online 53

Regards

Support email: services(at)omegatheme(dot)com


Follow Us to keep updated!

[img


[img


[img]...[/img]

[img]...[/img]

[img]...[/img]

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

More
10 years 11 months ago #4598 by Michaela Walter
Thank you. Could you please let me know where I can find this file. Thank you again.

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

More
10 years 11 months ago #4608 by Trung Duong
Hello,

You can edit this file: templates/ot_fashionpurestyle/html/mod_virtuemart_product/default.php

Regards

Support email: services(at)omegatheme(dot)com


Follow Us to keep updated!

[img


[img


[img]...[/img]

[img]...[/img]

[img]...[/img]
The following user(s) said Thank You: Michaela Walter

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

Time to create page: 0.230 seconds

About Growth

Innovative tech for eCommerce growth

Contact Info

Head: No. 3, 175/55 Lane, Lac Long Quan St., Nghia Do Ward, Cau Giay District, Hanoi City, Vietnam