- Posts: 31
- Thank you received: 0
warning price vm-best sales
- Michaela Walter
-
Topic Author
- Offline
- Junior Boarder
-
Less
More
12 years 2 weeks ago #4540
by Michaela Walter
warning price vm-best sales was created 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.
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.
- Trung Duong
-
- Offline
- Administrator
-
Less
More
- Posts: 2284
- Thank you received: 998
Notice: Undefined variable: end_tag_params in /ssd/home/omega_web/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
Notice: Undefined variable: end_tag_params in /ssd/home/omega_web/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
Notice: Undefined variable: end_tag_params in /ssd/home/omega_web/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
12 years 2 weeks ago #4543 by Trung Duong
Replied by Trung Duong on topic Re: warning price vm-best sales
Cause you disable Base price with Tax, now you can edit that default.php file and replace code
by
online 53
Regards
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]
Please Log in or Create an account to join the conversation.
- Michaela Walter
-
Topic Author
- Offline
- Junior Boarder
-
Less
More
- Posts: 31
- Thank you received: 0
12 years 1 week ago #4598
by Michaela Walter
Replied by Michaela Walter on topic Re: warning price vm-best sales
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.
- Trung Duong
-
- Offline
- Administrator
-
Less
More
- Posts: 2284
- Thank you received: 998
12 years 1 week ago #4608
by Trung Duong
Support email: services(at)omegatheme(dot)com
Follow Us to keep updated!
[img]...[/img]
[img]...[/img]
[img]...[/img]
Replied by Trung Duong on topic Re: warning price vm-best sales
Hello,
You can edit this file: templates/ot_fashionpurestyle/html/mod_virtuemart_product/default.php
Regards
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]
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.194 seconds