DamanC Posted June 10, 2009 Share Posted June 10, 2009 Hi Guys, Bit stumped with this one :( Options - Price Update installed. Got it working, also got it to work with GBP. Excellent contribution. Currently the price is displayed on one part of the page, I would also like to add the price to another part of the page, say the bottom. However for the life of me, I cant work it out. This is the code responsible (I think) for out putting the price; <div class="main"><div class="desc"><?php echo stripslashes($product_info['products_description']); ?></div><br> <div align="center"> <!-- price update attributes begin --> <?php if(tep_has_product_attributes($product_info['products_id'])){ if ($new_price = tep_get_products_special_price($product_info['products_id'])) { ?> <script type="text/javascript">document.write('<span class="productSpecialPriceb"><div id="productNEWprice"></div>\n</span>');</script> <script type="text/javascript">document.write('<span class="productSpecialPriceb"><div id="productNEWprice"></div>\n</span>');</script> <noscript><?php echo $products_price; ?></noscript> <?php } else {?> <script type="text/javascript">document.write('<span class="productSpecialPriceb"><div id="productNEWprice"></div>\n</span>');</script> <noscript><?php echo $products_price; ?></noscript> <?php } } else { echo $products_price; } ?> <input type="hidden" name="nuPrice" value="<?php echo str_replace("£","",$nuPrice); ?>"> <input type="hidden" name="nuPrice1" value="<?php echo str_replace("£","",$nuPrice1); ?>"> <!-- price update attributes end --> </div></div> Any tips or pointers would be greatly appreciated :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.