Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- var price = <?php echo ($_product->getPrice()) ?>;
- var weight = <?php echo ($_product->getWeight()) ?>;
- document.write(price/weight);
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement