andre 4 лет назад
Родитель
Сommit
11a57acd69
1 измененных файлов с 5 добавлено и 3 удалено
  1. 5 3
      sidebar-price.tpl

+ 5 - 3
sidebar-price.tpl

@@ -14,9 +14,11 @@
                         </div>
                     </div>
                     <div class="text-center" id="producttotalmessage">
-                        <script type="text/javascript">
-                            updateProductTotalMessage("{$billingcycle}");
-                        </script>
+                        {if $prorata == 1}
+                            <script type="text/javascript">
+                                updateProductTotalMessage("{$billingcycle}");
+                            </script>
+                        {/if}
                     </div>
                     <br><br>
                 {/if}